Format Rules
- Keys must be alphanumeric and can include
-
,_
, or.
. - Value must be a
string
,number
or aboolean
. - The header must not exceed 8KB, and keys must be unique.
Add metadata to your API requests using the x-glama-metadata
HTTP header. Attached labels help track and filter requests in logs dashboard.
The x-glama-metadata
header uses metadata in the form of JSON { "labels": [ { "key": "foo", "value": "bar" } ] }
.
-
, _
, or .
.string
, number
or a boolean
.Filter logs at /logsusing labels.
environment=production
user_id=12345
environment=staging
and priority=high