diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f73b3e9..56c416e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.8.6](https://github.com/traceloop/openllmetry-js/compare/v0.8.5...v0.8.6) (2024-06-03) + +### Bug Fixes + +- remove sentry; lower noise for instrumentation errors ([#294](https://github.com/traceloop/openllmetry-js/issues/294)) ([c4e3782](https://github.com/traceloop/openllmetry-js/commit/c4e37829ee40983b29831cb68b0343f993f0a33a)) + ## [0.8.5](https://github.com/traceloop/openllmetry-js/compare/v0.8.4...v0.8.5) (2024-05-31) ### Bug Fixes diff --git a/lerna.json b/lerna.json index 1c6ebe94..a7cfeb13 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "0.8.5", + "version": "0.8.6", "packages": ["packages/*"], "useNx": true } diff --git a/package-lock.json b/package-lock.json index 3bc3114a..89921ab9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22519,7 +22519,7 @@ }, "packages/instrumentation-anthropic": { "name": "@traceloop/instrumentation-anthropic", - "version": "0.8.0", + "version": "0.8.6", "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "^1.22.0", @@ -22596,7 +22596,7 @@ }, "packages/instrumentation-azure": { "name": "@traceloop/instrumentation-azure", - "version": "0.8.0", + "version": "0.8.6", "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "^1.22.0", @@ -22646,7 +22646,7 @@ }, "packages/instrumentation-bedrock": { "name": "@traceloop/instrumentation-bedrock", - "version": "0.8.0", + "version": "0.8.6", "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "^1.22.0", @@ -22694,7 +22694,7 @@ }, "packages/instrumentation-chromadb": { "name": "@traceloop/instrumentation-chromadb", - "version": "0.8.1", + "version": "0.8.6", "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "^1.8.0", @@ -22743,7 +22743,7 @@ }, "packages/instrumentation-cohere": { "name": "@traceloop/instrumentation-cohere", - "version": "0.8.0", + "version": "0.8.6", "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "^1.22.0", @@ -22763,7 +22763,7 @@ }, "packages/instrumentation-langchain": { "name": "@traceloop/instrumentation-langchain", - "version": "0.8.0", + "version": "0.8.6", "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "^1.22.0", @@ -23402,7 +23402,7 @@ }, "packages/instrumentation-openai": { "name": "@traceloop/instrumentation-openai", - "version": "0.8.2", + "version": "0.8.6", "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "^1.22.0", @@ -23454,7 +23454,7 @@ }, "packages/instrumentation-pinecone": { "name": "@traceloop/instrumentation-pinecone", - "version": "0.8.3", + "version": "0.8.6", "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "^1.22.0", @@ -23502,7 +23502,7 @@ }, "packages/instrumentation-vertexai": { "name": "@traceloop/instrumentation-vertexai", - "version": "0.8.5", + "version": "0.8.6", "license": "Apache-2.0", "dependencies": { "@opentelemetry/core": "^1.22.0", @@ -24139,23 +24139,23 @@ }, "packages/traceloop-sdk": { "name": "@traceloop/node-server-sdk", - "version": "0.8.5", + "version": "0.8.6", "license": "Apache-2.0", "dependencies": { "@opentelemetry/exporter-trace-otlp-proto": "^0.49.1", "@opentelemetry/sdk-node": "^0.49.1", "@sentry/node": "^7.111.0", "@traceloop/ai-semantic-conventions": "^0.8.0", - "@traceloop/instrumentation-anthropic": "^0.8.0", - "@traceloop/instrumentation-azure": "^0.8.0", - "@traceloop/instrumentation-bedrock": "^0.8.0", - "@traceloop/instrumentation-chromadb": "^0.8.1", - "@traceloop/instrumentation-cohere": "^0.8.0", - "@traceloop/instrumentation-langchain": "^0.8.0", + "@traceloop/instrumentation-anthropic": "^0.8.6", + "@traceloop/instrumentation-azure": "^0.8.6", + "@traceloop/instrumentation-bedrock": "^0.8.6", + "@traceloop/instrumentation-chromadb": "^0.8.6", + "@traceloop/instrumentation-cohere": "^0.8.6", + "@traceloop/instrumentation-langchain": "^0.8.6", "@traceloop/instrumentation-llamaindex": "^0.8.0", - "@traceloop/instrumentation-openai": "^0.8.2", - "@traceloop/instrumentation-pinecone": "^0.8.3", - "@traceloop/instrumentation-vertexai": "^0.8.5", + "@traceloop/instrumentation-openai": "^0.8.6", + "@traceloop/instrumentation-pinecone": "^0.8.6", + "@traceloop/instrumentation-vertexai": "^0.8.6", "@types/nunjucks": "^3.2.5", "cross-fetch": "^4.0.0", "fetch-retry": "^5.0.6", diff --git a/packages/instrumentation-anthropic/CHANGELOG.md b/packages/instrumentation-anthropic/CHANGELOG.md index 14b6426a..a054d890 100644 --- a/packages/instrumentation-anthropic/CHANGELOG.md +++ b/packages/instrumentation-anthropic/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.8.6](https://github.com/traceloop/openllmetry-js/compare/v0.8.5...v0.8.6) (2024-06-03) + +### Bug Fixes + +- remove sentry; lower noise for instrumentation errors ([#294](https://github.com/traceloop/openllmetry-js/issues/294)) ([c4e3782](https://github.com/traceloop/openllmetry-js/commit/c4e37829ee40983b29831cb68b0343f993f0a33a)) + # [0.8.0](https://github.com/traceloop/openllmetry-js/compare/v0.7.0...v0.8.0) (2024-04-29) ### Features diff --git a/packages/instrumentation-anthropic/package.json b/packages/instrumentation-anthropic/package.json index 1c06d467..360edca6 100644 --- a/packages/instrumentation-anthropic/package.json +++ b/packages/instrumentation-anthropic/package.json @@ -1,6 +1,6 @@ { "name": "@traceloop/instrumentation-anthropic", - "version": "0.8.0", + "version": "0.8.6", "description": "Anthropic Instrumentaion", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/instrumentation-anthropic/src/instrumentation.ts b/packages/instrumentation-anthropic/src/instrumentation.ts index efe113cf..b0fec525 100644 --- a/packages/instrumentation-anthropic/src/instrumentation.ts +++ b/packages/instrumentation-anthropic/src/instrumentation.ts @@ -234,7 +234,7 @@ export class AnthropicInstrumentation extends InstrumentationBase { } } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } @@ -290,7 +290,7 @@ export class AnthropicInstrumentation extends InstrumentationBase { } } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } } @@ -321,7 +321,7 @@ export class AnthropicInstrumentation extends InstrumentationBase { result.completion += chunk.completion; } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } } @@ -425,7 +425,7 @@ export class AnthropicInstrumentation extends InstrumentationBase { } } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } diff --git a/packages/instrumentation-azure/CHANGELOG.md b/packages/instrumentation-azure/CHANGELOG.md index 972de508..c30b3914 100644 --- a/packages/instrumentation-azure/CHANGELOG.md +++ b/packages/instrumentation-azure/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.8.6](https://github.com/traceloop/openllmetry-js/compare/v0.8.5...v0.8.6) (2024-06-03) + +### Bug Fixes + +- remove sentry; lower noise for instrumentation errors ([#294](https://github.com/traceloop/openllmetry-js/issues/294)) ([c4e3782](https://github.com/traceloop/openllmetry-js/commit/c4e37829ee40983b29831cb68b0343f993f0a33a)) + # [0.8.0](https://github.com/traceloop/openllmetry-js/compare/v0.7.0...v0.8.0) (2024-04-29) ### Features diff --git a/packages/instrumentation-azure/package.json b/packages/instrumentation-azure/package.json index 56e98b58..aa4e1a4d 100644 --- a/packages/instrumentation-azure/package.json +++ b/packages/instrumentation-azure/package.json @@ -1,6 +1,6 @@ { "name": "@traceloop/instrumentation-azure", - "version": "0.8.0", + "version": "0.8.6", "description": "Azure OpenAI Instrumentaion", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/instrumentation-azure/src/instrumentation.ts b/packages/instrumentation-azure/src/instrumentation.ts index 177ea53e..572f5320 100644 --- a/packages/instrumentation-azure/src/instrumentation.ts +++ b/packages/instrumentation-azure/src/instrumentation.ts @@ -218,7 +218,7 @@ export class AzureOpenAIInstrumentation extends InstrumentationBase { } } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } @@ -349,7 +349,7 @@ export class AzureOpenAIInstrumentation extends InstrumentationBase { } } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } diff --git a/packages/instrumentation-bedrock/CHANGELOG.md b/packages/instrumentation-bedrock/CHANGELOG.md index fd4d6b64..91810f19 100644 --- a/packages/instrumentation-bedrock/CHANGELOG.md +++ b/packages/instrumentation-bedrock/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.8.6](https://github.com/traceloop/openllmetry-js/compare/v0.8.5...v0.8.6) (2024-06-03) + +### Bug Fixes + +- remove sentry; lower noise for instrumentation errors ([#294](https://github.com/traceloop/openllmetry-js/issues/294)) ([c4e3782](https://github.com/traceloop/openllmetry-js/commit/c4e37829ee40983b29831cb68b0343f993f0a33a)) + # [0.8.0](https://github.com/traceloop/openllmetry-js/compare/v0.7.0...v0.8.0) (2024-04-29) ### Features diff --git a/packages/instrumentation-bedrock/package.json b/packages/instrumentation-bedrock/package.json index 127fe3a0..5b41be3b 100644 --- a/packages/instrumentation-bedrock/package.json +++ b/packages/instrumentation-bedrock/package.json @@ -1,6 +1,6 @@ { "name": "@traceloop/instrumentation-bedrock", - "version": "0.8.0", + "version": "0.8.6", "description": "Amazon Bedrock Instrumentation", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/instrumentation-bedrock/src/instrumentation.ts b/packages/instrumentation-bedrock/src/instrumentation.ts index bd042918..b5565fc2 100644 --- a/packages/instrumentation-bedrock/src/instrumentation.ts +++ b/packages/instrumentation-bedrock/src/instrumentation.ts @@ -171,7 +171,7 @@ export class BedrockInstrumentation extends InstrumentationBase { }; } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } @@ -274,7 +274,7 @@ export class BedrockInstrumentation extends InstrumentationBase { } } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } diff --git a/packages/instrumentation-chromadb/CHANGELOG.md b/packages/instrumentation-chromadb/CHANGELOG.md index 63661362..f050ed53 100644 --- a/packages/instrumentation-chromadb/CHANGELOG.md +++ b/packages/instrumentation-chromadb/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.8.6](https://github.com/traceloop/openllmetry-js/compare/v0.8.5...v0.8.6) (2024-06-03) + +### Bug Fixes + +- remove sentry; lower noise for instrumentation errors ([#294](https://github.com/traceloop/openllmetry-js/issues/294)) ([c4e3782](https://github.com/traceloop/openllmetry-js/commit/c4e37829ee40983b29831cb68b0343f993f0a33a)) + ## [0.8.1](https://github.com/traceloop/openllmetry-js/compare/v0.8.0...v0.8.1) (2024-05-06) ### Bug Fixes diff --git a/packages/instrumentation-chromadb/package.json b/packages/instrumentation-chromadb/package.json index 1f66843a..98163fbe 100644 --- a/packages/instrumentation-chromadb/package.json +++ b/packages/instrumentation-chromadb/package.json @@ -1,6 +1,6 @@ { "name": "@traceloop/instrumentation-chromadb", - "version": "0.8.1", + "version": "0.8.6", "description": "ChromaDB Instrumentation", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", diff --git a/packages/instrumentation-chromadb/src/instrumentation.ts b/packages/instrumentation-chromadb/src/instrumentation.ts index 8ca3f1f2..be86ef9e 100644 --- a/packages/instrumentation-chromadb/src/instrumentation.ts +++ b/packages/instrumentation-chromadb/src/instrumentation.ts @@ -201,7 +201,7 @@ export class ChromaDBInstrumentation extends InstrumentationBase { } } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } @@ -341,7 +341,7 @@ export class ChromaDBInstrumentation extends InstrumentationBase { }); } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } diff --git a/packages/instrumentation-cohere/CHANGELOG.md b/packages/instrumentation-cohere/CHANGELOG.md index 2c426095..c927a526 100644 --- a/packages/instrumentation-cohere/CHANGELOG.md +++ b/packages/instrumentation-cohere/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.8.6](https://github.com/traceloop/openllmetry-js/compare/v0.8.5...v0.8.6) (2024-06-03) + +### Bug Fixes + +- remove sentry; lower noise for instrumentation errors ([#294](https://github.com/traceloop/openllmetry-js/issues/294)) ([c4e3782](https://github.com/traceloop/openllmetry-js/commit/c4e37829ee40983b29831cb68b0343f993f0a33a)) + # [0.8.0](https://github.com/traceloop/openllmetry-js/compare/v0.7.0...v0.8.0) (2024-04-29) ### Features diff --git a/packages/instrumentation-cohere/package.json b/packages/instrumentation-cohere/package.json index dccb7289..5cf96b76 100644 --- a/packages/instrumentation-cohere/package.json +++ b/packages/instrumentation-cohere/package.json @@ -1,6 +1,6 @@ { "name": "@traceloop/instrumentation-cohere", - "version": "0.8.0", + "version": "0.8.6", "description": "Cohere Instrumentation", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/instrumentation-cohere/src/instrumentation.ts b/packages/instrumentation-cohere/src/instrumentation.ts index c5836a9f..5a570a2b 100644 --- a/packages/instrumentation-cohere/src/instrumentation.ts +++ b/packages/instrumentation-cohere/src/instrumentation.ts @@ -267,7 +267,7 @@ export class CohereInstrumentation extends InstrumentationBase { } } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } @@ -388,7 +388,7 @@ export class CohereInstrumentation extends InstrumentationBase { } } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } } @@ -471,7 +471,7 @@ export class CohereInstrumentation extends InstrumentationBase { ); } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } } @@ -541,7 +541,7 @@ export class CohereInstrumentation extends InstrumentationBase { ); } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } } diff --git a/packages/instrumentation-langchain/CHANGELOG.md b/packages/instrumentation-langchain/CHANGELOG.md index 6037e6c6..8a045117 100644 --- a/packages/instrumentation-langchain/CHANGELOG.md +++ b/packages/instrumentation-langchain/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.8.6](https://github.com/traceloop/openllmetry-js/compare/v0.8.5...v0.8.6) (2024-06-03) + +### Bug Fixes + +- remove sentry; lower noise for instrumentation errors ([#294](https://github.com/traceloop/openllmetry-js/issues/294)) ([c4e3782](https://github.com/traceloop/openllmetry-js/commit/c4e37829ee40983b29831cb68b0343f993f0a33a)) + # [0.8.0](https://github.com/traceloop/openllmetry-js/compare/v0.7.0...v0.8.0) (2024-04-29) **Note:** Version bump only for package @traceloop/instrumentation-langchain diff --git a/packages/instrumentation-langchain/package.json b/packages/instrumentation-langchain/package.json index a6b672df..adafcac5 100644 --- a/packages/instrumentation-langchain/package.json +++ b/packages/instrumentation-langchain/package.json @@ -1,6 +1,6 @@ { "name": "@traceloop/instrumentation-langchain", - "version": "0.8.0", + "version": "0.8.6", "description": "OpenTelemetry instrumentation for LangchainJS", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/instrumentation-langchain/src/utils.ts b/packages/instrumentation-langchain/src/utils.ts index 1ea3348a..0ed7122a 100644 --- a/packages/instrumentation-langchain/src/utils.ts +++ b/packages/instrumentation-langchain/src/utils.ts @@ -42,7 +42,7 @@ export function genericWrapper( ); } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } } @@ -77,7 +77,7 @@ export function genericWrapper( } } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } finally { span.end(); diff --git a/packages/instrumentation-openai/CHANGELOG.md b/packages/instrumentation-openai/CHANGELOG.md index 28cd73fe..73b5d26e 100644 --- a/packages/instrumentation-openai/CHANGELOG.md +++ b/packages/instrumentation-openai/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.8.6](https://github.com/traceloop/openllmetry-js/compare/v0.8.5...v0.8.6) (2024-06-03) + +### Bug Fixes + +- remove sentry; lower noise for instrumentation errors ([#294](https://github.com/traceloop/openllmetry-js/issues/294)) ([c4e3782](https://github.com/traceloop/openllmetry-js/commit/c4e37829ee40983b29831cb68b0343f993f0a33a)) + ## [0.8.2](https://github.com/traceloop/openllmetry-js/compare/v0.8.1...v0.8.2) (2024-05-07) ### Bug Fixes diff --git a/packages/instrumentation-openai/package.json b/packages/instrumentation-openai/package.json index 29d8d148..58cbe01d 100644 --- a/packages/instrumentation-openai/package.json +++ b/packages/instrumentation-openai/package.json @@ -1,6 +1,6 @@ { "name": "@traceloop/instrumentation-openai", - "version": "0.8.2", + "version": "0.8.6", "description": "OpenAI Instrumentaion", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/instrumentation-openai/src/instrumentation.ts b/packages/instrumentation-openai/src/instrumentation.ts index 89e30591..170dc505 100644 --- a/packages/instrumentation-openai/src/instrumentation.ts +++ b/packages/instrumentation-openai/src/instrumentation.ts @@ -318,7 +318,7 @@ export class OpenAIInstrumentation extends InstrumentationBase { } } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } @@ -472,7 +472,7 @@ export class OpenAIInstrumentation extends InstrumentationBase { result.choices[0].text += chunk.choices[0].text; } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } } @@ -500,7 +500,7 @@ export class OpenAIInstrumentation extends InstrumentationBase { } } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } @@ -650,7 +650,7 @@ export class OpenAIInstrumentation extends InstrumentationBase { } } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } @@ -714,7 +714,7 @@ export class OpenAIInstrumentation extends InstrumentationBase { span.addEvent("logprobs", { logprobs: JSON.stringify(result) }); } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } } @@ -729,7 +729,7 @@ export class OpenAIInstrumentation extends InstrumentationBase { encoding = encodingForModel(model as TiktokenModel); this._encodingCache.set(model, encoding); } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); return 0; } diff --git a/packages/instrumentation-pinecone/CHANGELOG.md b/packages/instrumentation-pinecone/CHANGELOG.md index 3f7c51f4..99511fad 100644 --- a/packages/instrumentation-pinecone/CHANGELOG.md +++ b/packages/instrumentation-pinecone/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.8.6](https://github.com/traceloop/openllmetry-js/compare/v0.8.5...v0.8.6) (2024-06-03) + +### Bug Fixes + +- remove sentry; lower noise for instrumentation errors ([#294](https://github.com/traceloop/openllmetry-js/issues/294)) ([c4e3782](https://github.com/traceloop/openllmetry-js/commit/c4e37829ee40983b29831cb68b0343f993f0a33a)) + ## [0.8.3](https://github.com/traceloop/openllmetry-js/compare/v0.8.2...v0.8.3) (2024-05-16) **Note:** Version bump only for package @traceloop/instrumentation-pinecone diff --git a/packages/instrumentation-pinecone/package.json b/packages/instrumentation-pinecone/package.json index eaac41e4..44e7f0e0 100644 --- a/packages/instrumentation-pinecone/package.json +++ b/packages/instrumentation-pinecone/package.json @@ -1,6 +1,6 @@ { "name": "@traceloop/instrumentation-pinecone", - "version": "0.8.3", + "version": "0.8.6", "description": "OpenTelemetry instrumentation for pinecone vector DB", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/instrumentation-pinecone/src/instrumentation.ts b/packages/instrumentation-pinecone/src/instrumentation.ts index 74c853cb..fe1e50ed 100644 --- a/packages/instrumentation-pinecone/src/instrumentation.ts +++ b/packages/instrumentation-pinecone/src/instrumentation.ts @@ -178,7 +178,7 @@ export class PineconeInstrumentation extends InstrumentationBase { JSON.stringify(options.filter ? options.filter : {}), ); } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } @@ -268,7 +268,7 @@ export class PineconeInstrumentation extends InstrumentationBase { ); } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } span.end(); diff --git a/packages/instrumentation-vertexai/CHANGELOG.md b/packages/instrumentation-vertexai/CHANGELOG.md index 62f6fec3..0f8a8ef3 100644 --- a/packages/instrumentation-vertexai/CHANGELOG.md +++ b/packages/instrumentation-vertexai/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.8.6](https://github.com/traceloop/openllmetry-js/compare/v0.8.5...v0.8.6) (2024-06-03) + +### Bug Fixes + +- remove sentry; lower noise for instrumentation errors ([#294](https://github.com/traceloop/openllmetry-js/issues/294)) ([c4e3782](https://github.com/traceloop/openllmetry-js/commit/c4e37829ee40983b29831cb68b0343f993f0a33a)) + ## [0.8.5](https://github.com/traceloop/openllmetry-js/compare/v0.8.4...v0.8.5) (2024-05-31) ### Bug Fixes diff --git a/packages/instrumentation-vertexai/package.json b/packages/instrumentation-vertexai/package.json index c512b3cb..6ffabcf4 100644 --- a/packages/instrumentation-vertexai/package.json +++ b/packages/instrumentation-vertexai/package.json @@ -1,6 +1,6 @@ { "name": "@traceloop/instrumentation-vertexai", - "version": "0.8.5", + "version": "0.8.6", "description": "Google's VertexAI Instrumentation", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/packages/instrumentation-vertexai/src/aiplatform-instrumentation.ts b/packages/instrumentation-vertexai/src/aiplatform-instrumentation.ts index 3fcb5cb3..a625d840 100644 --- a/packages/instrumentation-vertexai/src/aiplatform-instrumentation.ts +++ b/packages/instrumentation-vertexai/src/aiplatform-instrumentation.ts @@ -216,7 +216,7 @@ export class AIPlatformInstrumentation extends InstrumentationBase { } } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } @@ -355,7 +355,7 @@ export class AIPlatformInstrumentation extends InstrumentationBase { } } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } diff --git a/packages/instrumentation-vertexai/src/vertexai-instrumentation.ts b/packages/instrumentation-vertexai/src/vertexai-instrumentation.ts index 3b118f79..a1f8c5ac 100644 --- a/packages/instrumentation-vertexai/src/vertexai-instrumentation.ts +++ b/packages/instrumentation-vertexai/src/vertexai-instrumentation.ts @@ -163,7 +163,7 @@ export class VertexAIInstrumentation extends InstrumentationBase { this._formatPartsData(params.contents[0].parts); } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } @@ -250,7 +250,7 @@ export class VertexAIInstrumentation extends InstrumentationBase { }); } } catch (e) { - this._diag.warn(e); + this._diag.debug(e); this._config.exceptionLogger?.(e); } diff --git a/packages/traceloop-sdk/CHANGELOG.md b/packages/traceloop-sdk/CHANGELOG.md index d6ac3266..43c07930 100644 --- a/packages/traceloop-sdk/CHANGELOG.md +++ b/packages/traceloop-sdk/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.8.6](https://github.com/traceloop/openllmetry-js/compare/v0.8.5...v0.8.6) (2024-06-03) + +### Bug Fixes + +- remove sentry; lower noise for instrumentation errors ([#294](https://github.com/traceloop/openllmetry-js/issues/294)) ([c4e3782](https://github.com/traceloop/openllmetry-js/commit/c4e37829ee40983b29831cb68b0343f993f0a33a)) + ## [0.8.5](https://github.com/traceloop/openllmetry-js/compare/v0.8.4...v0.8.5) (2024-05-31) ### Bug Fixes diff --git a/packages/traceloop-sdk/package.json b/packages/traceloop-sdk/package.json index 6eff2b07..fcc7c8a0 100644 --- a/packages/traceloop-sdk/package.json +++ b/packages/traceloop-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@traceloop/node-server-sdk", - "version": "0.8.5", + "version": "0.8.6", "description": "Traceloop Software Development Kit (SDK) for Node.js", "main": "dist/index.js", "module": "dist/index.mjs", @@ -39,16 +39,16 @@ "@opentelemetry/sdk-node": "^0.49.1", "@sentry/node": "^7.111.0", "@traceloop/ai-semantic-conventions": "^0.8.0", - "@traceloop/instrumentation-anthropic": "^0.8.0", - "@traceloop/instrumentation-azure": "^0.8.0", - "@traceloop/instrumentation-bedrock": "^0.8.0", - "@traceloop/instrumentation-chromadb": "^0.8.1", - "@traceloop/instrumentation-cohere": "^0.8.0", - "@traceloop/instrumentation-langchain": "^0.8.0", + "@traceloop/instrumentation-anthropic": "^0.8.6", + "@traceloop/instrumentation-azure": "^0.8.6", + "@traceloop/instrumentation-bedrock": "^0.8.6", + "@traceloop/instrumentation-chromadb": "^0.8.6", + "@traceloop/instrumentation-cohere": "^0.8.6", + "@traceloop/instrumentation-langchain": "^0.8.6", "@traceloop/instrumentation-llamaindex": "^0.8.0", - "@traceloop/instrumentation-openai": "^0.8.2", - "@traceloop/instrumentation-pinecone": "^0.8.3", - "@traceloop/instrumentation-vertexai": "^0.8.5", + "@traceloop/instrumentation-openai": "^0.8.6", + "@traceloop/instrumentation-pinecone": "^0.8.6", + "@traceloop/instrumentation-vertexai": "^0.8.6", "@types/nunjucks": "^3.2.5", "cross-fetch": "^4.0.0", "fetch-retry": "^5.0.6", diff --git a/packages/traceloop-sdk/src/lib/telemetry/telemetry.ts b/packages/traceloop-sdk/src/lib/telemetry/telemetry.ts index 67923273..14d95dc9 100644 --- a/packages/traceloop-sdk/src/lib/telemetry/telemetry.ts +++ b/packages/traceloop-sdk/src/lib/telemetry/telemetry.ts @@ -3,7 +3,6 @@ import * as fs from "fs"; import * as path from "path"; import { v4 as uuid } from "uuid"; import { PostHog } from "posthog-node"; -import * as Sentry from "@sentry/node"; import { version } from "../../../package.json"; export class Telemetry { @@ -32,10 +31,6 @@ export class Telemetry { this.posthog = new PostHog( "phc_JMTeAfG8OpaPsyHzSBtqquMvko1fmOHcW0gyqLCrF3t", ); - Sentry.init({ - dsn: "https://0cbbe354864172adc0fbd41621a7a541@o4505278734663680.ingest.us.sentry.io/4507114378166272", - defaultIntegrations: false, - }); } } @@ -85,7 +80,7 @@ export class Telemetry { public logException(error: Error) { if (this.telemetryEnabled) { - Sentry.captureException(error); + this.capture("error", { error: error.message, stack: error.stack || "" }); } } }