Skip to content

Bug: OpenTelemetry Semantic Convention compliance #290

@pjirsa

Description

@pjirsa

Describe the bug
The span attributes emitted for token counts does not align with property names defined in Semantic Conventions 1.30 spec.

Existing attributes:

  • gen_ai.response.completion_tokens
  • gen_ai.response.prompt_tokens

Compliant attributes: Generative AI Traces

  • gen_ai.usage.output_tokens
  • gen_ai.usage.input_tokens

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageNeeds triage from engineering team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions