Export builtin trace data to Honeycomb
To export built-in trace data to Honeycomb:- Create a Honeycomb API key and add it to Baseten secrets.
-
Update
config.yamlfor the target model:config.yaml -
Send requests with
traceparentheaders for distributed tracing. If omitted, Baseten generates random trace IDs.
Add custom OTEL instrumentation
To define custom spans and events, integrate OTEL directly:model.py