api

Get top values for a specific span attribute key.

Returns the most frequent values for the given string attribute key, with optional prefix search filtering.

GET /api/traces/span-attribute-values/?project_id=<uuid>&key=<attr_key>[&q=<search>][&limit=50]

get/api/traces/span-attribute-values/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/traces/span-attribute-values/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Query parameters

project_idstring uuid required
keystring required

Nonempty exact attribute key, at most 4096 UTF-8 bytes. Whitespace, controls and case are preserved.

qstring
limitinteger

Response

OK

query_completeboolean required
query_status'complete' | 'sampled' | 'degraded' required
query_error_code'sample_limit' | 'read_budget_exceeded' | 'query_failed'
query_window_startstring date-time required
query_window_endstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.