openmeterio / openmeter

Metering and Billing for AI, API and DevOps. Collect and aggregate millions of usage events in real-time and enable usage-based billing.
https://openmeter.io
Apache License 2.0
1.14k stars 68 forks source link

fix(logger): http context on logs #1838

Closed hekike closed 1 week ago

hekike commented 1 week ago

Use contextx to collect log attributes and enrich logs. Use semantic convention for common log attributes.