Skip to content

Commit 5a75921

Browse files
authored
Merge branch 'main' into ah/TLP-1192/fix-duplication
2 parents 9a4fc6c + ff80677 commit 5a75921

File tree

53 files changed

+2184
-333
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+2184
-333
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [0.21.1](https://github.com/traceloop/openllmetry-js/compare/v0.21.0...v0.21.1) (2025-11-25)
7+
8+
### Bug Fixes
9+
10+
- **sdk:** remove posthog and telemetry reporting ([#835](https://github.com/traceloop/openllmetry-js/issues/835)) ([61b32f7](https://github.com/traceloop/openllmetry-js/commit/61b32f78c5f46854f35ed83f523259fdd4b3e66a))
11+
12+
# [0.21.0](https://github.com/traceloop/openllmetry-js/compare/v0.20.2...v0.21.0) (2025-11-24)
13+
14+
### Features
15+
16+
- **mcp:** add mcp official sdk instrumentation ([#829](https://github.com/traceloop/openllmetry-js/issues/829)) ([3d7b845](https://github.com/traceloop/openllmetry-js/commit/3d7b84509dfcd51116024a243c62e2100083be93))
17+
618
## [0.20.2](https://github.com/traceloop/openllmetry-js/compare/v0.20.1...v0.20.2) (2025-11-24)
719

820
### Bug Fixes

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,7 @@ OpenLLMetry-JS can instrument everything that [OpenTelemetry already instruments
130130

131131
## 🔎 Telemetry
132132

133-
The SDK provided with OpenLLMetry (not the instrumentations) contains a telemetry feature that collects **anonymous** usage information.
134-
135-
You can opt out of telemetry by setting the `TRACELOOP_TELEMETRY` environment variable to `FALSE`.
136-
137-
### Why we collect telemetry
138-
139-
- The primary purpose is to detect exceptions within instrumentations. Since LLM providers frequently update their APIs, this helps us quickly identify and fix any breaking changes.
140-
- We only collect anonymous data, with no personally identifiable information. You can view exactly what data we collect in our [Privacy documentation](https://www.traceloop.com/docs/openllmetry/privacy/telemetry).
141-
- Telemetry is only collected in the SDK. If you use the instrumentations directly without the SDK, no telemetry is collected.
133+
We no longer log or collect any telemetry in the SDK or in the instrumentations. Make sure to bump to v0.21.1 and above.
142134

143135
## 🌱 Contributing
144136

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "0.20.2",
3+
"version": "0.21.1",
44
"packages": ["packages/*"],
55
"useNx": true
66
}

packages/ai-semantic-conventions/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [0.21.0](https://github.com/traceloop/openllmetry-js/compare/v0.20.2...v0.21.0) (2025-11-24)
7+
8+
### Features
9+
10+
- **mcp:** add mcp official sdk instrumentation ([#829](https://github.com/traceloop/openllmetry-js/issues/829)) ([3d7b845](https://github.com/traceloop/openllmetry-js/commit/3d7b84509dfcd51116024a243c62e2100083be93))
11+
612
# [0.20.0](https://github.com/traceloop/openllmetry-js/compare/v0.19.1...v0.20.0) (2025-11-04)
713

814
### Bug Fixes

packages/ai-semantic-conventions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@traceloop/ai-semantic-conventions",
3-
"version": "0.20.0",
3+
"version": "0.21.0",
44
"description": "OpenTelemetry ai-specific semantic conventions",
55
"main": "dist/src/index.js",
66
"types": "dist/src/index.d.ts",

packages/ai-semantic-conventions/src/SemanticAttributes.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ export const SpanAttributes = {
6868
TRACELOOP_ASSOCIATION_PROPERTIES: "traceloop.association.properties",
6969
TRACELOOP_ENTITY_INPUT: "traceloop.entity.input",
7070
TRACELOOP_ENTITY_OUTPUT: "traceloop.entity.output",
71+
72+
// MCP (Model Context Protocol)
73+
MCP_RESPONSE_VALUE: "mcp.response.value",
74+
MCP_REQUEST_ID: "mcp.request.id",
7175
};
7276

7377
export const Events = {
@@ -125,5 +129,6 @@ export enum TraceloopSpanKindValues {
125129
TASK = "task",
126130
AGENT = "agent",
127131
TOOL = "tool",
132+
SESSION = "session",
128133
UNKNOWN = "unknown",
129134
}

packages/instrumentation-anthropic/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [0.21.0](https://github.com/traceloop/openllmetry-js/compare/v0.20.2...v0.21.0) (2025-11-24)
7+
8+
**Note:** Version bump only for package @traceloop/instrumentation-anthropic
9+
610
# [0.20.0](https://github.com/traceloop/openllmetry-js/compare/v0.19.1...v0.20.0) (2025-11-04)
711

812
**Note:** Version bump only for package @traceloop/instrumentation-anthropic

packages/instrumentation-anthropic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@traceloop/instrumentation-anthropic",
3-
"version": "0.20.0",
3+
"version": "0.21.0",
44
"description": "Anthropic Instrumentaion",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

packages/instrumentation-bedrock/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [0.21.0](https://github.com/traceloop/openllmetry-js/compare/v0.20.2...v0.21.0) (2025-11-24)
7+
8+
**Note:** Version bump only for package @traceloop/instrumentation-bedrock
9+
610
# [0.20.0](https://github.com/traceloop/openllmetry-js/compare/v0.19.1...v0.20.0) (2025-11-04)
711

812
**Note:** Version bump only for package @traceloop/instrumentation-bedrock

packages/instrumentation-bedrock/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@traceloop/instrumentation-bedrock",
3-
"version": "0.20.0",
3+
"version": "0.21.0",
44
"description": "Amazon Bedrock Instrumentation",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

0 commit comments

Comments
 (0)