List available metrics
Returns the catalog of registered metrics that you can query via /v2/metrics/{metric_name}, both system metrics and the account's custom metrics. Use it to discover metric names, types, and dimensions.
Query parameters
Restricts the returned catalog to metrics in these categories. When omitted, the response includes all categories.
Headers
The platform makes a best effort to complete the request in the specified seconds, or it times out.
The platform makes a best effort to complete the request in the specified milliseconds, or it times out.
Response
Catalog of registered metrics.
Example response
{
"metrics": [
{
"name": "agent.trace.duration_ms",
"category": "agent",
"unit": "ms",
"display_name": "Agent turn duration percentiles",
"dimensions": [
"agent_keys"
],
"origin": "system",
"type": "counter"
}
]
}Changes
Changed in 1 of the 13 revisions of this API.12
- ○
response property
metrics/items/oneOf[CounterMetricDescriptor]/allOf[MetricDescriptorBase]/labelsdeprecatedresponse-property-deprecated
- ○
response property
metrics/items/oneOf[DistributionMetricDescriptor]/allOf[MetricDescriptorBase]/labelsdeprecatedresponse-property-deprecated
- ○
response property
metrics/items/oneOf[GaugeMetricDescriptor]/allOf[MetricDescriptorBase]/labelsdeprecatedresponse-property-deprecated
- ○
response property
metrics/items/oneOf[PercentilesMetricDescriptor]/allOf[MetricDescriptorBase]/labelsdeprecatedresponse-property-deprecated
- ○
added the required property
//////////to the response with the statusresponse-required-property-added
- ○
added the required property
//////////to the response with the statusresponse-required-property-added
- ○
added the required property
//////////to the response with the statusresponse-required-property-added
- ○
added the required property
//////////to the response with the statusresponse-required-property-added
- ○
added the required property
//////////to the response with the statusresponse-required-property-added
- ○
added the required property
//////////to the response with the statusresponse-required-property-added
- ○
added the required property
//////////to the response with the statusresponse-required-property-added
- ○
added the required property
//////////to the response with the statusresponse-required-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○