TeamCity REST API Reference 2026.2 Help

MetricTag

Represents a key-value label (tag) that identifies a specific dimension of a metric series. Tags differentiate metric entries that share the same name but measure different dimensions, such as different JVM memory areas or server nodes.

Related Help article: Metrics

Properties

name

The tag key.

value

The tag value.

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.

<metricTag name="nodeId" value="MAIN_SERVER"/>
{ "name" : "nodeId", "value" : "MAIN_SERVER" }
Last modified: 18 August 2026