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: 1 addition & 1 deletion scripts/semconv/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ROOT_DIR="${SCRIPT_DIR}/../../"

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) =>
{% endif %}
{% if attribute.type is mapping %}
{% for espec in attribute.type.members | sort(attribute='value') %}
{#- Grandfather NETWORK_TRANSPORT_VALUE_QUIC as stable until v1.34.0 is released. #}
{% if espec is not stable and not (attribute.name == 'network.transport' and espec.value == 'quic') %}
{% if espec is not stable %}
/**
* Enum value {{ espec.value | print_member_value }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) =>
{% endif %}
{% if attribute.type is mapping %}
{% for espec in attribute.type.members | sort(attribute='value') %}
{#- Grandfather NETWORK_TRANSPORT_VALUE_QUIC as stable until v1.34.0 is released. #}
{% if espec is stable or (attribute.name == 'network.transport' and espec.value == 'quic') %}
{% if espec is stable %}
/**
* Enum value {{ espec.value | print_member_value }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}.
*/
Expand Down
29 changes: 29 additions & 0 deletions semantic-conventions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,35 @@ All notable changes to the semantic-conventions package will be documented in th

### :rocket: Features

* feat: update semantic conventions to v1.34.0 [#5703](https://github.com/open-telemetry/opentelemetry-js/pull/5703) @trentm
* 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/)
* `@opentelemetry/semantic-conventions` (stable) changes: *none*
* `@opentelemetry/semantic-conventions/incubating` (unstable) changes: *12 added exports*

#### Unstable changes in v1.34.0

<details>
<summary>12 added exports</summary>

```js
ATTR_AWS_BEDROCK_GUARDRAIL_ID // aws.bedrock.guardrail.id
ATTR_AWS_BEDROCK_KNOWLEDGE_BASE_ID // aws.bedrock.knowledge_base.id
ATTR_AWS_KINESIS_STREAM_NAME // aws.kinesis.stream_name
ATTR_AWS_LAMBDA_RESOURCE_MAPPING_ID // aws.lambda.resource_mapping.id
ATTR_AWS_SECRETSMANAGER_SECRET_ARN // aws.secretsmanager.secret.arn
ATTR_AWS_SNS_TOPIC_ARN // aws.sns.topic.arn
ATTR_AWS_SQS_QUEUE_URL // aws.sqs.queue.url
ATTR_AWS_STEP_FUNCTIONS_ACTIVITY_ARN // aws.step_functions.activity.arn
ATTR_AWS_STEP_FUNCTIONS_STATE_MACHINE_ARN // aws.step_functions.state_machine.arn

ATTR_FEATURE_FLAG_RESULT_VALUE // feature_flag.result.value

ATTR_GEN_AI_CONVERSATION_ID // gen_ai.conversation.id
ATTR_GEN_AI_DATA_SOURCE_ID // gen_ai.data_source.id
```

</details>

### :bug: Bug Fixes

### :books: Documentation
Expand Down
Loading