Skip to content

Support incubating semconv stability levels#985

Open
dl-alexandre wants to merge 1 commit into
open-telemetry:mainfrom
dl-alexandre:codex/semconv-stability-levels
Open

Support incubating semconv stability levels#985
dl-alexandre wants to merge 1 commit into
open-telemetry:mainfrom
dl-alexandre:codex/semconv-stability-levels

Conversation

@dl-alexandre
Copy link
Copy Markdown

Summary

  • treat the generated incubating semantic-convention pass as "all non-stable" instead of matching only experimental
  • update Elixir and Erlang semconv templates so incubating output still uses incubating namespaces/includes for development, rc, and experimental stability levels
  • keep stable generation as an exact stable match

Fixes #823.

Validation

  • ruby -e 'require "yaml"; YAML.load_file("apps/opentelemetry_semantic_conventions/templates/registry/elixir/weaver.yaml"); YAML.load_file("apps/opentelemetry_semantic_conventions/templates/registry/erlang/weaver.yaml")'
  • jq -n --arg stability stable '[{stability:"stable"},{stability:"development"},{stability:"rc"},{stability:"experimental"}] | map(select(($stability == "stable" and .stability == "stable") or ($stability != "stable" and .stability != "stable")))'
  • jq -n --arg stability incubating '[{stability:"stable"},{stability:"development"},{stability:"rc"},{stability:"experimental"}] | map(select(($stability == "stable" and .stability == "stable") or ($stability != "stable" and .stability != "stable")))'
  • git diff --check
  • mix deps.get
  • mix test
  • mix format --check-formatted

Note: I did not regenerate semantic-convention output in this branch; this changes the generator filters/templates only.

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented May 10, 2026

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: dl-alexandre / name: dl-alexandre (c52f7e2)

@dl-alexandre dl-alexandre marked this pull request as ready for review May 15, 2026 05:20
@dl-alexandre dl-alexandre requested a review from a team as a code owner May 15, 2026 05:20
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.

Update semconv scripts to support extended stability levels

1 participant