Skip to content

Python: [Bug]: missing cached tokens on OTEL spans #5511

@juliays

Description

@juliays

Description

observability.py _build_response_attributes only emits input_tokens and output_tokens. Ignores additional_counts

Code Sample

Error Messages / Stack Traces

Package Versions

1.2.0

Python Version

No response

Additional Context

No response

Metadata

Metadata

Labels

bugSomething isn't workingobservabilityIssues related to observability or telemetrypython

Type

No fields configured for Bug.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions