Skip to content

Teamcity build metrics#

Warning

This plugin is internal. Contact us if needed

What metrics does plugin send#

Plugin has teamcity build duration metric and queue time metric

How to send metrics#

Execute

./gradlew :subprojects:teamcity-metrics-collector:sendTeamcityBuildsMetrics -PteamcityUrl -PteamcityApiUser -PteamcityApiPassword -PmetricsSourceBuildType -PgraphiteHost -PgraphitePort -PmetricsPrefix

Metrics will look like:

  • <-PmetricsPrefix>.teamcity.build;build_type=<-PmetricsSourceBuildType>,status=(success,failure,unknown)
  • <-PmetricsPrefix>.teamcity.queue;build_type=<-PmetricsSourceBuildType>