Skip to content

Commit ba514c4

Browse files
committed
mark semconv values as const
1 parent 65d17d4 commit ba514c4

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

package-lock.json

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/node/opentelemetry-instrumentation-aws-sdk/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"dependencies": {
4747
"@opentelemetry/core": "^2.0.0",
4848
"@opentelemetry/instrumentation": "^0.202.0",
49-
"@opentelemetry/propagation-utils": "^0.31.2",
5049
"@opentelemetry/semantic-conventions": "^1.31.0"
5150
},
5251
"devDependencies": {

plugins/node/opentelemetry-instrumentation-aws-sdk/src/semconv.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,9 @@ export const GEN_AI_TOKEN_TYPE_VALUE_INPUT = 'input' as const;
160160
export const GEN_AI_TOKEN_TYPE_VALUE_OUTPUT = 'output' as const;
161161

162162
export const ATTR_MESSAGING_BATCH_MESSAGE_COUNT =
163-
'messaging.batch.message_count';
164-
export const ATTR_MESSAGING_DESTINATION_NAME = 'messaging.destination.name';
165-
export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id';
166-
export const ATTR_MESSAGING_OPERATION_TYPE = 'messaging.operation.type';
163+
'messaging.batch.message_count' as const;
164+
export const ATTR_MESSAGING_DESTINATION_NAME =
165+
'messaging.destination.name' as const;
166+
export const ATTR_MESSAGING_MESSAGE_ID = 'messaging.message.id' as const;
167+
export const ATTR_MESSAGING_OPERATION_TYPE =
168+
'messaging.operation.type' as const;

0 commit comments

Comments
 (0)