Skip to content

Update the semantic conventions version to 1.42.0#497

Merged
trask merged 2 commits into
mainfrom
otelbot/update-semconv-to-1.42.0
Jun 16, 2026
Merged

Update the semantic conventions version to 1.42.0#497
trask merged 2 commits into
mainfrom
otelbot/update-semconv-to-1.42.0

Conversation

@otelbot-semantic-conventions-java

Copy link
Copy Markdown
Contributor

Update the semantic conventions version to 1.42.0.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread semconv/src/main/java/io/opentelemetry/semconv/K8sAttributes.java
Comment thread semconv/src/main/java/io/opentelemetry/semconv/K8sAttributes.java
Comment thread semconv/src/main/java/io/opentelemetry/semconv/K8sAttributes.java
Comment thread semconv/src/main/java/io/opentelemetry/semconv/K8sAttributes.java
@trask trask merged commit d32d28e into main Jun 16, 2026
16 checks passed
@trask trask deleted the otelbot/update-semconv-to-1.42.0 branch June 16, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants