Skip to content

feat: draft - MySQL2 Semantic Stability#2096

Draft
hannahramadan wants to merge 4 commits intoopen-telemetry:mainfrom
hannahramadan:mysql2_semantic_stability
Draft

feat: draft - MySQL2 Semantic Stability#2096
hannahramadan wants to merge 4 commits intoopen-telemetry:mainfrom
hannahramadan:mysql2_semantic_stability

Conversation

@hannahramadan
Copy link
Copy Markdown
Member

@hannahramadan hannahramadan commented Mar 19, 2026

Database semantic convention stability migration spec.

New environment variable OTEL_SEMCONV_STABILITY_OPT_IN:

  • database to emit stable conventions only
  • database/dup to emit both old and the stable conventions
  • a blank env var will emit old conventions only

The agent is required to maintain this bridge for 6 months and may drop the environment variable in the next major version and emit only the stable database and networking conventions.

Changes:

  • db.system -> db.system.name
  • net.peer.name -> server.address
  • net.peer.port -> server.port (now an integer, only if present)
  • db.name -> db.namespace
  • db.statement -> db.query.text
  • db.operation → db.operation.name

Removed:

  • peer.service

Added:

  • error.type
  • server.port

@hannahramadan hannahramadan changed the title feat: MySQL2 Semantic Stability feat: draft - MySQL2 Semantic Stability Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant