Telemetry Metrics

Query metrics with time bucketing.

Changed on
get/otel/metrics

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/otel/metrics
  • Auth: HTTP bearer

Query parameters

project_idinteger required

Project ID

metric_namestring

Filter by metric name

service_namestring

Filter by service name

environmentstring

Filter by deployment environment

start_timestring

Start time (RFC 3339)

end_timestring

End time (RFC 3339)

bucket_intervalstring

Bucket interval (e.g. '1 hour', '5 minutes')

limitinteger

Max buckets to return (default: 1000)

metric_typestring

Filter by metric type (gauge, sum, histogram, exponential_histogram, summary)

aggregationstring

Per-bucket aggregation: avg (default), sum, min, max, count, rate, p50/p95/p99, quantile:0.95

label_filtersstring

Comma-separated key=value data-point label filters (keys must match [a-zA-Z0-9_.:-])

group_bystring

Comma-separated label keys to group series by

Response

Metrics data

OtelMetricsResponse required(unresolved $ref)

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status