Skip to content

Commit 8499914

Browse files
authored
chore: bump semconv 1.33.0 (#2975)
1 parent 9a0099a commit 8499914

File tree

7 files changed

+861
-110
lines changed

7 files changed

+861
-110
lines changed

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

Lines changed: 8 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.32.0
9-
WEAVER_VERSION=v0.13.2
8+
SPEC_VERSION=1.33.0
9+
WEAVER_VERSION=v0.15.0
1010

1111
cd "$CRATE_DIR"
1212

@@ -52,4 +52,10 @@ expression='
5252
"${SED[@]}" -E "${expression}" src/metric.rs
5353
"${SED[@]}" -E "${expression}" src/attribute.rs
5454

55+
# Fix unclosed HTML tag warnings for <key> in doc comments.
56+
# Rustdoc treats <key> as an unclosed HTML tag and fails the build with -D warnings.
57+
# We replace <key> with Markdown code formatting `key` to prevent the error.
58+
# TODO: This workaround should be removed once the upstream generator handles this correctly.
59+
"${SED[@]}" 's/<key>/`key`/g' src/attribute.rs
60+
5561
cargo fmt

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.32.0"
17+
schema_url: "https://opentelemetry.io/schemas/1.33.0"
1818
exclude_root_namespace: []
1919
excluded_attributes: ["messaging.client_id"]
2020

0 commit comments

Comments
 (0)