- Notifications
You must be signed in to change notification settings - Fork1k
Closed as not planned
Labels
Description
Description
My setup
- I am using the
Agent.instrument_all()
to instrument my agents. - My logfire config:
logfire.configure(send_to_logfire=False, scrubbing=False)
OTEL_EXPORTER_OTLP_ENDPOINT
environment variable is set to the Opik instance I'm using:<service address>/api/v1/private/otel
The problem
In the LLM calls table in Opik, theTotal tokens
andEstimated cost
columns are not evaluated. However, if I select any LLM call trace I can see the number of input tokens and output tokens in the metadata field. (See images in the References section)
Possible cause
Opik might expect some different/additional opentelemetry attributes.
Ideal outcome
Total tokens
andEstimated cost
fields are evaluated in Opik's LLM calls table without needing to manually send opentelemetry attributes.
References
Comet Opik documentation:
https://www.comet.com/docs/opik/