-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
never-staletype:feature-trackingA feature with sub-issues that need to be addressedA feature with sub-issues that need to be addressed
Description
Current Status
Current (latest) package of @opentelemetry/semantic-conventions uses semconv version v1.7.0, as seen in scripts/semconv/generate.sh.
There are breaking changes in semantic conventions over time, especially prominent in v1.21 with stabilized http attributes, so we want to update in a way that minimizes impact on end users and offers the environment variable option OTEL_SEMCONV_STABILITY_OPT_IN to allow specifying which attributes to use. See schema for 1.23.1 here that shows changes over time.
Steps required for semantic convention update
- Update usage of semantic conventions to new exported strings opentelemetry-js-contrib#2025
- Update usage of semantic conventions to new exported strings #4567
- Document instrumentation semantic conventions opentelemetry-js-contrib#1778
-
Make copy of existing semantic conventions by adding suffix 1_7 (@opentelemetry/semantic-conventions-1_7), and update imports everywhere, as suggested on #4235 - Separate publishing of semantic conventions for more control over version #4878
- Generate new semantic conventions. Use weaver to generate latest semconv 1.27 #4690
- Make decision on decide on advice for use of *unstable* semconv consts: copy or pin dep #5182
- Implement stable http semantic conventions #4897
- Use updated attributes with ATTR prefix in all packages #4896
- Use updated semantic-conventions pkg exports with
ATTR_prefix in all packages opentelemetry-js-contrib#2377 - update metric names to semconv
METRIC_*exports #5956 - review tables in READMEs for potential changes needed
- review
opentelemetry.iodocs for potential changes needed: Update JS docs to stable semconv attribute names opentelemetry.io#8676 - update current status in https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/semconv-stable-http-and-database.md
Note: Import @opentelemetry/semantic-conventions for stable semantic conventions. Import @opentelemetry/semantic-conventions/incubating for all semantic conventions, stable and unstable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
never-staletype:feature-trackingA feature with sub-issues that need to be addressedA feature with sub-issues that need to be addressed