Skip to content
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

feat(mongodb): collect mongodb4 metrics #1170

Merged
merged 68 commits into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from 58 commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
6481fc8
feat(mongodb): started working on mongodb connection pool instrumenta…
osherv Sep 8, 2022
72423ea
feat(mongodb): started working on mongodb connection pool instrumenta…
osherv Sep 8, 2022
c966a1a
feat(mongodb): started working on mongodb connection pool instrumenta…
osherv Sep 8, 2022
a4f5c0b
feat(mongodb): started working on mongodb connection pool instrumenta…
osherv Sep 8, 2022
daa2e4b
feat(mongodb): added connection metrics mongodb4 before tests
osherv Sep 11, 2022
ea72cd1
feat(mongodb): started working on tests
osherv Sep 12, 2022
3727164
feat(mongodb): started working on tests
osherv Sep 13, 2022
ea8028f
feat(mongodb): started working on tests
osherv Sep 13, 2022
4d03c16
feat(mongodb): started working on tests
osherv Sep 13, 2022
5169d14
Merge branch 'main' into feat/add-mongodb-metrics
osherv Sep 14, 2022
cf3a12e
feat(mongodb): started working on tests
osherv Sep 14, 2022
3d623e0
feat(mongodb): added mongodb4 metric tests
osherv Sep 14, 2022
958e752
feat(mongodb): added mongodb4 metric tests
osherv Sep 15, 2022
af31512
feat(mongodb): added mongodb4 metric tests
osherv Sep 15, 2022
ebc9780
feat(mongodb): started working on mongodb3 metrics
osherv Sep 19, 2022
4fa5f5b
Merge branch 'main' into feat/add-mongodb-metrics
osherv Sep 19, 2022
4a37162
Merge branch 'feat/add-mongodb-metrics' of github.com:epsagon/opentel…
osherv Sep 19, 2022
bea7045
feat(mongodb): removed <4 supprot
osherv Sep 19, 2022
7e372cf
Merge branch 'main' into feat/add-mongodb-metrics
osherv Sep 20, 2022
0a8f29e
fix(mongo4): mongodb v4 instrumentation. fix idle/used counting
haddasbronfman Feb 5, 2023
ec79e04
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman Feb 5, 2023
88f1236
fix(mongo4): lint
haddasbronfman Feb 5, 2023
49eefd8
Merge branch 'feat/add-mongodb-metrics' of github.com:epsagon/opentel…
haddasbronfman Feb 5, 2023
e9a6c54
fix(mongo4): use _updateMetricInstruments() as described in #3267
haddasbronfman Feb 5, 2023
feb424c
fix(mongo4): lint
haddasbronfman Feb 5, 2023
774a599
fix(mongo4): change deps
haddasbronfman Feb 5, 2023
a50b80e
fix(mongo4): change deps 2
haddasbronfman Feb 5, 2023
059a757
fix(mongo4): revert deps
haddasbronfman Feb 6, 2023
f692645
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman Feb 9, 2023
d8bcae6
fix(mongo4): fixes
haddasbronfman Feb 9, 2023
ed7cd76
fix(mongo4): lint
haddasbronfman Feb 9, 2023
f1f6ca6
fix(mongo4): lexport type
haddasbronfman Feb 9, 2023
18b50c3
fix(mongo4): fixes
haddasbronfman Feb 9, 2023
feb7ea1
fix(mongo4): fixes
haddasbronfman Feb 9, 2023
dc08caf
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman Feb 12, 2023
1b6f22d
fix(mongo4): fixes: remote redundant from types, remove unneeded comm…
haddasbronfman Feb 12, 2023
9c91b35
Merge branch 'feat/add-mongodb-metrics' of github.com:epsagon/opentel…
haddasbronfman Feb 12, 2023
fa3968f
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman Feb 27, 2023
73c4fcc
fix(mongo4): add connection_string
haddasbronfman Mar 29, 2023
f8d1ffe
Merge branch 'feat/add-mongodb-metrics' of github.com:epsagon/opentel…
haddasbronfman Mar 29, 2023
87688eb
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman Mar 29, 2023
5872b2e
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman Mar 30, 2023
089885a
fix(mongo4): add undefined instead of connection_string for for mongo v3
haddasbronfman Mar 31, 2023
b60e64f
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman Mar 31, 2023
2c8c2a2
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman Apr 3, 2023
55baff0
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman Apr 19, 2023
db4ec46
Update plugins/node/opentelemetry-instrumentation-mongodb/src/instrum…
haddasbronfman Apr 27, 2023
9ab0f73
Update plugins/node/opentelemetry-instrumentation-mongodb/src/instrum…
haddasbronfman Apr 27, 2023
436932c
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman Apr 27, 2023
b87fac6
fix(mongo4): move V4Connect and V4Session to internal-types
haddasbronfman Apr 27, 2023
5f9c7f0
Merge branch 'feat/add-mongodb-metrics' of github.com:epsagon/opentel…
haddasbronfman Apr 27, 2023
3ffaf50
fix(mongo): lint
haddasbronfman Apr 27, 2023
d7c99c1
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman May 1, 2023
85488c7
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman May 1, 2023
094d046
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman May 1, 2023
4c87218
fix(mongo): align metric description with semconv
haddasbronfman May 3, 2023
4e47b79
Merge branch 'feat/add-mongodb-metrics' of github.com:epsagon/opentel…
haddasbronfman May 3, 2023
d67c27d
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman May 3, 2023
f9ff446
Update plugins/node/opentelemetry-instrumentation-mongodb/test/mongod…
haddasbronfman May 4, 2023
9803df2
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman May 4, 2023
613ef0f
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman May 7, 2023
d42cc43
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman May 7, 2023
ad6de22
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman May 8, 2023
bfea786
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman May 9, 2023
9908a3e
fix(mongo): fix sessions.length to work also for versions 4.1 - 4.11
haddasbronfman May 18, 2023
06ba7e6
Merge branch 'main' into feat/add-mongodb-metrics
haddasbronfman May 18, 2023
a1c822b
fix(mongo): try to fix TAV for node 16 & 18 that doesn't work for mon…
haddasbronfman May 23, 2023
2fd6bd2
Merge branch 'feat/add-mongodb-metrics' of github.com:epsagon/opentel…
haddasbronfman May 23, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@opentelemetry/instrumentation-mongodb": "^0.32.0",
"@opentelemetry/sdk-trace-node": "^1.0.0",
"@opentelemetry/sdk-trace-base": "^1.0.0",
"mongodb": "^3.5.7"
"mongodb": "^3.7.3"
},
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib#readme",
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"docker:start": "docker run -e MONGODB_DB=opentelemetry-tests -e MONGODB_PORT=27017 -e MONGODB_HOST=127.0.0.1 -p 27017:27017 --rm mongo",
"test": "nyc ts-mocha -p tsconfig.json --require '@opentelemetry/contrib-test-utils' 'test/**/mongodb-v3.test.ts'",
"test-new-versions": "nyc ts-mocha -p tsconfig.json --require '@opentelemetry/contrib-test-utils' 'test/**mongodb-v4.test.ts'",
"test-new-versions": "nyc ts-mocha -p tsconfig.json --require '@opentelemetry/contrib-test-utils' 'test/mongodb-v4**.test.ts'",
"test-all-versions": "tav",
"tdd": "npm run test -- --watch-extensions ts --watch",
"clean": "rimraf build/*",
Expand Down Expand Up @@ -68,6 +68,7 @@
"typescript": "4.4.4"
},
"dependencies": {
"@opentelemetry/sdk-metrics": "^1.9.1",
"@opentelemetry/instrumentation": "^0.38.0",
"@opentelemetry/semantic-conventions": "^1.0.0"
},
Expand Down
Loading