azure-devops-exporter icon indicating copy to clipboard operation
azure-devops-exporter copied to clipboard

Not an issue : Need to know how to use this

Open nikhil-neu opened this issue 3 years ago • 3 comments

I have setup my self hosted agents

I also have prometheus running in my nomad cluster

How do I use azure-devops-exporter to get my build agents to my prom

nikhil-neu avatar Dec 17 '21 14:12 nikhil-neu

you have to set env var AZURE_DEVOPS_AGENTPOOL. the next version (currently tag :main) will just scrape all agentpools (that could a more load, then you should set the agentpool you want to scrape)

mblaschke avatar Feb 05 '22 13:02 mblaschke

I'm with @nikhil-neu, would love to use this with prometheus running in my AKS cluster, but im not sure how we are supposed to install this into prometheus? Do we just load a container up in a deployment?

GlenColby avatar Mar 21 '22 22:03 GlenColby

Scrape the exporter hostname-or-exporter-ip:8080/metrics from prometheus as any other exporter You can test is if you access the /metrics path from your browser/curl/wget.

mblaschke avatar Aug 07 '22 13:08 mblaschke