Skip to content

Update semantic conventions to 1.38.0#384

Merged
trask merged 3 commits intomainfrom
copilot/update-semantic-conventions
Jan 27, 2026
Merged

Update semantic conventions to 1.38.0#384
trask merged 3 commits intomainfrom
copilot/update-semantic-conventions

Conversation

Copy link
Contributor

Copilot AI commented Jan 27, 2026

Update semantic conventions from 1.37.0 to 1.38.0

  • Explore repository structure and understand build system
  • Update semanticConventionsVersion in build.gradle.kts from 1.37.0 to 1.38.0
  • Add 1.38.0 to schemaUrlVersions list in build.gradle.kts
  • Add V1_38_0 constant to SchemaUrls.java
  • Regenerate semantic convention Java code using Docker/weaver
  • Apply spotless formatting fixes
  • Update CHANGELOG.md with new version entry
  • Run build and tests to verify changes
  • Update jinja templates to exclude "Uncategorized." deprecation notes
  • Regenerate code with updated templates
  • Run code review
  • Run security scan

Summary:
Successfully updated semantic conventions to version 1.38.0. The update includes:

  • New incubating attributes: NfsIncubatingAttributes, OncRpcIncubatingAttributes, OpenshiftIncubatingAttributes, PprofIncubatingAttributes
  • Updated documentation and attributes in existing classes
  • Fixed jinja templates to exclude "Uncategorized." from deprecation messages (now just shows @deprecated with no explanation)
  • All tests pass
  • No security vulnerabilities introduced
Original prompt

update to semantic conventions 1.38.0 (from 1.37.0)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: trask <218610+trask@users.noreply.github.com>
Copilot AI changed the title [WIP] Update to semantic conventions 1.38.0 Update semantic conventions to 1.38.0 Jan 27, 2026
Copilot AI requested a review from trask January 27, 2026 17:43
* Deprecated, use {@code db.namespace} instead.
*
* @deprecated Replaced by {@code db.namespace}.
* @deprecated Uncategorized.
Copy link
Member

Choose a reason for hiding this comment

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

@copilot update the jinja template to exclude this particular reason, so the generated code is just

@deprecated

with no further explanation

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated the jinja templates to exclude "Uncategorized." from deprecation messages. The generated code now shows just @deprecated with no explanation. (915725a)

Comment on lines -492 to +531
/**
* xAI
*
* @deprecated Replaced by {@code x_ai}.
*/
@Deprecated public static final String XAI = "xai";
/** xAI */
public static final String XAI = "xai";
Copy link
Member

Choose a reason for hiding this comment

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

note to reviewers: this whole enum is deprecated

Comment on lines 372 to 374

/**
* Values for {@link #HTTP_REQUEST_METHOD}.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.HttpAttributes.HttpRequestMethodValues}.
*/
@Deprecated
/** Values for {@link #HTTP_REQUEST_METHOD}. */
public static final class HttpRequestMethodIncubatingValues {
Copy link
Member

Choose a reason for hiding this comment

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

note to reviewers: this was undeprecated to add experimental QUERY

Co-authored-by: trask <218610+trask@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 27, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • checkstyle.org
    • Triggering command: /opt/hostedtoolcache/CodeQL/2.23.9/x64/codeql/tools/linux64/java/bin/java /opt/hostedtoolcache/CodeQL/2.23.9/x64/codeql/tools/linux64/java/bin/java -jar /opt/hostedtoolcache/CodeQL/2.23.9/x64/codeql/xml/tools/xml-extractor.jar --fileList=/home/REDACTED/work/semantic-conventions-java/.codeql-scratch/dbs/java/working/files-to-index17976389551977930692.list --sourceArchiveDir=/home/REDACTED/work/semantic-conventions-java/.codeql-scratch/dbs/java/src --outputDir=/home/REDACTED/work/semantic-conventions-java/.codeql-scratch/dbs/java/trap/java (dns block)
  • scans-in.gradle.com
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED -XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI requested a review from trask January 27, 2026 19:48
@trask trask marked this pull request as ready for review January 27, 2026 21:31
@trask trask requested review from a team as code owners January 27, 2026 21:31
@trask trask merged commit bd6e136 into main Jan 27, 2026
15 checks passed
@trask trask deleted the copilot/update-semantic-conventions branch January 27, 2026 22:07
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.

3 participants