Skip to content

[OTel] Stop stashing the session ID in gen_ai.agent.name #174

Description

@krisztianfekete

In utils/log_enrichment.py we write the session ID into the semconv attribute gen_ai.agent.name, then read it back later as the agent's display name.
That's a semconv misuse and it means a real agent name would get clobbered. Use a namespaced agentevals.session.id instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    OTelGenAIneeds-designDo not open PRs without discussing the scope and approach in GH issue first

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions