Metrics
List metric attributes
List available attribute keys for metrics. Returns attribute keys with their kind (str, int, float), unit, and count (how many metrics use each attribute). Use the search parameter to filter by metric name. Use this to discover which attributes are available for group by in dashboard queries.
get/internal/v1/metrics/{project_id}/attributes
Path parameters
project_idinteger required
Uptrace project ID.
Query parameters
time_startstring date-time required
RFC3339 timestamp.
Start time (inclusive) as RFC3339 timestamp.
time_endstring date-time required
RFC3339 timestamp.
End time (exclusive) as RFC3339 timestamp.
searchstring
Search string to filter metrics by name.
Response
Attribute keys list.