Skip to content

observe_metrics_list

Catalogue the metrics of the current product: what exists, whether it is a counter or a histogram, its unit, which services report it and which attribute keys its series carry.

Tool

observe_metrics_list

Catalogue the metrics of the current product: what exists, whether it is a counter or a histogram, its unit, which services report it and which attribute keys its series carry.

Catalogue the metrics of the current product: what exists, whether it is a counter or a histogram, its unit, which services report it and which attribute keys its series carry. Read this before observe_metrics_query — it is where a name, a type and a groupBy key come from.

Behavior

HTTP
GET /observe/metrics/catalog

Arguments

NameTypeRequiredDescription
searchstringOnly metrics whose name contains this text, case-insensitively
windowstringHow far back to look for metrics; default "24h"
servicestringOnly metrics reported by this service, e.g. "api"
environmentstringOnly metrics reported in this environment, e.g. "production"

Response

FieldTypeAlwaysDescription
windowstringThe window that was catalogued
metricsarrayThe metrics seen in the window, by name

Try it

Catalogue the metrics of the current product: what exists, whether it is a counter or a histogram, its unit, which services report it and which attribute keys its series carry.

When to use

Catalogue the metrics of the current product: what exists, whether it is a counter or a histogram, its unit, which services report it and which attribute keys its series carry. Read this before observe_metrics_query — it is where a name, a type and a groupBy key come from.

Example

Ask your agent something like this:

Catalogue the metrics of the current product: what exists, whether it is a counter or a histogram, its unit, which services report it and which attribute keys its series carry.

The agent will invoke observe_metrics_list with these arguments:

{}

Esc

Start typing to search the docs.

navigateselect