Update the semantic conventions version to 1.42.0#497
Merged
Conversation
trask
approved these changes
Jun 16, 2026
There was a problem hiding this comment.
Pull request overview
Updates this repo’s generated Java semantic-conventions artifacts to align with OpenTelemetry Semantic Conventions v1.42.0, including new schema URL constants and regenerated attribute classes (stable + incubating).
Changes:
- Bump semantic conventions input/version to 1.42.0 and regenerate generated Java sources.
- Add new schema URL constant for 1.42.0 and refresh API-diff documentation.
- Introduce new stable attribute classes (e.g.,
K8sAttributes,ContainerAttributes) and mark migrated incubating attributes as deprecated where applicable.
Reviewed changes
Copilot reviewed 20 out of 21 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| semconv/src/main/java/io/opentelemetry/semconv/UrlAttributes.java | Updates redaction examples / references for sensitive URL query params (AWS SigV4 params). |
| semconv/src/main/java/io/opentelemetry/semconv/SchemaUrls.java | Adds V1_42_0 schema URL constant. |
| semconv/src/main/java/io/opentelemetry/semconv/K8sAttributes.java | Adds new stable Kubernetes attribute keys/templates (generated). |
| semconv/src/main/java/io/opentelemetry/semconv/ContainerAttributes.java | Adds new stable container attribute keys (generated). |
| semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/UrlIncubatingAttributes.java | Mirrors URL query param doc/reference updates in incubating package. |
| semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ProfileIncubatingAttributes.java | Adds LUAJIT enum value for profile frame type. |
| semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OpenaiIncubatingAttributes.java | Marks OpenAI incubating attributes/enums as deprecated due to move to GenAI repo. |
| semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/McpIncubatingAttributes.java | Marks MCP incubating attributes/enums as deprecated due to move to GenAI repo. |
| semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/K8sIncubatingAttributes.java | Adds new incubating K8s attribute(s), updates links, and deprecates items now stable. |
| semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GenAiIncubatingAttributes.java | Deprecates GenAI incubating attributes/enums due to move to GenAI repo; expands deprecation docs. |
| semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GcpIncubatingAttributes.java | Adds GCE instance labels attribute template and required imports. |
| semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/FileIncubatingAttributes.java | Adds file lock-related attributes and enum values. |
| semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CpuIncubatingAttributes.java | Deprecates KERNEL CPU mode constant in favor of system. |
| semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ContainerIncubatingAttributes.java | Deprecates incubating container attributes in favor of newly-stable equivalents. |
| semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CicdIncubatingAttributes.java | Adjusts doc wording to “CI/CD” for consistency/clarity. |
| semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/BrowserIncubatingAttributes.java | Adds browser.document.url.full attribute. |
| semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AppIncubatingAttributes.java | Adds app.crash.id attribute. |
| semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AndroidIncubatingAttributes.java | Updates Android lifecycle documentation link. |
| docs/apidiffs/current_vs_latest/opentelemetry-semconv.txt | Refreshes API diff output for 1.42.0 snapshot vs 1.41.1 release. |
| CHANGELOG.md | Notes the bump to semconv v1.42.0 in Unreleased. |
| build.gradle.kts | Updates semanticConventionsVersion to 1.42.0 and keeps prior schema URLs listed. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update the semantic conventions version to
1.42.0.