Open hannahramadan opened 2 months ago
Link to instrumentation that uses this PR: https://github.com/open-telemetry/opentelemetry-ruby-contrib/pull/1166
👋 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
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 inOpenTelemetry::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 onlyhttp/dup
- emit both the old and the stable HTTP and networking conventionsdefault
- continue emitting whatever version of the old experimental HTTP and networking conventions the instrumentation was emitting previously.http/dup
has higher precedence thanhttp
in case both values are present