Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions opentelemetry-semantic-conventions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## vNext

- Update to [v1.34.0](https://github.com/open-telemetry/semantic-conventions/releases/tag/v1.34.0) of the semantic conventions.

## 0.30.0

Released 2025-May-23
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
CRATE_DIR="${SCRIPT_DIR}/../"

# freeze the spec version and generator version to make generation reproducible
SPEC_VERSION=1.33.0
WEAVER_VERSION=v0.15.0
SPEC_VERSION=1.34.0
WEAVER_VERSION=v0.15.2

cd "$CRATE_DIR"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ comment_formats:
default_comment_format: rust

params:
schema_url: "https://opentelemetry.io/schemas/1.33.0"
schema_url: "https://opentelemetry.io/schemas/1.34.0"
exclude_root_namespace: []
excluded_attributes: ["messaging.client_id"]

Expand Down
548 changes: 417 additions & 131 deletions opentelemetry-semantic-conventions/src/attribute.rs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion opentelemetry-semantic-conventions/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ pub mod trace;

/// The schema URL that matches the version of the semantic conventions that
/// this crate defines.
pub const SCHEMA_URL: &str = "https://opentelemetry.io/schemas/1.33.0";
pub const SCHEMA_URL: &str = "https://opentelemetry.io/schemas/1.34.0";
104 changes: 57 additions & 47 deletions opentelemetry-semantic-conventions/src/metric.rs

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions opentelemetry-semantic-conventions/src/trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ pub use crate::attribute::APP_WIDGET_ID;
#[cfg(feature = "semconv_experimental")]
pub use crate::attribute::APP_WIDGET_NAME;

#[cfg(feature = "semconv_experimental")]
pub use crate::attribute::AWS_BEDROCK_GUARDRAIL_ID;

#[cfg(feature = "semconv_experimental")]
pub use crate::attribute::AWS_BEDROCK_KNOWLEDGE_BASE_ID;

#[cfg(feature = "semconv_experimental")]
pub use crate::attribute::AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS;

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

#[cfg(feature = "semconv_experimental")]
pub use crate::attribute::AWS_LAMBDA_RESOURCE_MAPPING_ID;

#[cfg(feature = "semconv_experimental")]
pub use crate::attribute::AWS_REQUEST_ID;

Expand Down Expand Up @@ -203,6 +212,9 @@ pub use crate::attribute::CLIENT_ADDRESS;

pub use crate::attribute::CLIENT_PORT;

#[cfg(feature = "semconv_experimental")]
pub use crate::attribute::CLOUD_REGION;

#[cfg(feature = "semconv_experimental")]
pub use crate::attribute::CLOUD_RESOURCE_ID;

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

#[cfg(feature = "semconv_experimental")]
pub use crate::attribute::FEATURE_FLAG_RESULT_VALUE;

#[cfg(feature = "semconv_experimental")]
pub use crate::attribute::FEATURE_FLAG_RESULT_VARIANT;

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

#[cfg(feature = "semconv_experimental")]
pub use crate::attribute::GEN_AI_CONVERSATION_ID;

#[cfg(feature = "semconv_experimental")]
pub use crate::attribute::GEN_AI_DATA_SOURCE_ID;

#[cfg(feature = "semconv_experimental")]
pub use crate::attribute::GEN_AI_OPENAI_REQUEST_SERVICE_TIER;

Expand Down