Dictionary API¶
Query the live dictionary of discovered semantic conventions.
List Entries¶
Query Parameters¶
| Parameter | Type | Default | Description |
|---|---|---|---|
type |
string | all | Filter by signal type: metric, trace, log |
q |
string | all | Attribute name glob pattern (e.g., http.*) |
sort |
string | name |
Sort field: cardinality, first_seen, last_seen, name |
order |
string | asc |
Sort direction: asc or desc |
limit |
int | 100 |
Max entries (max: 1000) |
offset |
int | 0 |
Pagination offset |
Response¶
{
"total": 342,
"offset": 0,
"limit": 100,
"entries": [
{
"name": "http.request.method",
"type": "string",
"signal_types": ["metric", "trace"],
"cardinality": 6,
"first_seen": "2026-05-08T10:00:00Z",
"last_seen": "2026-05-08T15:30:00Z",
"status": "active"
}
]
}
Examples¶
Sort by cardinality (highest first):
Filter to metric attributes:
Search for HTTP attributes:
Paginate through results:
Get Single Attribute¶
Response¶
{
"name": "http.request.method",
"type": "string",
"signal_types": ["metric", "trace"],
"cardinality": 6,
"top_values": [
{"value": "GET", "approximate_count": 45230},
{"value": "POST", "approximate_count": 12340},
{"value": "PUT", "approximate_count": 3200}
],
"first_seen": "2026-05-08T10:00:00Z",
"last_seen": "2026-05-08T15:30:00Z",
"status": "active"
}
Error Response¶
Examples¶
Cardinality Endpoint¶
Query Parameters¶
| Parameter | Type | Default | Description |
|---|---|---|---|
threshold |
int | 100 |
Only show attributes above this cardinality |
Response¶
{
"global_budget": {
"used": 342,
"limit": 10000,
"utilization_pct": 3.42
},
"attributes": [
{
"name": "k8s.pod.name",
"cardinality": 847,
"cap": 1000,
"utilization_pct": 84.7
}
]
}
Examples¶
Show attributes with more than 50 unique values: