Exporting builtin trace data to Honeycomb
- Create a Honeycomb API key and add it to Baseten secrets.
- Update
config.yaml
for the target model:
config.yaml
- Send requests with tracing
- Provide traceparent headers for distributed tracing.
- If omitted, Baseten generates random trace IDs.
Adding custom OTEL instrumentation
To define custom spans and events, integrate OTEL directly:model.py