1616 azure-devops-exporter [OPTIONS]
1717
1818Application Options:
19- --debug debug mode [$DEBUG ]
20- -v, --verbose verbose mode [$VERBOSE ]
19+ --log. debug debug mode [$LOG_DEBUG ]
20+ --log.devel development mode [$LOG_DEVEL ]
2121 --log.json Switch log output to json format [$LOG_JSON]
2222 --scrape.time= Default scrape time (time.duration) (default: 30m) [$SCRAPE_TIME]
2323 --scrape.time.projects= Scrape time for project metrics (time.duration) [$SCRAPE_TIME_PROJECTS]
@@ -39,23 +39,25 @@ Application Options:
3939 --azuredevops.agentpool= Enable scrape metrics for agent pool (IDs) [$AZURE_DEVOPS_AGENTPOOL]
4040 --whitelist.project= Filter projects (UUIDs) [$AZURE_DEVOPS_FILTER_PROJECT]
4141 --blacklist.project= Filter projects (UUIDs) [$AZURE_DEVOPS_BLACKLIST_PROJECT]
42- --list.query= Pairs of query and project UUIDs in the form: '<queryId>@<projectId>'
43- [$AZURE_DEVOPS_QUERIES]
44- --cache.expiry= Internal cache expiry time (time.duration) (default: 30m) [$CACHE_EXPIRY]
45- --request.concurrency= Number of concurrent requests against dev.azure.com (default: 10)
46- [$REQUEST_CONCURRENCY]
42+ --list.query= Pairs of query and project UUIDs in the form: '<queryId>@<projectId>' [$AZURE_DEVOPS_QUERIES]
43+ --cache.path= Cache path (to folder, file://path... or
44+ azblob://storageaccount.blob.core.windows.net/containername or
45+ k8scm://{namespace}/{configmap}}) [$CACHE_PATH]
46+ --request.concurrency= Number of concurrent requests against dev.azure.com (default: 10) [$REQUEST_CONCURRENCY]
4747 --request.retries= Number of retried requests against dev.azure.com (default: 3) [$REQUEST_RETRIES]
48+ --servicediscovery.refresh= Refresh duration for servicediscovery (time.duration) (default: 30m)
49+ [$SERVICEDISCOVERY_REFRESH]
4850 --limit.project= Limit number of projects (default: 100) [$LIMIT_PROJECT]
4951 --limit.builds-per-project= Limit builds per project (default: 100) [$LIMIT_BUILDS_PER_PROJECT]
5052 --limit.builds-per-definition= Limit builds per definition (default: 10) [$LIMIT_BUILDS_PER_DEFINITION]
5153 --limit.releases-per-project= Limit releases per project (default: 100) [$LIMIT_RELEASES_PER_PROJECT]
5254 --limit.releases-per-definition= Limit releases per definition (default: 100) [$LIMIT_RELEASES_PER_DEFINITION]
5355 --limit.deployments-per-definition= Limit deployments per definition (default: 100) [$LIMIT_DEPLOYMENTS_PER_DEFINITION]
5456 --limit.releasedefinitions-per-project= Limit builds per definition (default: 100) [$LIMIT_RELEASEDEFINITION_PER_PROJECT]
55- --limit.build-history-duration= Time (time.Duration) how long the exporter should look back for builds (default:
56- 48h) [$LIMIT_BUILD_HISTORY_DURATION]
57- --limit.release-history-duration= Time (time.Duration) how long the exporter should look back for releases (default:
58- 48h) [$LIMIT_RELEASE_HISTORY_DURATION]
57+ --limit.build-history-duration= Time (time.Duration) how long the exporter should look back for builds (default: 48h)
58+ [$LIMIT_BUILD_HISTORY_DURATION]
59+ --limit.release-history-duration= Time (time.Duration) how long the exporter should look back for releases (default: 48h)
60+ [$LIMIT_RELEASE_HISTORY_DURATION]
5961 --server.bind= Server address (default: :8080) [$SERVER_BIND]
6062 --server.timeout.read= Server read timeout (default: 5s) [$SERVER_TIMEOUT_READ]
6163 --server.timeout.write= Server write timeout (default: 10s) [$SERVER_TIMEOUT_WRITE]
0 commit comments