TeamCity REST API Reference 2026.2 Help

Metrics

Represents a list of Metric entities.

Properties

count

The current number of Metric objects in this list.

metric

The list of Metric objects owned by this collection.

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="42"> <metric>[[[metric...|metric.html]]]</metric> </metrics>
{ "metric" : [ { "metricTags" : { "metricTag" : [ { "name" : "nodeId", "value" : "MAIN_SERVER" } ], "count" : 2 }, "prometheusName" : "jvm_memory_committed_bytes", "name" : "jvm.memory.committed", "description" : "The amount of memory in bytes that is committed for the Java virtual machine to use", "metricValues" : { "count" : 2, "metricValue" : [ { "name" : "value", "value" : 247.0, "tags" : "[[[metricTags...|metrictags.html]]]" } ] } } ], "count" : 42 }
Last modified: 18 August 2026