Skip to content

Commit 082213e

Browse files
authored
chore: bump semcon 1.34.0 (#3019)
1 parent c473db0 commit 082213e

File tree

7 files changed

+501
-182
lines changed

7 files changed

+501
-182
lines changed

opentelemetry-semantic-conventions/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## vNext
44

5+
- Update to [v1.34.0](https://github.com/open-telemetry/semantic-conventions/releases/tag/v1.34.0) of the semantic conventions.
6+
57
## 0.30.0
68

79
Released 2025-May-23

opentelemetry-semantic-conventions/scripts/generate-consts-from-spec.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
55
CRATE_DIR="${SCRIPT_DIR}/../"
66

77
# freeze the spec version and generator version to make generation reproducible
8-
SPEC_VERSION=1.33.0
9-
WEAVER_VERSION=v0.15.0
8+
SPEC_VERSION=1.34.0
9+
WEAVER_VERSION=v0.15.2
1010

1111
cd "$CRATE_DIR"
1212

opentelemetry-semantic-conventions/scripts/templates/registry/rust/weaver.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ comment_formats:
1414
default_comment_format: rust
1515

1616
params:
17-
schema_url: "https://opentelemetry.io/schemas/1.33.0"
17+
schema_url: "https://opentelemetry.io/schemas/1.34.0"
1818
exclude_root_namespace: []
1919
excluded_attributes: ["messaging.client_id"]
2020

opentelemetry-semantic-conventions/src/attribute.rs

Lines changed: 417 additions & 131 deletions
Large diffs are not rendered by default.

opentelemetry-semantic-conventions/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ pub mod trace;
2222

2323
/// The schema URL that matches the version of the semantic conventions that
2424
/// this crate defines.
25-
pub const SCHEMA_URL: &str = "https://opentelemetry.io/schemas/1.33.0";
25+
pub const SCHEMA_URL: &str = "https://opentelemetry.io/schemas/1.34.0";

opentelemetry-semantic-conventions/src/metric.rs

Lines changed: 57 additions & 47 deletions
Large diffs are not rendered by default.

opentelemetry-semantic-conventions/src/trace.rs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ pub use crate::attribute::APP_WIDGET_ID;
4343
#[cfg(feature = "semconv_experimental")]
4444
pub use crate::attribute::APP_WIDGET_NAME;
4545

46+
#[cfg(feature = "semconv_experimental")]
47+
pub use crate::attribute::AWS_BEDROCK_GUARDRAIL_ID;
48+
49+
#[cfg(feature = "semconv_experimental")]
50+
pub use crate::attribute::AWS_BEDROCK_KNOWLEDGE_BASE_ID;
51+
4652
#[cfg(feature = "semconv_experimental")]
4753
pub use crate::attribute::AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS;
4854

@@ -115,6 +121,9 @@ pub use crate::attribute::AWS_EXTENDED_REQUEST_ID;
115121
#[cfg(feature = "semconv_experimental")]
116122
pub use crate::attribute::AWS_LAMBDA_INVOKED_ARN;
117123

124+
#[cfg(feature = "semconv_experimental")]
125+
pub use crate::attribute::AWS_LAMBDA_RESOURCE_MAPPING_ID;
126+
118127
#[cfg(feature = "semconv_experimental")]
119128
pub use crate::attribute::AWS_REQUEST_ID;
120129

@@ -203,6 +212,9 @@ pub use crate::attribute::CLIENT_ADDRESS;
203212

204213
pub use crate::attribute::CLIENT_PORT;
205214

215+
#[cfg(feature = "semconv_experimental")]
216+
pub use crate::attribute::CLOUD_REGION;
217+
206218
#[cfg(feature = "semconv_experimental")]
207219
pub use crate::attribute::CLOUD_RESOURCE_ID;
208220

@@ -295,6 +307,9 @@ pub use crate::attribute::FEATURE_FLAG_PROVIDER_NAME;
295307
#[cfg(feature = "semconv_experimental")]
296308
pub use crate::attribute::FEATURE_FLAG_RESULT_REASON;
297309

310+
#[cfg(feature = "semconv_experimental")]
311+
pub use crate::attribute::FEATURE_FLAG_RESULT_VALUE;
312+
298313
#[cfg(feature = "semconv_experimental")]
299314
pub use crate::attribute::FEATURE_FLAG_RESULT_VARIANT;
300315

@@ -313,6 +328,12 @@ pub use crate::attribute::GEN_AI_AGENT_ID;
313328
#[cfg(feature = "semconv_experimental")]
314329
pub use crate::attribute::GEN_AI_AGENT_NAME;
315330

331+
#[cfg(feature = "semconv_experimental")]
332+
pub use crate::attribute::GEN_AI_CONVERSATION_ID;
333+
334+
#[cfg(feature = "semconv_experimental")]
335+
pub use crate::attribute::GEN_AI_DATA_SOURCE_ID;
336+
316337
#[cfg(feature = "semconv_experimental")]
317338
pub use crate::attribute::GEN_AI_OPENAI_REQUEST_SERVICE_TIER;
318339

0 commit comments

Comments
 (0)