-
Notifications
You must be signed in to change notification settings - Fork 31
Update semantic conventions to 1.38.0 #384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,8 @@ | |
|
|
||
| ## Unreleased | ||
|
|
||
| * Bump to semconv v1.38.0 | ||
|
|
||
| ## Version 1.37.0 (2025-08-27) | ||
|
|
||
| * Bump to semconv v1.37.0 | ||
|
|
||
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,4 @@ | ||
| Comparing source compatibility of opentelemetry-semconv-1.37.0-SNAPSHOT.jar against opentelemetry-semconv-1.37.0.jar | ||
| No changes. | ||
| Comparing source compatibility of opentelemetry-semconv-1.38.0-SNAPSHOT.jar against opentelemetry-semconv-1.37.0.jar | ||
| *** MODIFIED CLASS: PUBLIC FINAL io.opentelemetry.semconv.SchemaUrls (not serializable) | ||
| === CLASS FILE FORMAT VERSION: 52.0 <- 52.0 | ||
| +++ NEW FIELD: PUBLIC(+) STATIC(+) FINAL(+) java.lang.String V1_38_0 |
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
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
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -58,6 +58,36 @@ public final class GenAiIncubatingAttributes { | |
| public static final AttributeKey<String> GEN_AI_DATA_SOURCE_ID = | ||
| stringKey("gen_ai.data_source.id"); | ||
|
|
||
| /** The number of dimensions the resulting output embeddings should have. */ | ||
| public static final AttributeKey<Long> GEN_AI_EMBEDDINGS_DIMENSION_COUNT = | ||
| longKey("gen_ai.embeddings.dimension.count"); | ||
|
|
||
| /** A free-form explanation for the assigned score provided by the evaluator. */ | ||
| public static final AttributeKey<String> GEN_AI_EVALUATION_EXPLANATION = | ||
| stringKey("gen_ai.evaluation.explanation"); | ||
|
|
||
| /** The name of the evaluation metric used for the GenAI response. */ | ||
| public static final AttributeKey<String> GEN_AI_EVALUATION_NAME = | ||
| stringKey("gen_ai.evaluation.name"); | ||
|
|
||
| /** | ||
| * Human readable label for evaluation. | ||
| * | ||
| * <p>Notes: | ||
| * | ||
| * <p>This attribute provides a human-readable interpretation of the evaluation score produced by | ||
| * an evaluator. For example, a score value of 1 could mean "relevant" in one evaluation system | ||
| * and "not relevant" in another, depending on the scoring range and evaluator. The label SHOULD | ||
| * have low cardinality. Possible values depend on the evaluation metric and evaluator used; | ||
| * implementations SHOULD document the possible values. | ||
| */ | ||
| public static final AttributeKey<String> GEN_AI_EVALUATION_SCORE_LABEL = | ||
| stringKey("gen_ai.evaluation.score.label"); | ||
|
|
||
| /** The evaluation score returned by the evaluator. */ | ||
| public static final AttributeKey<Double> GEN_AI_EVALUATION_SCORE_VALUE = | ||
| doubleKey("gen_ai.evaluation.score.value"); | ||
|
|
||
| /** | ||
| * Deprecated, use {@code gen_ai.output.type}. | ||
| * | ||
|
|
@@ -468,11 +498,19 @@ public static final class GenAiSystemIncubatingValues { | |
| /** Cohere */ | ||
| public static final String COHERE = "cohere"; | ||
|
|
||
| /** Azure AI Inference */ | ||
| public static final String AZ_AI_INFERENCE = "az.ai.inference"; | ||
| /** | ||
| * Azure AI Inference | ||
| * | ||
| * @deprecated Replaced by {@code azure.ai.inference}. | ||
| */ | ||
| @Deprecated public static final String AZ_AI_INFERENCE = "az.ai.inference"; | ||
|
|
||
| /** Azure OpenAI */ | ||
| public static final String AZ_AI_OPENAI = "az.ai.openai"; | ||
| /** | ||
| * Azure OpenAI | ||
| * | ||
| * @deprecated Replaced by {@code azure.ai.openai}. | ||
| */ | ||
| @Deprecated public static final String AZ_AI_OPENAI = "az.ai.openai"; | ||
|
|
||
| /** Azure AI Inference */ | ||
| public static final String AZURE_AI_INFERENCE = "azure.ai.inference"; | ||
|
|
@@ -489,12 +527,8 @@ public static final class GenAiSystemIncubatingValues { | |
| /** Perplexity */ | ||
| public static final String PERPLEXITY = "perplexity"; | ||
|
|
||
| /** | ||
| * xAI | ||
| * | ||
| * @deprecated Replaced by {@code x_ai}. | ||
| */ | ||
| @Deprecated public static final String XAI = "xai"; | ||
| /** xAI */ | ||
| public static final String XAI = "xai"; | ||
|
Comment on lines
-492
to
+531
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. note to reviewers: this whole enum is deprecated |
||
|
|
||
| /** DeepSeek */ | ||
| public static final String DEEPSEEK = "deepseek"; | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
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
@deprecatedwith no further explanation
There was a problem hiding this comment.
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
@deprecatedwith no explanation. (915725a)