Skip to content

Validate OTel semantics for gen_ai attributes #291

Description

@sentry-junior

Give the plugin a way to check that instrumentation uses correct OpenTelemetry semantics — the right attribute names, and the right attributes paired with operations. gen_ai is the primary focus.

  • Today the plugin can guide AI monitoring setup (sentry-setup-ai-monitoring) and OTel exporter wiring (sentry-otel-exporter-setup), but it has no structured way to verify emitted spans/attributes against OTel semantic conventions
  • Incorrect or mismatched attributes (e.g. wrong gen_ai.* names, attributes on the wrong operation) break Sentry AI monitoring quality and make telemetry hard to query reliably
  • Desired capability: inspect or guide instrumentation so attribute names and operation↔attribute pairings match OTel conventions, with gen_ai as the first high-value domain

Requested by David Cramer via Junior.

--

View Junior Session in Sentry

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions