Skip to content

Commit 158c495

Browse files
committed
feat(instrumentation-bedrock): align GenAI semconv with OTel 1.40 and migrate Bedrock instrumentation
1 parent 0b94cce commit 158c495

File tree

14 files changed

+2317
-160
lines changed

14 files changed

+2317
-160
lines changed

packages/instrumentation-bedrock/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"build": "rollup -c",
1111
"lint": "eslint .",
1212
"lint:fix": "eslint . --fix",
13-
"test": "ts-mocha -p tsconfig.test.json 'tests/**/*.test.ts' --timeout 20000"
13+
"test": "ts-mocha -p tsconfig.test.json 'tests/**/*.test.ts' --timeout 20000",
14+
"test:unit": "ts-mocha -p tsconfig.test.json 'tests/semconv.test.ts' 'tests/finish_reasons.test.ts' 'tests/content_parts.test.ts' --timeout 20000"
1415
},
1516
"keywords": [
1617
"opentelemetry",
@@ -41,8 +42,9 @@
4142
"@opentelemetry/api": "^1.9.0",
4243
"@opentelemetry/core": "^2.0.1",
4344
"@opentelemetry/instrumentation": "^0.203.0",
44-
"@opentelemetry/semantic-conventions": "^1.38.0",
45+
"@opentelemetry/semantic-conventions": "^1.40.0",
4546
"@traceloop/ai-semantic-conventions": "workspace:*",
47+
"@traceloop/instrumentation-utils": "workspace:*",
4648
"tslib": "^2.8.1"
4749
},
4850
"devDependencies": {

0 commit comments

Comments
 (0)