Telemetry Metrics

List the distinct values seen for a label key on a metric — powers value autocomplete once a key is chosen.

Changed on
get/otel/metric-label-values

Request

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

Query parameters

project_idinteger required

Project ID

metric_namestring required

Metric to inspect

label_keystring required

Label key whose values to list (must match [a-zA-Z0-9_.:-])

start_timestring

Window start (RFC 3339); defaults to 24h before end

end_timestring

Window end (RFC 3339); defaults to now

Response

Distinct label values

valuesstring[] required

Changes

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    1 more change in this revision