Skip to content

Prometheus exporter for Azure DevOps (VSTS) including agent pools, builds and pullrequests

License

Notifications You must be signed in to change notification settings

emersonramos/azure-devops-exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure DevOps Exporter (VSTS)

license Docker Docker Build Status

Prometheus exporter for Azure DevOps (VSTS) for projects, builds, build times (elapsed and queue wait time), agent pool utilization and active pull requests.

Configuration

Normally no configuration is needed but can be customized using environment variables.

Environment variable DefaultValue Description
SCRAPE_TIME 15m Time (time.Duration) between API calls
SERVER_BIND :8080 IP/Port binding
AZURE_DEVOPS_ORGANISATION none Azure DevOps organisation (subdomain)
AZURE_DEVOPS_ACCESS_TOKEN none Azure DevOps access token
AZURE_DEVOPS_FILTER_AGENTPOOL none AgentPool filter for agent/job collection (ID list, separated by spaces)

Metrics

Metric Description
azure_devops_project_info Project informations
azure_devops_repository_info Repository informations
azure_devops_pullrequest_info Active PullRequests
azure_devops_pullrequest_status Status informations (eg. created date) for active PullRequests
azure_devops_agentpool_info Agent Pool informations
azure_devops_agentpool_builds Count of builds (by status)
azure_devops_agentpool_wait Queue wait time per agent pool (summary vector)
azure_devops_agentpool_size Queue size per agent pool
azure_devops_agentpool_agent_info Agent information per agent pool
azure_devops_agentpool_agent_status Status informations (eg. created date) for each agent in a agent pool
azure_devops_agentpool_agent_job Currently running jobs on each agent
azure_devops_build_info Build information (last build of definition)
azure_devops_build_status Status informations of last build (queued, started, finished...)

About

Prometheus exporter for Azure DevOps (VSTS) including agent pools, builds and pullrequests

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.5%
  • Dockerfile 2.3%
  • Shell 0.2%