Skip to content

feat: instrumentation for chromadb #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 94 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
991c7c1
init: instrumentation setup for chromadb
5war00p Feb 21, 2024
6e9a236
fix: sample app
5war00p Feb 21, 2024
f6a1420
config: chromadb package version
5war00p Feb 21, 2024
a6051e1
Merge branch 'main' into instrumentation-chroma
5war00p Feb 25, 2024
c99b3fb
sample with all required functions
5war00p Feb 26, 2024
eda1f81
instrumentation with basic wrapperMethod
5war00p Feb 26, 2024
d0e1d0e
feat: event tracking only for query and peek
5war00p Mar 13, 2024
b49a700
fix(sdk): protect against failures to JSON.stringify() input/output (…
nirga Feb 26, 2024
7725596
v0.5.1
nirga Feb 26, 2024
adc929b
fix(sdk): log input/output Maps (#94)
nirga Feb 26, 2024
da64151
v0.5.2
nirga Feb 26, 2024
d6bfca5
chore(deps): bump @aws-sdk/client-bedrock-runtime from 3.504.0 to 3.5…
dependabot[bot] Feb 27, 2024
85cdc5b
fix(sdk): input/output logging with content tracing override (#100)
nirga Feb 28, 2024
7f7aef9
v0.5.3
nirga Feb 28, 2024
30d4bce
fix(llamaindex): support v0.1.0 (#102)
nirga Mar 4, 2024
80966b3
v0.5.4
nirga Mar 4, 2024
bbdb8f9
fix(llamaindex): chat engine
nirga Mar 4, 2024
a6134e5
v0.5.5
nirga Mar 4, 2024
9b8be9e
v0.5.6
nirga Mar 4, 2024
fbf7b8e
fix(sdk): webpack import issues
nirga Mar 5, 2024
8904b30
v0.5.7
nirga Mar 5, 2024
eaaa086
fix(sdk): nextjs build errors (#126)
nirga Mar 5, 2024
a2e8200
v0.5.8
nirga Mar 5, 2024
42e30ec
chore: temporarily disabled cohere tests (#127)
nirga Mar 5, 2024
34efd31
fix: build SDK with rollup (#125)
nirga Mar 5, 2024
56b43fa
v0.5.9
nirga Mar 5, 2024
2fdccf5
fix(sdk): module files
nirga Mar 5, 2024
2a432d3
v0.5.10
nirga Mar 5, 2024
4314ff7
fix(sdk): revert back to tsc
nirga Mar 5, 2024
aa9cfe4
v0.5.11
nirga Mar 5, 2024
303d002
fix(sdk): nextjs bug; tests
nirga Mar 5, 2024
d6345c5
v0.5.12
nirga Mar 5, 2024
c21c02f
fix(langchain): manually instrument (#128)
nirga Mar 6, 2024
93c03e3
v0.5.13
nirga Mar 6, 2024
957eb70
fix(langchain): report input/output (#131)
nirga Mar 6, 2024
5db1cf5
fix(llamaindex): report inputs/outputs (#132)
nirga Mar 6, 2024
bd67faa
v0.5.14
nirga Mar 6, 2024
6899607
fix(sdk): require instead if import
nirga Mar 7, 2024
5ccf242
v0.5.15
nirga Mar 7, 2024
e4fa1eb
fix(langchain): can't add openLLMetryPatched
nirga Mar 7, 2024
5bc0c91
v0.5.16
nirga Mar 7, 2024
d64078c
fix(sdk): switched back to rollup
nirga Mar 7, 2024
8fe74f2
v0.5.17
nirga Mar 7, 2024
72198b3
fix: proper tracer fetcing in llamaindex and langchain
nirga Mar 7, 2024
d59e6e2
v0.5.18
nirga Mar 7, 2024
35631df
v0.5.19
nirga Mar 7, 2024
14e2adc
fix(sdk): use cross-fetch to avoid require() use errors (#143)
nirga Mar 12, 2024
dae0003
v0.5.20
nirga Mar 12, 2024
8d66d2d
fix: do not patch modules (#146)
nirga Mar 12, 2024
0427aa5
v0.5.21
nirga Mar 12, 2024
e96758c
init: instrumentation setup for chromadb
5war00p Feb 21, 2024
b5532cc
fix: typo fix for peek
5war00p Mar 13, 2024
c7ca26c
fix: llamaindex query issue on sample app
5war00p Mar 13, 2024
b2c1d3e
fix: node-server instrumentation
5war00p Mar 13, 2024
629fad9
fix: package-lock
5war00p Mar 13, 2024
4c26378
Merge branch 'main' into instrumentation-chroma
5war00p Mar 13, 2024
c2f836f
fix: package-lock
5war00p Mar 13, 2024
3a40b2e
fix: lint errors
5war00p Mar 13, 2024
4f311a3
fix: prettier issues
5war00p Mar 13, 2024
ccf00d7
fix: requested changes from review
5war00p Mar 15, 2024
4221aad
Merge branch 'main' into instrumentation-chroma
5war00p Mar 15, 2024
964bdc6
feat: added real example for chroma sample
5war00p Apr 5, 2024
77e7847
Merge branch 'main' into instrumentation-chroma
5war00p Apr 5, 2024
7e68f5b
fix: chroma added to node-server
5war00p Apr 5, 2024
90e3f33
fix: pinecone config
5war00p Apr 5, 2024
8d956fb
Revert "fix: pinecone config"
5war00p Apr 5, 2024
9db5a1e
fix: chromadb instrumentation add fix
5war00p Apr 5, 2024
8028a8a
fix: build errors
5war00p Apr 5, 2024
2183724
fix: readme
5war00p Apr 7, 2024
c5c08c1
fix: set vector spans only on trace content true
5war00p Apr 7, 2024
619350a
Merge branch 'main' into instrumentation-chroma
5war00p Apr 18, 2024
f8bd945
feat: event based attributes tracking
5war00p Apr 18, 2024
1fa95db
fix: split sample apps into multiple files
5war00p Apr 18, 2024
3e07d59
fix: prettier issues
5war00p Apr 18, 2024
f378220
fix: individual events for each result
5war00p Apr 19, 2024
fad0112
fix: remove n+1 array iteration for response attributes
5war00p Apr 19, 2024
3d3721c
feat: test cases for chromadb
5war00p Apr 19, 2024
516bea4
fix: setAllAttributes at once
5war00p Apr 19, 2024
332a519
feat: added chromadb sping up programmatically in tests
5war00p Apr 19, 2024
6cb2906
fix: add timeout after shell instantiation
5war00p Apr 19, 2024
effbee1
fix: increase timeout to 5sec
5war00p Apr 19, 2024
2e2c0ba
fix: timeout and remove commented code
5war00p Apr 19, 2024
5b9c957
fix: unskip skipped tests
5war00p Apr 19, 2024
6f9d1cf
ci: add python package in workflow
5war00p Apr 19, 2024
fc68b14
fix: push exiting code
5war00p Apr 19, 2024
2f9ce7b
docs: comment for process kill
5war00p Apr 19, 2024
8607052
fix: span event attributes
5war00p Apr 19, 2024
0a768db
fix: asserts for event attributes
5war00p Apr 19, 2024
815e1ad
fix: change gitignore chroma sqllite3
5war00p Apr 19, 2024
40d4ed6
Update packages/instrumentation-chromadb/src/instrumentation.ts
nirga Apr 19, 2024
31779a5
Merge branch 'main' into instrumentation-chroma
nirga Apr 22, 2024
8a5f8b2
fix(chromadb): exception logger
nirga Apr 22, 2024
4550e4d
Merge branch 'main' into pr/79
nirga Apr 22, 2024
5c8cb3b
chore: readme
nirga Apr 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
cache: "npm"
node-version-file: ".nvmrc"

- run: pip3 install chromadb

- uses: nrwl/nx-set-shas@v3
- run: npm ci
- name: Build
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@ Thumbs.db
.nx

# env
.env*
.env*
chroma.sqlite3
chroma.log
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ OpenLLMetry-JS can instrument everything that [OpenTelemetry already instruments
### Vector DBs

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

Expand Down
Loading