Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: sem_conv stability mode #1728

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

hannahramadan
Copy link

@hannahramadan hannahramadan commented Sep 12, 2024

Lays the foundation for accepting a new environment variable, OTEL_SEMCONV_STABILITY_OPT_IN, which gives users the ability to determine which semantic conventions to use. Individual instrumentation are expected to add metrics/attributes by calling the methods present in OpenTelemetry::SemanticConventions::StabilityMode. This borrows from Pythons implementation.

Only HTTP is supported for now (spec) and the values defined so far are:

  • http - emit the new, stable HTTP and networking conventions only
  • http/dup - emit both the old and the stable HTTP and networking conventions
  • default - continue emitting whatever version of the old experimental HTTP and networking conventions the instrumentation was emitting previously.
  • Note: http/dup has higher precedence than http in case both values are present

@hannahramadan hannahramadan changed the title feat: introduce sem_comv stability mode feat: introduce sem_conv stability mode Sep 13, 2024
@hannahramadan hannahramadan changed the title feat: introduce sem_conv stability mode feat: sem_conv stability mode Sep 17, 2024
@hannahramadan hannahramadan marked this pull request as ready for review September 17, 2024 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants