Metadata
Metadata adds structured key-value context to traces for investigation, filtering, and grouping. Common metadata includes:- request id
- account id
- plan or tier
- region
- environment
- feature flag or experiment id
- product surface
Send metadata
Pass metadata throughcapture().
- TypeScript
- Python
Use metadata in Latitude
Metadata appears on traces and in filters, so you can review cohorts such as:- production traces for one account
- failed traces for a specific feature flag
- expensive traces from one region
- issue examples from a specific plan tier
metadata.environment = production.