Get Trace Metrics

View as Markdown

Path parameters

workspacestringRequired

Query parameters

bucketenumOptionalDefaults to day
Time bucket granularity. total collapses the filtered range into a single row.
Allowed values:
timezonestringOptionalDefaults to UTC

IANA timezone the buckets are aligned to, e.g. America/Los_Angeles.

filterobjectOptional

Filter the traces the metrics are computed over. Accepts the same fields as the traces list, so agent_name scopes the rollup to one agent. Without a started_at lower bound the rollup covers the last 7 days.

Response

Successful Response
bucketenum
Allowed values:
timezonestring
datalist of objects

Errors

400
Bad Request Error
422
Unprocessable Entity Error
503
Service Unavailable Error