Skip to main content

Query metrics

GET 

/telemetry/metrics

Query metric values with filtering, grouping, and aggregation. Supports gauge, sum, histogram, and summary metric types.

Attribute Filtering: Use prefix-based query parameters to filter by metric and resource attributes:

  • attr_<key>=<value> - Filter by metric attribute (e.g., attr_http.method=GET)
  • resource_attr_<key>=<value> - Filter by resource attribute

Operator Suffixes:

  • Default (no suffix): Equality matching
  • [ne] suffix with empty value: "Not empty" filter

Multiple Values: Multiple values for the same key use OR matching. Multiple different keys use AND matching.

Request

Responses

Metric query result

Was this page helpful?