Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(mongodb): collect mongodb4 metrics (open-telemetry#1170)
* feat(mongodb): started working on mongodb connection pool instrumentations * feat(mongodb): started working on mongodb connection pool instrumentations * feat(mongodb): started working on mongodb connection pool instrumentations * feat(mongodb): started working on mongodb connection pool instrumentations * feat(mongodb): added connection metrics mongodb4 before tests * feat(mongodb): started working on tests * feat(mongodb): started working on tests * feat(mongodb): started working on tests * feat(mongodb): started working on tests * feat(mongodb): started working on tests * feat(mongodb): added mongodb4 metric tests * feat(mongodb): added mongodb4 metric tests * feat(mongodb): added mongodb4 metric tests * feat(mongodb): started working on mongodb3 metrics * feat(mongodb): removed <4 supprot * fix(mongo4): mongodb v4 instrumentation. fix idle/used counting * fix(mongo4): lint * fix(mongo4): use _updateMetricInstruments() as described in open-telemetry#3267 * fix(mongo4): lint * fix(mongo4): change deps * fix(mongo4): change deps 2 * fix(mongo4): revert deps * fix(mongo4): fixes * fix(mongo4): lint * fix(mongo4): lexport type * fix(mongo4): fixes * fix(mongo4): fixes * fix(mongo4): fixes: remote redundant from types, remove unneeded comments * fix(mongo4): add connection_string * fix(mongo4): add undefined instead of connection_string for for mongo v3 * Update plugins/node/opentelemetry-instrumentation-mongodb/src/instrumentation.ts Co-authored-by: Marc Pichler <[email protected]> * Update plugins/node/opentelemetry-instrumentation-mongodb/src/instrumentation.ts Co-authored-by: Marc Pichler <[email protected]> * fix(mongo4): move V4Connect and V4Session to internal-types * fix(mongo): lint * fix(mongo): align metric description with semconv * Update plugins/node/opentelemetry-instrumentation-mongodb/test/mongodb-v4.metrics.test.ts Co-authored-by: Marc Pichler <[email protected]> * fix(mongo): fix sessions.length to work also for versions 4.1 - 4.11 * fix(mongo): try to fix TAV for node 16 & 18 that doesn't work for mongo 3.6.2 --------- Co-authored-by: haddasbronfman <[email protected]> Co-authored-by: Haddas Bronfman <[email protected]> Co-authored-by: Marc Pichler <[email protected]>
- Loading branch information