open-telemetry / opentelemetry-ruby

OpenTelemetry Ruby API & SDK, and related gems
https://opentelemetry.io/
Apache License 2.0
493 stars 244 forks source link

feat: sem_conv stability mode #1728

Open hannahramadan opened 2 months ago

hannahramadan commented 2 months ago

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:

kaylareopelle commented 1 month ago

Link to instrumentation that uses this PR: https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/1166

github-actions[bot] commented 3 weeks ago

👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the keep label to hold stale off permanently, or do nothing. If you do nothing this pull request will be closed eventually by the stale bot