Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 3.72 KB

README.md

File metadata and controls

40 lines (33 loc) · 3.72 KB

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...)