Skip to content

Commit 019cb2c

Browse files
authored
feat(semantic-conventions): update semantic conventions to v1.34.0 (#5703)
1 parent 7a9b049 commit 019cb2c

File tree

6 files changed

+207
-78
lines changed

6 files changed

+207
-78
lines changed

scripts/semconv/generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ROOT_DIR="${SCRIPT_DIR}/../../"
77

88
# Get latest version by running `git tag -l --sort=version:refname | tail -1`
99
# ... in [email protected]:open-telemetry/semantic-conventions.git
10-
SPEC_VERSION=v1.33.0
10+
SPEC_VERSION=v1.34.0
1111
# ... in [email protected]:open-telemetry/weaver.git
1212
GENERATOR_VERSION=v0.15.0
1313

scripts/semconv/templates/registry/ts-experimental/attributes.ts.j2

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) =>
3333
{% endif %}
3434
{% if attribute.type is mapping %}
3535
{% for espec in attribute.type.members | sort(attribute='value') %}
36-
{#- Grandfather NETWORK_TRANSPORT_VALUE_QUIC as stable until v1.34.0 is released. #}
37-
{% if espec is not stable and not (attribute.name == 'network.transport' and espec.value == 'quic') %}
36+
{% if espec is not stable %}
3837
/**
3938
* Enum value {{ espec.value | print_member_value }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}.
4039
*/

scripts/semconv/templates/registry/ts-stable/attributes.ts.j2

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) =>
3131
{% endif %}
3232
{% if attribute.type is mapping %}
3333
{% for espec in attribute.type.members | sort(attribute='value') %}
34-
{#- Grandfather NETWORK_TRANSPORT_VALUE_QUIC as stable until v1.34.0 is released. #}
35-
{% if espec is stable or (attribute.name == 'network.transport' and espec.value == 'quic') %}
34+
{% if espec is stable %}
3635
/**
3736
* Enum value {{ espec.value | print_member_value }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}.
3837
*/

semantic-conventions/CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,35 @@ All notable changes to the semantic-conventions package will be documented in th
99

1010
### :rocket: Features
1111

12+
* feat: update semantic conventions to v1.34.0 [#5703](https://github.com/open-telemetry/opentelemetry-js/pull/5703) @trentm
13+
* Semantic Conventions v1.34.0: [changelog](https://github.com/open-telemetry/semantic-conventions/blob/main/CHANGELOG.md#v1340) | [latest docs](https://opentelemetry.io/docs/specs/semconv/)
14+
* `@opentelemetry/semantic-conventions` (stable) changes: *none*
15+
* `@opentelemetry/semantic-conventions/incubating` (unstable) changes: *12 added exports*
16+
17+
#### Unstable changes in v1.34.0
18+
19+
<details>
20+
<summary>12 added exports</summary>
21+
22+
```js
23+
ATTR_AWS_BEDROCK_GUARDRAIL_ID // aws.bedrock.guardrail.id
24+
ATTR_AWS_BEDROCK_KNOWLEDGE_BASE_ID // aws.bedrock.knowledge_base.id
25+
ATTR_AWS_KINESIS_STREAM_NAME // aws.kinesis.stream_name
26+
ATTR_AWS_LAMBDA_RESOURCE_MAPPING_ID // aws.lambda.resource_mapping.id
27+
ATTR_AWS_SECRETSMANAGER_SECRET_ARN // aws.secretsmanager.secret.arn
28+
ATTR_AWS_SNS_TOPIC_ARN // aws.sns.topic.arn
29+
ATTR_AWS_SQS_QUEUE_URL // aws.sqs.queue.url
30+
ATTR_AWS_STEP_FUNCTIONS_ACTIVITY_ARN // aws.step_functions.activity.arn
31+
ATTR_AWS_STEP_FUNCTIONS_STATE_MACHINE_ARN // aws.step_functions.state_machine.arn
32+
33+
ATTR_FEATURE_FLAG_RESULT_VALUE // feature_flag.result.value
34+
35+
ATTR_GEN_AI_CONVERSATION_ID // gen_ai.conversation.id
36+
ATTR_GEN_AI_DATA_SOURCE_ID // gen_ai.data_source.id
37+
```
38+
39+
</details>
40+
1241
### :bug: Bug Fixes
1342

1443
### :books: Documentation

0 commit comments

Comments
 (0)