Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: traceloop/openllmetry-js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.7.0
Choose a base ref
...
head repository: traceloop/openllmetry-js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Loading
Showing with 35,183 additions and 18,025 deletions.
  1. +0 −43 .eslintrc.json
  2. +6 −0 .github/dependabot.yml
  3. +9 −2 .github/workflows/ci.yml
  4. +1 −1 .nvmrc
  5. +1 −0 .python-version
  6. +207 −0 CHANGELOG.md
  7. +16 −0 README.md
  8. +69 −0 eslint.config.cjs
  9. +1 −1 lerna.json
  10. +23,037 −14,430 package-lock.json
  11. +21 −18 package.json
  12. +0 −1 packages/ai-semantic-conventions/.eslintignore
  13. +0 −18 packages/ai-semantic-conventions/.eslintrc.json
  14. +40 −0 packages/ai-semantic-conventions/CHANGELOG.md
  15. +1 −1 packages/ai-semantic-conventions/README
  16. +29 −0 packages/ai-semantic-conventions/eslint.config.cjs
  17. +4 −4 packages/ai-semantic-conventions/package.json
  18. +23 −10 packages/ai-semantic-conventions/src/SemanticAttributes.ts
  19. +0 −1 packages/instrumentation-anthropic/.eslintignore
  20. +0 −18 packages/instrumentation-anthropic/.eslintrc.json
  21. +62 −0 packages/instrumentation-anthropic/CHANGELOG.md
  22. +29 −0 packages/instrumentation-anthropic/eslint.config.cjs
  23. +12 −9 packages/instrumentation-anthropic/package.json
  24. +58 −62 ...ation_3769946143/should-set-attributes-in-span-for-completions-streaming_2198009633/recording.har
  25. +55 −64 ...instrumentation_3769946143/should-set-attributes-in-span-for-completions_1224394582/recording.har
  26. +109 −66 ...umentation_3769946143/should-set-attributes-in-span-for-messages-streaming_44400664/recording.har
  27. +103 −64 ...pic-instrumentation_3769946143/should-set-attributes-in-span-for-messages_831758903/recording.har
  28. +0 −1 packages/instrumentation-anthropic/rollup.config.js
  29. +183 −123 packages/instrumentation-anthropic/src/instrumentation.ts
  30. +66 −58 packages/instrumentation-anthropic/test/instrumentation.test.ts
  31. +0 −1 packages/instrumentation-azure/.eslintignore
  32. +0 −18 packages/instrumentation-azure/.eslintrc.json
  33. +56 −0 packages/instrumentation-azure/CHANGELOG.md
  34. +29 −0 packages/instrumentation-azure/eslint.config.cjs
  35. +11 −9 packages/instrumentation-azure/package.json
  36. +30 −22 ...OpenAI-instrumentation_1770406427/should-set-attributes-in-span-for-chat_1427850401/recording.har
  37. +0 −1 packages/instrumentation-azure/rollup.config.js
  38. +58 −31 packages/instrumentation-azure/src/instrumentation.ts
  39. +0 −1 packages/instrumentation-bedrock/.eslintignore
  40. +0 −18 packages/instrumentation-bedrock/.eslintrc.json
  41. +56 −0 packages/instrumentation-bedrock/CHANGELOG.md
  42. +29 −0 packages/instrumentation-bedrock/eslint.config.cjs
  43. +10 −8 packages/instrumentation-bedrock/package.json
  44. +0 −1 packages/instrumentation-bedrock/rollup.config.js
  45. +26 −25 packages/instrumentation-bedrock/src/instrumentation.ts
  46. +6 −3 packages/instrumentation-bedrock/tests/ai21.test.ts
  47. +6 −6 packages/instrumentation-bedrock/tests/amazon.test.ts
  48. +12 −6 packages/instrumentation-bedrock/tests/anthropic.test.ts
  49. +9 −6 packages/instrumentation-bedrock/tests/cohere.test.ts
  50. +12 −6 packages/instrumentation-bedrock/tests/meta.test.ts
  51. +0 −1 packages/instrumentation-chromadb/.eslintignore
  52. +0 −18 packages/instrumentation-chromadb/.eslintrc.json
  53. +66 −0 packages/instrumentation-chromadb/CHANGELOG.md
  54. +29 −0 packages/instrumentation-chromadb/eslint.config.cjs
  55. +12 −9 packages/instrumentation-chromadb/package.json
  56. +36 −0 packages/instrumentation-chromadb/rollup.config.js
  57. +279 −279 packages/instrumentation-chromadb/src/instrumentation.ts
  58. +410 −425 packages/instrumentation-chromadb/tests/instrumentation.test.ts
  59. +0 −1 packages/instrumentation-cohere/.eslintignore
  60. +0 −18 packages/instrumentation-cohere/.eslintrc.json
  61. +56 −0 packages/instrumentation-cohere/CHANGELOG.md
  62. +29 −0 packages/instrumentation-cohere/eslint.config.cjs
  63. +10 −8 packages/instrumentation-cohere/package.json
  64. +0 −1 packages/instrumentation-cohere/rollup.config.js
  65. +22 −18 packages/instrumentation-cohere/src/instrumentation.ts
  66. +6 −6 packages/instrumentation-cohere/tests/chat.test.ts
  67. +6 −6 packages/instrumentation-cohere/tests/generate.test.ts
  68. +1 −1 packages/instrumentation-cohere/tests/rerank.test.ts
  69. +0 −2 packages/instrumentation-langchain/.eslintignore
  70. +0 −18 packages/instrumentation-langchain/.eslintrc.json
  71. +60 −0 packages/instrumentation-langchain/CHANGELOG.md
  72. +29 −0 packages/instrumentation-langchain/eslint.config.cjs
  73. +14 −13 packages/instrumentation-langchain/package.json
  74. +70 −88 ...ation_2353722718/should-set-attributes-in-span-for-agent-instrumentation_1316891278/recording.har
  75. +0 −1 packages/instrumentation-langchain/rollup.config.js
  76. +87 −10 packages/instrumentation-langchain/src/instrumentation.ts
  77. +4 −4 packages/instrumentation-langchain/src/utils.ts
  78. +146 −136 packages/instrumentation-langchain/test/instrumentation.test.ts
  79. +0 −2 packages/instrumentation-llamaindex/.eslintignore
  80. +0 −18 packages/instrumentation-llamaindex/.eslintrc.json
  81. +50 −0 packages/instrumentation-llamaindex/CHANGELOG.md
  82. +29 −0 packages/instrumentation-llamaindex/eslint.config.cjs
  83. +12 −10 packages/instrumentation-llamaindex/package.json
  84. +128 −101 ...-instrumentation_1988279490/should-add-span-for-all-instrumented-methods_2883459899/recording.har
  85. +137 −110 ...mentation_1988279490/should-build-proper-trace-on-streaming-query-engine_2069720152/recording.har
  86. +0 −239 ...-attributes-in-span-for-LLM-instrumentation-in-case-of-streaming-response_839546077/recording.har
  87. +0 −1 packages/instrumentation-llamaindex/rollup.config.js
  88. +34 −11 packages/instrumentation-llamaindex/src/custom-llm-instrumentation.ts
  89. +16 −4 packages/instrumentation-llamaindex/src/instrumentation.ts
  90. +1 −1 packages/instrumentation-llamaindex/src/utils.ts
  91. 0 packages/instrumentation-llamaindex/test/{ → data}/essay.txt
  92. +41 −113 packages/instrumentation-llamaindex/test/instrumentation.test.ts
  93. +0 −1 packages/instrumentation-openai/.eslintignore
  94. +0 −18 packages/instrumentation-openai/.eslintrc.json
  95. +74 −0 packages/instrumentation-openai/CHANGELOG.md
  96. +29 −0 packages/instrumentation-openai/eslint.config.cjs
  97. +13 −11 packages/instrumentation-openai/package.json
  98. +231 −0 ...on_call-attributes-in-span-for-stream-completion-when-multiple-tools-cal_2278551756/recording.har
  99. +0 −1 packages/instrumentation-openai/rollup.config.js
  100. +112 −105 packages/instrumentation-openai/src/instrumentation.ts
  101. +99 −2 packages/instrumentation-openai/test/instrumentation.test.ts
  102. +0 −1 packages/instrumentation-pinecone/.eslintignore
  103. +0 −18 packages/instrumentation-pinecone/.eslintrc.json
  104. +58 −0 packages/instrumentation-pinecone/CHANGELOG.md
  105. +29 −0 packages/instrumentation-pinecone/eslint.config.cjs
  106. +10 −8 packages/instrumentation-pinecone/package.json
  107. +480 −0 ...-instrumentation_3324481504/should-set-attributes-in-span-for-DB-deletes_1246828897/recording.har
  108. +91 −85 ...one-instrumentation_3324481504/should-set-attributes-in-span-for-DB-query_413889577/recording.har
  109. +64 −145 ...e-instrumentation_3324481504/should-set-attributes-in-span-for-DB-upsert_1383174072/recording.har
  110. +0 −1 packages/instrumentation-pinecone/rollup.config.js
  111. +7 −7 packages/instrumentation-pinecone/src/instrumentation.ts
  112. +87 −61 packages/instrumentation-pinecone/test/instrumentation.test.ts
  113. +2 −0 packages/instrumentation-qdrant/.prettierignore
  114. +46 −0 packages/instrumentation-qdrant/CHANGELOG.md
  115. +53 −0 packages/instrumentation-qdrant/README.md
  116. +29 −0 packages/instrumentation-qdrant/eslint.config.cjs
  117. +55 −0 packages/instrumentation-qdrant/package.json
  118. +36 −0 packages/instrumentation-qdrant/rollup.config.js
  119. +18 −0 packages/instrumentation-qdrant/src/index.ts
  120. +355 −0 packages/instrumentation-qdrant/src/instrumentation.ts
  121. +14 −0 packages/instrumentation-qdrant/src/types.ts
  122. +187 −0 packages/instrumentation-qdrant/tests/instrumentation.test.ts
  123. +10 −0 packages/instrumentation-qdrant/tsconfig.json
  124. +2 −0 packages/instrumentation-together/.prettierignore
  125. +12 −0 packages/instrumentation-together/CHANGELOG.md
  126. +53 −0 packages/instrumentation-together/README.md
  127. +29 −0 packages/instrumentation-together/eslint.config.cjs
  128. +58 −0 packages/instrumentation-together/package.json
  129. +227 −0 ...ogether-instrumentation_114631371/should-set-attributes-in-span-for-chat_1427850401/recording.har
  130. +227 −0 ...er-instrumentation_114631371/should-set-attributes-in-span-for-completion_322013537/recording.har
  131. +227 −0 ...rumentation_114631371/should-set-attributes-in-span-for-function-calling_1703714575/recording.har
  132. +218 −0 ...instrumentation_114631371/should-set-attributes-in-span-for-streaming-chat_72904453/recording.har
  133. +218 −0 ...ntation_114631371/should-set-attributes-in-span-for-streaming-completion_1484001317/recording.har
  134. +227 −0 ...instrumentation_114631371/should-set-attributes-in-span-for-tool-calling_1747151373/recording.har
  135. +218 −0 ...on_call-attributes-in-span-for-stream-completion-when-multiple-tools-cal_2278551756/recording.har
  136. +36 −0 packages/instrumentation-together/rollup.config.js
  137. +17 −0 packages/instrumentation-together/src/index.ts
  138. +592 −0 packages/instrumentation-together/src/instrumentation.ts
  139. +20 −0 packages/instrumentation-together/src/types.ts
  140. +590 −0 packages/instrumentation-together/test/instrumentation.test.ts
  141. +10 −0 packages/instrumentation-together/tsconfig.json
  142. +0 −1 packages/instrumentation-vertexai/.eslintignore
  143. +0 −18 packages/instrumentation-vertexai/.eslintrc.json
  144. +68 −0 packages/instrumentation-vertexai/CHANGELOG.md
  145. +29 −0 packages/instrumentation-vertexai/eslint.config.cjs
  146. +11 −9 packages/instrumentation-vertexai/package.json
  147. +0 −1 packages/instrumentation-vertexai/rollup.config.js
  148. +10 −10 packages/instrumentation-vertexai/src/aiplatform-instrumentation.ts
  149. +68 −92 packages/instrumentation-vertexai/src/vertexai-instrumentation.ts
  150. +28 −34 packages/instrumentation-vertexai/tests/gemini.test.ts
  151. +16 −16 packages/instrumentation-vertexai/tests/palm2.test.ts
  152. +0 −1 packages/sample-app/.eslintignore
  153. +0 −18 packages/sample-app/.eslintrc.json
  154. +29 −0 packages/sample-app/eslint.config.cjs
  155. +25 −14 packages/sample-app/package.json
  156. +104 −104 packages/sample-app/src/sample_chromadb.ts
  157. +133 −133 packages/sample-app/src/sample_chromadb_real_example.ts
  158. +13 −1 packages/sample-app/src/sample_decorators.ts
  159. +1 −1 packages/sample-app/src/sample_langchain.ts
  160. +21 −0 packages/sample-app/src/sample_langchain_bedrock.ts
  161. +79 −0 packages/sample-app/src/sample_llama_index_openai_agent.ts
  162. +32 −0 packages/sample-app/src/sample_openai_streaming.ts
  163. +76 −0 packages/sample-app/src/sample_otel_sdk.ts
  164. +37 −0 packages/sample-app/src/sample_structured_output.ts
  165. +26 −0 packages/sample-app/src/sample_vercel_ai.ts
  166. +12 −10 packages/sample-app/src/vertexai/gemini.ts
  167. +0 −2 packages/traceloop-sdk/.eslintignore
  168. +0 −18 packages/traceloop-sdk/.eslintrc.json
  169. +187 −0 packages/traceloop-sdk/CHANGELOG.md
  170. +29 −0 packages/traceloop-sdk/eslint.config.cjs
  171. +37 −33 packages/traceloop-sdk/package.json
  172. +23 −35 ...-Decorators_847855269/should-create-spans-for-manual-LLM-instrumentation_981493419}/recording.har
  173. +236 −0 ...47855269/should-create-workflow-and-tasks-spans-with-chained-entity-names_971051426/recording.har
  174. +168 −0 ...orators_847855269/should-fix-Vercel-AI-spans-to-match-OpenLLMetry-format_2061519753/recording.har
  175. +236 −0 ...ings/Test-SDK-Decorators_847855269/should-not-create-spans-if-suppressed_3154458667/recording.har
  176. +450 −0 ...69/should-not-mix-association-properties-for-traces-that-run-in-parallel_4012223284/recording.har
  177. +232 −0 ...trumentations_53777088/should-create-spans-for-manual-LLM-instrumentation_981493419/recording.har
  178. +0 −1 packages/traceloop-sdk/rollup.config.js
  179. +37 −0 packages/traceloop-sdk/src/lib/client/annotation/base-annotation.ts
  180. +37 −0 packages/traceloop-sdk/src/lib/client/annotation/user-feedback.ts
  181. +51 −0 packages/traceloop-sdk/src/lib/client/traceloop-client.ts
  182. +60 −15 packages/traceloop-sdk/src/lib/configuration/index.ts
  183. +38 −0 packages/traceloop-sdk/src/lib/interfaces/annotations.interface.ts
  184. +8 −0 packages/traceloop-sdk/src/lib/interfaces/index.ts
  185. +45 −8 packages/traceloop-sdk/src/lib/interfaces/initialize-options.interface.ts
  186. +5 −0 packages/traceloop-sdk/src/lib/interfaces/traceloop-client.interface.ts
  187. +9 −3 packages/traceloop-sdk/src/lib/node-server-sdk.ts
  188. +1 −1 packages/traceloop-sdk/src/lib/prompts/fetch.ts
  189. +1 −6 packages/traceloop-sdk/src/lib/telemetry/telemetry.ts
  190. +27 −0 packages/traceloop-sdk/src/lib/tracing/custom-metric.ts
  191. +91 −28 packages/traceloop-sdk/src/lib/tracing/decorators.ts
  192. +66 −56 packages/traceloop-sdk/src/lib/tracing/index.ts
  193. +110 −6 packages/traceloop-sdk/src/lib/tracing/manual.ts
  194. +0 −43 packages/traceloop-sdk/src/lib/tracing/score.ts
  195. +237 −0 packages/traceloop-sdk/src/lib/tracing/span-processor.ts
  196. +9 −1 packages/traceloop-sdk/src/lib/tracing/tracing.ts
  197. +327 −12 packages/traceloop-sdk/test/decorators.test.ts
  198. +126 −0 packages/traceloop-sdk/test/user-feedback.test.ts
43 changes: 0 additions & 43 deletions .eslintrc.json

This file was deleted.

6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -46,6 +46,12 @@ updates:
interval: "weekly"
labels:
- "instrumentation-pinecone"
- package-ecosystem: "npm"
directory: "/packages/instrumentation-qdrant"
schedule:
interval: "weekly"
labels:
- "instrumentation-qdrant"
- package-ecosystem: "npm"
directory: "/packages/instrumentation-vertexai"
schedule:
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -28,6 +28,15 @@ jobs:
build-and-test:
name: Build and test
runs-on: ubuntu-latest
services:
qdrant:
image: qdrant/qdrant
ports:
- 6333:6333
chroma:
image: chromadb/chroma
ports:
- 8000:8000
permissions:
contents: "read"
id-token: "write"
@@ -42,8 +51,6 @@ jobs:
cache: "npm"
node-version-file: ".nvmrc"

- run: pip3 install chromadb

- uses: nrwl/nx-set-shas@v3
- run: npm ci
- name: Build
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.10.13
207 changes: 207 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,213 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.13.4](https://github.com/traceloop/openllmetry-js/compare/v0.13.3...v0.13.4) (2025-06-10)

### Bug Fixes

- **anthropic:** upgrade supported version of anthropic SDK ([#604](https://github.com/traceloop/openllmetry-js/issues/604)) ([1ac8678](https://github.com/traceloop/openllmetry-js/commit/1ac8678b269c080eaaa6766e11bac4ace633f3b1))

## [0.13.3](https://github.com/traceloop/openllmetry-js/compare/v0.13.2...v0.13.3) (2025-04-29)

### Bug Fixes

- **tracing:** otel log level setup only for non-standalone processor ([#600](https://github.com/traceloop/openllmetry-js/issues/600)) ([f2e432f](https://github.com/traceloop/openllmetry-js/commit/f2e432f8ce15198ea6982b5107b465a9ab0f8c34))

## [0.13.2](https://github.com/traceloop/openllmetry-js/compare/v0.13.1...v0.13.2) (2025-04-27)

### Bug Fixes

- **tracing:** introduce tracingEnabled option to support sdk initialization for standalone processor ([#599](https://github.com/traceloop/openllmetry-js/issues/599)) ([1fa682e](https://github.com/traceloop/openllmetry-js/commit/1fa682e89cdb232388efef8d265c67396f539293))

## [0.13.1](https://github.com/traceloop/openllmetry-js/compare/v0.13.0...v0.13.1) (2025-04-24)

### Bug Fixes

- **traceloop-sdk:** omit spans of non-traceloop instrumentations by default when using standalone processor ([#598](https://github.com/traceloop/openllmetry-js/issues/598)) ([c6b40a0](https://github.com/traceloop/openllmetry-js/commit/c6b40a0e3ad5fe4a40dddf01b03bce20d94bf46b))

# [0.13.0](https://github.com/traceloop/openllmetry-js/compare/v0.12.2...v0.13.0) (2025-04-22)

### Features

- **traceloop-sdk:** standalone span processor ([#596](https://github.com/traceloop/openllmetry-js/issues/596)) ([05a6326](https://github.com/traceloop/openllmetry-js/commit/05a632687296e8e4bd3cc2621a9403e483f5f729))

## [0.12.2](https://github.com/traceloop/openllmetry-js/compare/v0.12.1...v0.12.2) (2025-03-12)

### Bug Fixes

- **sdk:** headers as an argument in initialization ([#569](https://github.com/traceloop/openllmetry-js/issues/569)) ([7aec655](https://github.com/traceloop/openllmetry-js/commit/7aec65515256ae9fa0fae44d03bc9059eeb3adcc))

## [0.12.1](https://github.com/traceloop/openllmetry-js/compare/v0.12.0...v0.12.1) (2025-02-20)

**Note:** Version bump only for package openllmetry-js

# [0.12.0](https://github.com/traceloop/openllmetry-js/compare/v0.11.7...v0.12.0) (2025-01-13)

### Features

- **sdk:** client, annotations ([#498](https://github.com/traceloop/openllmetry-js/issues/498)) ([6e4192e](https://github.com/traceloop/openllmetry-js/commit/6e4192ebb69ec5f3e65cef9aa3c91a5251ab1ab2))

## [0.11.7](https://github.com/traceloop/openllmetry-js/compare/v0.11.6...v0.11.7) (2024-12-20)

### Bug Fixes

- **sdk:** patch span attributes for vercel AI users ([#478](https://github.com/traceloop/openllmetry-js/issues/478)) ([33eca03](https://github.com/traceloop/openllmetry-js/commit/33eca033db8bf2ab65718d29b0105b71cd569c36))

## [0.11.6](https://github.com/traceloop/openllmetry-js/compare/v0.11.5...v0.11.6) (2024-12-16)

### Bug Fixes

- **deps:** major, minor and various instrumentation fixes ([0f18865](https://github.com/traceloop/openllmetry-js/commit/0f18865c4270c918f6c0b1bec701dc947353a213))

## [0.11.5](https://github.com/traceloop/openllmetry-js/compare/v0.11.4...v0.11.5) (2024-12-11)

### Bug Fixes

- **openai:** structured output promise unwrapping exception ([#474](https://github.com/traceloop/openllmetry-js/issues/474)) ([546fd9e](https://github.com/traceloop/openllmetry-js/commit/546fd9e6d05eef98a5db7726e3bce267ab57da18))

## [0.11.4](https://github.com/traceloop/openllmetry-js/compare/v0.11.3...v0.11.4) (2024-11-13)

### Bug Fixes

- **langchain:** return exports in langchain runnables module patch ([#470](https://github.com/traceloop/openllmetry-js/issues/470)) ([23fdb28](https://github.com/traceloop/openllmetry-js/commit/23fdb28ab5d7d70a963559b26aae31dde8347082))
- **vertex-ai:** missing system prompt ([#473](https://github.com/traceloop/openllmetry-js/issues/473)) ([663e438](https://github.com/traceloop/openllmetry-js/commit/663e438c5bce18b8fa20c16b7f6d53355bb7b7f9))

## [0.11.3](https://github.com/traceloop/openllmetry-js/compare/v0.11.2...v0.11.3) (2024-10-16)

### Bug Fixes

- **openai:** streaming tool_call + logging multiple tool_call ([#463](https://github.com/traceloop/openllmetry-js/issues/463)) ([5d5de09](https://github.com/traceloop/openllmetry-js/commit/5d5de09e6d32c36a2775ca36cbb14a18fd22f98d))

## [0.11.2](https://github.com/traceloop/openllmetry-js/compare/v0.11.1...v0.11.2) (2024-09-10)

### Bug Fixes

- **sdk:** support custom metrics ([#446](https://github.com/traceloop/openllmetry-js/issues/446)) ([7c77047](https://github.com/traceloop/openllmetry-js/commit/7c770478de41ac5fb934abf7cdeef2abf9c4e018))

## [0.11.1](https://github.com/traceloop/openllmetry-js/compare/v0.11.0...v0.11.1) (2024-08-31)

### Bug Fixes

- **langchain:** instrument vector DB calls ([#440](https://github.com/traceloop/openllmetry-js/issues/440)) ([c129aae](https://github.com/traceloop/openllmetry-js/commit/c129aaec241b4a87f931c2da0774fed96c5c8068))

# [0.11.0](https://github.com/traceloop/openllmetry-js/compare/v0.10.0...v0.11.0) (2024-08-27)

### Bug Fixes

- include dist .mjs for packages with modules declared ([#425](https://github.com/traceloop/openllmetry-js/issues/425)) ([4a7ec33](https://github.com/traceloop/openllmetry-js/commit/4a7ec33ca5de6a1ad4ba6364bcff4fff8cb2b664))
- **sdk:** use headers from env if available ([#435](https://github.com/traceloop/openllmetry-js/issues/435)) ([31aa015](https://github.com/traceloop/openllmetry-js/commit/31aa015505e9a3e26be1cfaafa34a218aad15499))

### Features

- **instrumentation-chromadb,instrumentation-qdrant:** add esm exports ([#428](https://github.com/traceloop/openllmetry-js/issues/428)) ([dfd418b](https://github.com/traceloop/openllmetry-js/commit/dfd418be6d836a53bb339dda439b1875f79389dd))

# [0.10.0](https://github.com/traceloop/openllmetry-js/compare/v0.9.5...v0.10.0) (2024-08-01)

### Features

- introduce traceloop.entity.path instead of traceloop.entity.name chaining ([#393](https://github.com/traceloop/openllmetry-js/issues/393)) ([207f9fe](https://github.com/traceloop/openllmetry-js/commit/207f9fe552cccad23f483ac106833e23186581e7))

## [0.9.5](https://github.com/traceloop/openllmetry-js/compare/v0.9.4...v0.9.5) (2024-07-30)

### Bug Fixes

- **sdk:** option to suppress instrumentations ([#392](https://github.com/traceloop/openllmetry-js/issues/392)) ([d6ccf0d](https://github.com/traceloop/openllmetry-js/commit/d6ccf0d1633255499c06521dca179bec2deb9bbd))

## [0.9.4](https://github.com/traceloop/openllmetry-js/compare/v0.9.3...v0.9.4) (2024-07-28)

### Bug Fixes

- **sdk:** properly initialize token enrich value for instrumentations ([#384](https://github.com/traceloop/openllmetry-js/issues/384)) ([143bc66](https://github.com/traceloop/openllmetry-js/commit/143bc6671447299824d5cf1d4b4da4eea417d6f4))

## [0.9.3](https://github.com/traceloop/openllmetry-js/compare/v0.9.2...v0.9.3) (2024-07-25)

**Note:** Version bump only for package openllmetry-js

## [0.9.2](https://github.com/traceloop/openllmetry-js/compare/v0.9.1...v0.9.2) (2024-07-17)

### Bug Fixes

- added missing tslib dependency ([#369](https://github.com/traceloop/openllmetry-js/issues/369)) ([b20145d](https://github.com/traceloop/openllmetry-js/commit/b20145d13b391737febb5b57e4bc8c66b0f32b95))

## [0.9.1](https://github.com/traceloop/openllmetry-js/compare/v0.9.0...v0.9.1) (2024-07-10)

### Bug Fixes

- **sdk:** support parameters needed by Sentry SDK ([#360](https://github.com/traceloop/openllmetry-js/issues/360)) ([b1f195c](https://github.com/traceloop/openllmetry-js/commit/b1f195cb56106649347bea0de684c2355cdcb2a1))

# [0.9.0](https://github.com/traceloop/openllmetry-js/compare/v0.8.9...v0.9.0) (2024-07-04)

### Bug Fixes

- **sdk:** option to silence initialization message ([#343](https://github.com/traceloop/openllmetry-js/issues/343)) ([75c68ce](https://github.com/traceloop/openllmetry-js/commit/75c68ceb09dec3766f30ed413bdeee637e1734a6))
- **sdk:** versions on workflows & tasks ([#353](https://github.com/traceloop/openllmetry-js/issues/353)) ([eb6211f](https://github.com/traceloop/openllmetry-js/commit/eb6211f5cc9a2930c6bff1d9ffe3cb995eaf6669))

### Features

- Qdrant instrumentation ([#278](https://github.com/traceloop/openllmetry-js/issues/278)) ([3b8224f](https://github.com/traceloop/openllmetry-js/commit/3b8224fac062b6da3f84311569a5ffcc2e3b8744))

## [0.8.9](https://github.com/traceloop/openllmetry-js/compare/v0.8.8...v0.8.9) (2024-06-17)

### Bug Fixes

- **sdk:** run workflows in parallel with different association proper… ([#329](https://github.com/traceloop/openllmetry-js/issues/329)) ([9a8f84c](https://github.com/traceloop/openllmetry-js/commit/9a8f84c3659558b88d2148a796cb3c72e3f883d1))

## [0.8.8](https://github.com/traceloop/openllmetry-js/compare/v0.8.7...v0.8.8) (2024-06-16)

### Bug Fixes

- **sdk:** serialization of Map in sub-objects of inputs and outputs ([#323](https://github.com/traceloop/openllmetry-js/issues/323)) ([49b032a](https://github.com/traceloop/openllmetry-js/commit/49b032af74d4d5dd6d79654e6ffc0b15f50fb983))

## [0.8.7](https://github.com/traceloop/openllmetry-js/compare/v0.8.6...v0.8.7) (2024-06-12)

### Bug Fixes

- **sdk:** propagate association properties within a workflow ([#318](https://github.com/traceloop/openllmetry-js/issues/318)) ([3e530bc](https://github.com/traceloop/openllmetry-js/commit/3e530bcd3f1892a2f4c5e89c59609a117742b358))

## [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

- **vertex:** support v1.2.0 ([#290](https://github.com/traceloop/openllmetry-js/issues/290)) ([e62c9b4](https://github.com/traceloop/openllmetry-js/commit/e62c9b420881b69971d3ee910c5d3f613df3be50))

## [0.8.4](https://github.com/traceloop/openllmetry-js/compare/v0.8.3...v0.8.4) (2024-05-20)

### Bug Fixes

- **manual-tracing:** add missing llm.request.type attribute ([#269](https://github.com/traceloop/openllmetry-js/issues/269)) ([528c498](https://github.com/traceloop/openllmetry-js/commit/528c49850fb2a9b87cea92466b87aa6b0681d285))
- **sdk:** serialize map outputs for non-promise outputs ([#276](https://github.com/traceloop/openllmetry-js/issues/276)) ([b4a8948](https://github.com/traceloop/openllmetry-js/commit/b4a8948314e413bbbee47c9f8d8698d98634ff18))
- **sdk:** used wrong completion attribute in manual instrumentations ([#277](https://github.com/traceloop/openllmetry-js/issues/277)) ([b434f61](https://github.com/traceloop/openllmetry-js/commit/b434f61dd55da9967738bf4aa6110e1816a730e0))

## [0.8.3](https://github.com/traceloop/openllmetry-js/compare/v0.8.2...v0.8.3) (2024-05-16)

### Bug Fixes

- **sdk:** api for manual logging of LLM calls ([#264](https://github.com/traceloop/openllmetry-js/issues/264)) ([500097c](https://github.com/traceloop/openllmetry-js/commit/500097cb3534ccafef9c50d93d94f6606cd75016))

## [0.8.2](https://github.com/traceloop/openllmetry-js/compare/v0.8.1...v0.8.2) (2024-05-07)

### Bug Fixes

- **openai:** switched to pure js tiktoken ([#248](https://github.com/traceloop/openllmetry-js/issues/248)) ([9d8805e](https://github.com/traceloop/openllmetry-js/commit/9d8805e20e7814ddf7aefbcd31ecb8c7f928b742))

## [0.8.1](https://github.com/traceloop/openllmetry-js/compare/v0.8.0...v0.8.1) (2024-05-06)

### Bug Fixes

- **chromadb:** use rollup ([#247](https://github.com/traceloop/openllmetry-js/issues/247)) ([b7566bf](https://github.com/traceloop/openllmetry-js/commit/b7566bf0057c2150b33d4302740e4dd0b40e6a11))

# [0.8.0](https://github.com/traceloop/openllmetry-js/compare/v0.7.0...v0.8.0) (2024-04-29)

### Features

- v1 of otel semantic conventions ([#232](https://github.com/traceloop/openllmetry-js/issues/232)) ([8f44173](https://github.com/traceloop/openllmetry-js/commit/8f441733ef7f777c273e6e5594361470b4c7957b))

# [0.7.0](https://github.com/traceloop/openllmetry-js/compare/v0.6.1...v0.7.0) (2024-04-22)

### Bug Fixes
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -45,6 +45,9 @@
</a>
</h4>

**🎉 New**:
Our semantic conventions are now part of OpenTelemetry! Join the [discussion](https://github.com/open-telemetry/community/blob/1c71595874e5d125ca92ec3b0e948c4325161c8a/projects/llm-semconv.md) and help us shape the future of LLM observability.

OpenLLMetry-JS is a set of extensions built on top of [OpenTelemetry](https://opentelemetry.io/) that gives you complete observability over your LLM application. Because it uses OpenTelemetry under the hood, it can be connected to your existing observability solutions - Datadog, Honeycomb, and others.

It's built and maintained by Traceloop under the Apache 2.0 license.
@@ -116,6 +119,7 @@ OpenLLMetry-JS can instrument everything that [OpenTelemetry already instruments

- ✅ Pinecone
- ✅ Chroma
- ✅ Qdrant
- ⏳ Weaviate
- ⏳ Milvus

@@ -124,6 +128,18 @@ OpenLLMetry-JS can instrument everything that [OpenTelemetry already instruments
- ✅ LangChain
- ✅ LlamaIndex

## 🔎 Telemetry

The SDK provided with OpenLLMetry (not the instrumentations) contains a telemetry feature that collects **anonymous** usage information.

You can opt out of telemetry by setting the `TRACELOOP_TELEMETRY` environment variable to `FALSE`.

### Why we collect telemetry

- 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.
- 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).
- Telemetry is only collected in the SDK. If you use the instrumentations directly without the SDK, no telemetry is collected.

## 🌱 Contributing

Whether it's big or small, we love contributions ❤️ Check out our guide to see how to [get started](https://traceloop.com/docs/openllmetry/contributing/overview).
Loading