TeamCity REST API Reference 2023.05 Help

Metrics

Represents a list of Metric entities.

Properties

Field

Data type

count

integer

metric

List<Metric>

Schema

Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET and use the response as a base for the following POST request.

A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.

<metrics count="123"> <metric>[[[metric...|metric.html]]]</metric> </metrics>
{ "metric" : [ { "metricTags" : { "metricTag" : [ { "name" : "name", "value" : "value" } ], "count" : 6 }, "prometheusName" : "prometheusName", "name" : "name", "description" : "description", "metricValues" : { "count" : 0, "metricValue" : [ { "name" : "name", "value" : 7.3842318535314, "tags" : "[[[metricTags...|metrictags.html]]]" } ] } } ], "count" : 4 }
Last modified: 22 May 2023