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:
-, _, or ..string, number or a boolean.Malformed metadata will result in the metadata being ignored. If you are not seeing the metadata in your logs, this is likely the cause.
Filter logs at /logs using labels.
environment=productionuser_id=12345environment=staging and priority=high