open-telemetry / opentelemetry-dotnet-contrib

This repository contains set of components extending functionality of the OpenTelemetry .NET SDK. Instrumentation libraries, exporters, and other components can find their home here.
https://opentelemetry.io
Apache License 2.0
474 stars 283 forks source link

Differentiate between stable and experimental semantic conventions #2090

Open joaopgrassi opened 1 month ago

joaopgrassi commented 1 month ago

Component

OpenTelemetry.SemanticConventions

Is your feature request related to a problem?

Currently, the semantic conventions package contains all attributes under the same namespace/place. With the stabilization of areas of semantic conventions (e.g., HTTP) semantic conventions should be split between the ones that are stable vs experimental.

Java and Python already are following this pattern of "incubating" for experimental ones. Examples can be found here of how the package is structured

https://github.com/open-telemetry/opentelemetry-python/pull/4091/files https://github.com/open-telemetry/semantic-conventions-java/pull/70

What is the expected behavior?

We should follow suit and organize the generated attributes under a new folder called "incubating" and maybe even under a different namespace. To be discussed with the group here what we prefer.

Which alternative solutions or features have you considered?

N/A

Additional context

N/A

cijothomas commented 1 month ago

Related: https://github.com/open-telemetry/opentelemetry-dotnet/issues/4086