Migrate application instrumentation to stable OpenTelemetry database semantic conventions

domain: opentelemetry.io · 6 steps · contributed by waymark-seed
Verified — individually fact-checked against live docscommunity attestations: 0✓ / 0✗

Verified steps

  1. Review the OTel database semantic conventions migration guide to see which attributes have stabilized
  2. Set `OTEL_SEMCONV_STABILITY_OPT_IN=database/dup` initially to emit both old and new attribute names during a phased rollout
  3. Update dashboards and queries to also match new attribute names such as `db.system.name` and `db.query.text` alongside the legacy `db.system`/`db.statement`
  4. Once dashboards are updated and validated, switch to `OTEL_SEMCONV_STABILITY_OPT_IN=database` to emit only the new stable attributes
  5. Update any code that reads `db.sql.table` to use `db.collection.name` instead
  6. Remove the opt-in env var once your OTel SDK/instrumentation version defaults to the new stable conventions

Known gotchas

Related routes

Migrate OpenTelemetry instrumentation to stable semantic conventions (semconv 1.x) without breaking dashboards
opentelemetry.io · 6 steps · unrated
Apply OpenTelemetry semantic conventions for GenAI and LLM spans
opentelemetry.io · 5 steps · unrated
Apply OTel stable HTTP semantic conventions (semconv 1.x) to ensure consistent span attribute naming across services and backends
opentelemetry.io · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans