{"_id":"@christiangalsterer/mongodb-driver-prometheus-exporter","_rev":"18-6b4600a5ebe5e24aca36f0a5d8a78ccd","name":"@christiangalsterer/mongodb-driver-prometheus-exporter","dist-tags":{"latest":"3.0.0"},"versions":{"0.0.1":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"0.0.1","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@0.0.1","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"63d0232d39a59c4c4d4bd6754de67c14caee1a77","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-0.0.1.tgz","fileCount":18,"integrity":"sha512-tIlSkCQKE9av6vwmmSWNYS+TKFgaHeEw7vqTrpbTqyhOHBy4mmKJVlqm6aosJb13GlxsIw/xnrF09mI3EWSVKQ==","signatures":[{"sig":"MEUCIGX0SA4fJVzx8p2iYrQV8Pml1MpU6hWkxfxPp9pmM2NxAiEAreH0fFTm1YP2i4OmRctkhSKYhvSSO6naTFd6sE8sFmQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28001},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"8832ab20d0c309201a5baa83cec4f30e17f5db57","scripts":{"lint":"eslint . --ext .ts","test":"jest --forceExit --coverage --verbose","build":"tsc","clean":"","publish":"","release":"","lint-and-fix":"eslint . --ext .ts --fix"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"9.7.2","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"20.4.0","dependencies":{"mongodb":"^5.7.0","prom-client":"^14.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","ts-jest":"^29.1.1","prettier":"^3.0.0","typescript":"^5.1.6","@types/jest":"^29.5.3","@jest/globals":"^29.6.1","eslint-config-standard-with-typescript":"^36.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_0.0.1_1689870897242_0.2598279029705932","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"0.0.2","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@0.0.2","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"943a07055fa76319401d9061c537cd8aceff5bcf","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-0.0.2.tgz","fileCount":9,"integrity":"sha512-SkAFsh/xFZxasZgA4vJGWcUQmzfQR+lUU0XYfBAK5PzXUaCSXlGdavHtGo2AqzDXNvb7N7Wif3vDVlajiYiLFw==","signatures":[{"sig":"MEQCIDmj2bYfAyrXWLw8MdqYQqqDN0Zwf93CVuXqkyc5TJ3mAiAM+q+68Z34xCEFSFceoV+nJWhv2E7XOxbvjKdsQMbAfg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16784},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"2ae7fa15c92623175c585cecb21e85fbc6485da1","scripts":{"lint":"eslint .","test":"jest --forceExit --coverage --verbose","build":"tsc","clean":"rm -rf ./dist","publish":"npm publish --access=public","release":"npm run lint && npm run test","lint-and-fix":"eslint . --fix","release:major":"npm run release && npm version major","release:minor":"npm run release && npm version minor","release:patch":"npm run release && npm version patch","publish:dry-run":"npm publish --access=public --dry-run"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"9.7.2","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"20.4.0","dependencies":{"mongodb":"^5.7.0","prom-client":"^14.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","ts-jest":"^29.1.1","prettier":"^3.0.0","typescript":"^5.1.6","@types/jest":"^29.5.3","@jest/globals":"^29.6.1","eslint-config-standard-with-typescript":"^36.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_0.0.2_1690025399103_0.46537473696111964","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"0.0.3","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@0.0.3","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"5cee3b00f9f36443cf827c08246237f8f617d9b1","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-0.0.3.tgz","fileCount":9,"integrity":"sha512-pwInqvhFmo3qj8RVBl85Bn8tF1wguiI78fdrkKOY9P8A1C0iuFtHW6cTFNCVXPY2P651teWGgCnrf/7/U/NGog==","signatures":[{"sig":"MEUCIFfvJboox0987P5pqnozBy9Dw+243dlq9PuYedRNV80EAiEA/WnsvVS8MWhNxrT7VhkNb0BZVl1YIFgYi/9dkPzkg6E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16777},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"7f595747771c0202cce895adb63bceeac522554f","scripts":{"lint":"eslint .","test":"jest --forceExit --coverage --verbose","build":"tsc","clean":"rm -rf ./dist","publish":"npm publish --access=public","release":"npm run lint && npm run test","lint-and-fix":"eslint . --fix","release:major":"npm run release && npm version major","release:minor":"npm run release && npm version minor","release:patch":"npm run release && npm version patch","publish:dry-run":"npm publish --access=public --dry-run"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"9.7.2","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"20.4.0","dependencies":{"mongodb":"^5.7.0","prom-client":"^14.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","ts-jest":"^29.1.1","prettier":"^3.0.0","typescript":"^5.1.6","@types/jest":"^29.5.3","@jest/globals":"^29.6.1","eslint-config-standard-with-typescript":"^36.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_0.0.3_1690189052897_0.48834836628837763","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"0.0.4","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@0.0.4","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"dc9cd5ea76d4be22667ff45f9593557cf4d3f0c8","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-0.0.4.tgz","fileCount":9,"integrity":"sha512-u8304HWlnOY71Dqao6UAjFesyMD2BrArKTulVKzLLwaZiRZ4Ty1JB2Pk0pu3tU44zjLI8E88pW9Y6PT5r5Oh9g==","signatures":[{"sig":"MEUCIQDv3hMrVB9j8NYIX2HSDe4uNJRpMjAMB3h7GuDDtojceAIgA+RLEGykmxpYf8kidTi89SWMiZxolh8qOf6fS1Xv5ec=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16295},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"78da6c16efc1f6fc88705e606f7943da2c43622e","scripts":{"lint":"eslint .","test":"jest --forceExit --coverage --verbose","build":"tsc","clean":"rm -rf ./dist","publish":"npm publish --access=public","release":"npm run lint && npm run test","lint-and-fix":"eslint . --fix","release:major":"npm run release && npm version major","release:minor":"npm run release && npm version minor","release:patch":"npm run release && npm version patch","publish:dry-run":"npm publish --access=public --dry-run"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"9.7.2","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"20.4.0","dependencies":{"mongodb":"^5.7.0","prom-client":"^14.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","ts-jest":"^29.1.1","prettier":"^3.0.0","typescript":"^5.1.6","@types/jest":"^29.5.3","@jest/globals":"^29.6.1","eslint-config-standard-with-typescript":"^36.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_0.0.4_1690196550157_0.804158029336461","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"0.0.5","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@0.0.5","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"3f62c1072c411310ae375c82d3f4fc819c16f750","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-0.0.5.tgz","fileCount":9,"integrity":"sha512-mVDgK8lWGfmqxuEFxCVYxrR+aV9xBSv4E+LHd3wLtexhWwMM1xj6bgT8Cx95EVs1svierffd4xj6hpW5zkDdzw==","signatures":[{"sig":"MEUCIBwtG1G1Fvudg5LEtw23yxytib7eVhsveCNEzqpjNN5yAiEAxdaJFs3mWStxwn7wgwO5/zmGxpswsc6qNhm/w7h4q6s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16954},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"1695304fd7183d34e5b0f3b2b36ddddf7eb06592","scripts":{"lint":"eslint .","test":"jest --forceExit --coverage --verbose","build":"tsc","clean":"rm -rf ./dist","publish":"npm publish --access=public","release":"npm run lint && npm run test","lint-and-fix":"eslint . --fix","release:major":"npm run release && npm version major","release:minor":"npm run release && npm version minor","release:patch":"npm run release && npm version patch","publish:dry-run":"npm publish --access=public --dry-run"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"9.7.2","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"20.4.0","dependencies":{"mongodb":"^5.7.0","prom-client":"^14.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","ts-jest":"^29.1.1","prettier":"^3.0.0","typescript":"^5.1.6","@types/jest":"^29.5.3","@jest/globals":"^29.6.1","eslint-config-standard-with-typescript":"^36.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_0.0.5_1690200734895_0.17832125366407747","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"0.1.0","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@0.1.0","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"0ff6f2fee87d3e187a6aec3077e8d2a4ab27dbdc","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-0.1.0.tgz","fileCount":9,"integrity":"sha512-i4lgzC21i93M6+NSqfK/qoNGaDeEsEmilrKa3DxjjuD9GKN5TaR6rxwvt5JSk3x8kmroYk51hMKaFxrXg4DqvQ==","signatures":[{"sig":"MEQCIAOTtSniAOFdskiwk203uwpXdvN1q06go2MYlF1Drh5iAiBhjXWkxu5NSjNNtC8BpqLzwRc0z/zdw5dash5slemh8Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21515},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"7b5f9e1df87e607dc5b1d8d2725711957f07a24b","scripts":{"lint":"eslint .","test":"jest --forceExit --coverage --verbose","build":"tsc","clean":"rm -rf ./dist","publish":"npm publish --access=public","release":"npm run lint && npm run test","lint-and-fix":"eslint . --fix","release:major":"npm run release && npm version major","release:minor":"npm run release && npm version minor","release:patch":"npm run release && npm version patch","publish:dry-run":"npm publish --access=public --dry-run"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"9.7.2","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"20.4.0","dependencies":{"mongodb":"^5.7.0","prom-client":"^14.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","ts-jest":"^29.1.1","prettier":"^3.0.0","typescript":"^5.1.6","@types/jest":"^29.5.3","@jest/globals":"^29.6.1","eslint-config-standard-with-typescript":"^36.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_0.1.0_1690353354629_0.2208722265149241","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"0.2.0","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@0.2.0","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"8062c061742ee7d644468c59494456a03218a262","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-0.2.0.tgz","fileCount":12,"integrity":"sha512-IJSQOEmZJ2q4s84m8ZFXW8uMEiPOGM1KjKUXhYgMrSbghHHoRdDm4Ys5+M7fzitOA1WIoUC7lAggLEq461QScA==","signatures":[{"sig":"MEQCIBgJgFPLf5sP/UvzpdyNRZIO2KOFL+Zc5DB5qOQSG6u9AiB3HWkwttm2fscNZp5adeBupV8vLDzC4stB9oKMcKTTrA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26393},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"ffa0b0d12e25ad907a3dba2ea87e903cfc1e970f","scripts":{"lint":"eslint .","test":"jest --forceExit --coverage --verbose","build":"tsc","clean":"rm -rf ./dist","publish":"npm publish --access=public","release":"npm run clean && npm run lint-and-fix && npm run build && npm run test","lint-and-fix":"eslint . --fix","release:major":"npm run release && npm version major","release:minor":"npm run release && npm version minor","release:patch":"npm run release && npm version patch","publish:dry-run":"npm publish --access=public --dry-run"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"9.7.2","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"20.4.0","dependencies":{"mongodb":"^5.7.0","prom-client":"^14.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","ts-jest":"^29.1.1","prettier":"^3.0.0","typescript":"^5.1.6","@types/jest":"^29.5.3","@jest/globals":"^29.6.1","eslint-config-standard-with-typescript":"^36.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_0.2.0_1690880747774_0.32297394177587035","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"1.0.0","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@1.0.0","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"9033c60391756ea8fa67e9584fe25f2b97684403","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-1.0.0.tgz","fileCount":12,"integrity":"sha512-xu/rooeBmoiwRseBoiq/7K84uOmxbSx967nmaoDDp/hyaR/aQF74ANaQJL7Wdm6Mb8fPHEF/iobAFincZqd0Jg==","signatures":[{"sig":"MEQCIGhjoQMj0yDo92vR52IG+F4R5t8ezdpdAx3j8As5L8HHAiBQS8GuzTDuuFlXLndSGquBeueWcjAbqsPNKn+2v+TP0Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26930},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"258b2df41350171603fbc9a847be8e47679379ff","scripts":{"lint":"eslint .","test":"jest --forceExit --coverage --verbose","build":"tsc","clean":"rm -rf ./dist","publish":"npm publish --access=public","release":"npm run clean && npm run lint-and-fix && npm run build && npm run test","lint-and-fix":"eslint . --fix","release:major":"npm run release && npm version major","release:minor":"npm run release && npm version minor","release:patch":"npm run release && npm version patch","publish:dry-run":"npm publish --access=public --dry-run"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"9.7.2","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"20.4.0","dependencies":{"mongodb":"^5.7.0","prom-client":"^14.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","ts-jest":"^29.1.1","prettier":"^3.0.0","typescript":"^5.1.6","@types/jest":"^29.5.3","@jest/globals":"^29.6.1","eslint-config-standard-with-typescript":"^36.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_1.0.0_1691053394563_0.7741968222983644","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"1.0.1","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@1.0.1","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"45b7cde95c62d82d4deca9d31803e1c0cb855653","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-1.0.1.tgz","fileCount":15,"integrity":"sha512-5ZPwsI8SUD9JIMIg3aAIY6KuJSCiV1ym4bn/3mEVtI3ojCjR0aV6IFUReemuZW0ksDjcfYFgW7bXgH0yWCohsw==","signatures":[{"sig":"MEUCIEuMAcwHV2VsSL55lHacE6cybDAfiih06Q0IsINCPvBTAiEA9WaDKlGrQn4Pp2lpSsKVmey1cJmwe0jZdrv9cSocXnM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28678},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"a432247424be72793eed3b1a1a18c396863650ec","scripts":{"lint":"eslint .","test":"jest --forceExit --coverage --verbose","build":"tsc","clean":"rm -rf ./dist","publish":"npm publish --access=public","release":"npm run clean && npm run lint-and-fix && npm run build && npm run test","lint-and-fix":"eslint . --fix","release:major":"npm run release && npm version major","release:minor":"npm run release && npm version minor","release:patch":"npm run release && npm version patch","publish:dry-run":"npm publish --access=public --dry-run"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"9.7.2","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"20.4.0","dependencies":{"mongodb":"^5.7.0","prom-client":"^14.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","ts-jest":"^29.1.1","prettier":"^3.0.0","typescript":"^5.1.6","@types/jest":"^29.5.3","@jest/globals":"^29.6.2","eslint-config-standard-with-typescript":"^36.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_1.0.1_1691416748873_0.5884759416433429","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"1.1.0","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@1.1.0","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"dd6329dfccc72c9fe10bd9c288fb231691fec4b6","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-1.1.0.tgz","fileCount":15,"integrity":"sha512-pcV5UUkyjAfG4uZrbWgJPfxsiJ7uQfKqfLfzuoImhnvE0PhxTTgxrIxfBRe1YbHznftXKmAt56PcI+h5mY/Sug==","signatures":[{"sig":"MEUCIQD6bz9EPtHPcJjeilOp5asyzTHfZsDPFEcD1/jUTz8vvQIgev6EiLyXrKQUjs+AZ6uKwX3W5X7LbgnHkbDrloIhlzk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31476},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"8c4e96ea9e130838d3a83102fd4f2efacbef0afe","scripts":{"lint":"eslint .","test":"jest --forceExit --coverage --verbose","build":"tsc","clean":"rm -rf ./dist","publish":"npm publish --access=public","release":"npm run clean && npm run lint-and-fix && npm run build && npm run test","lint:fix":"eslint . --fix","release:major":"npm run release && npm version major","release:minor":"npm run release && npm version minor","release:patch":"npm run release && npm version patch","publish:dry-run":"npm publish --access=public --dry-run"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"9.7.2","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"20.4.0","dependencies":{"mongodb":"^5.7.0","prom-client":"^14.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","ts-jest":"^29.1.1","prettier":"^3.0.0","typescript":"^5.1.6","@types/jest":"^29.5.3","@jest/globals":"^29.6.2","eslint-config-standard-with-typescript":"^36.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_1.1.0_1691656659775_0.4251533446450446","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"1.1.1","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@1.1.1","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"049db05c2c36a4bb16611c455346929443d0b55a","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-1.1.1.tgz","fileCount":15,"integrity":"sha512-EDZZz9/uiHdS+8SgwDDcmdy0YUTJol/JneI0Fyv1QrEh+8+JO2V+Z5MsYJlKRzVkjS3zu2fAZ5xPptvQSFs7Cg==","signatures":[{"sig":"MEUCIQCoYn1a/Af/aFB84cr+i8unMeMUDYUY6GMHq0GoRBVgWQIgE8maVLdpRkUAvsBx8h9ocwdCAGEgO7wV5Xv6FSctVYc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31651},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"b102b9e65e50dfc143c18d15397f9a614e8b0a66","scripts":{"lint":"eslint .","test":"jest --forceExit --verbose","build":"tsc","clean":"rm -rf ./dist","publish":"npm publish --access=public","release":"npm run clean && npm run lint:fix && npm run build && npm run test","lint:fix":"eslint . --fix","release:major":"npm run release && npm version major","release:minor":"npm run release && npm version minor","release:patch":"npm run release && npm version patch","test:coverage":"jest --forceExit --coverage --verbose","publish:dry-run":"npm publish --access=public --dry-run"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"9.7.2","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"20.4.0","dependencies":{"mongodb":"^5.8.0","prom-client":"^14.2.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","ts-jest":"^29.1.1","prettier":"^3.0.0","typescript":"^5.1.6","@types/jest":"^29.5.3","@jest/globals":"^29.6.2","eslint-config-standard-with-typescript":"^36.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_1.1.1_1693458145457_0.4980836503000319","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"2.0.0","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@2.0.0","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"0cb8ecb807a9e63c77811e050114e04cf6cf71dc","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-2.0.0.tgz","fileCount":15,"integrity":"sha512-hXRMshz+w0nGv9hwLShZ4yWam5ponAcyI7EUs4PhZWbMBCISNJGSBb+2Jmf/Y2h/voN3hw+vW+W96q+EL7Gkww==","signatures":[{"sig":"MEUCIQCIxiLNp80Fo3Z8K3uHHt8vvyoIEus5BjgeLy0zJhIoEgIgUIJnQhNSL7N/ML9ZY1ckXeHmfEcZesU9CLe94tpnkhE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33274},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"727fb1e394ac1e6b241ea7424e84e05502d5cae1","scripts":{"ci":"npm ci --include=prod --include=dev && npm run lint && npm run build && npm run test && npm run renovate:config","lint":"eslint .","test":"jest --forceExit --verbose","build":"tsc","clean":"npm run clean:dist && npm run clean:deps","publish":"npm publish --access=public","lint:fix":"eslint . --fix","clean:deps":"rm -rf ./node_modules","clean:dist":"rm -rf ./dist","release:major":"npm run release:prepare && npm version major -m 'build:release %s'","release:minor":"npm run release:prepare && npm version minor -m 'build:release %s'","release:patch":"npm run release:prepare && npm version patch -m 'build:release %s'","test:coverage":"jest --forceExit --coverage --verbose","publish:dry-run":"npm publish --access=public --dry-run","release:prepare":"npm run clean && npm i && npm i --save-dev && npm run lint:fix && npm run build && npm run test","renovate:config":"npx renovate-config-validator"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"9.7.2","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"20.4.0","dependencies":{"mongodb":"^6.0.0","prom-client":"^15.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","ts-jest":"29.1.1","prettier":"3.0.3","renovate":"37.19.2","typescript":"5.2.2","@types/jest":"29.5.5","@jest/globals":"29.7.0","eslint-config-standard-with-typescript":"39.1.1"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_2.0.0_1697448866067_0.9653972231997558","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"2.1.0","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@2.1.0","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"8916b7e2f6a6031d42b387285c79c9bd4ef7ed80","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-2.1.0.tgz","fileCount":15,"integrity":"sha512-Zk/OGAo6K6B7HiwBARnEW/NVZPe4Vn1GfsjXh7LMNiCk79+xmShlGJyY2PmzumsfqSVAN/9M3RiMQ8R6uR2xow==","signatures":[{"sig":"MEQCH0/yZKJXhQswy3B1w0fCtA9Pcajxmzqqj4DReJyG4wwCIQCbb1NpgOEOEndWLFDPjUx49hxnkFx4NKrP/ItPZGEt2Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33833},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=10"},"gitHead":"1092ab0bf41539919a647976ff91f284676d95a9","scripts":{"ci":"npm ci --include=prod --include=dev && npm run lint && npm run build && npm run test && npm run renovate:config","lint":"eslint .","test":"jest --forceExit --verbose","build":"tsc","clean":"npm run clean:dist && npm run clean:deps","publish":"npm publish --access=public","lint:fix":"eslint . --fix","clean:deps":"rm -rf ./node_modules","clean:dist":"rm -rf ./dist","release:major":"npm run release:prepare && npm version major -m 'build:release %s'","release:minor":"npm run release:prepare && npm version minor -m 'build:release %s'","release:patch":"npm run release:prepare && npm version patch -m 'build:release %s'","test:coverage":"jest --forceExit --coverage --verbose","publish:dry-run":"npm publish --access=public --dry-run","release:prepare":"npm run clean && npm i && npm i --save-dev && npm run lint:fix && npm run build && npm run test","renovate:config":"npx renovate-config-validator"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"9.7.2","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"20.4.0","dependencies":{"mongodb":"^6.0.0","prom-client":"^15.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","ts-jest":"29.1.1","prettier":"3.1.0","renovate":"37.61.1","typescript":"5.2.2","@types/jest":"29.5.8","@jest/globals":"29.7.0","eslint-plugin-jest":"27.6.0","eslint-config-standard-with-typescript":"40.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_2.1.0_1700377717843_0.14270859947184733","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"2.2.0","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@2.2.0","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"6081b9511a02926dea8dc335b217d6826095f8fc","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-2.2.0.tgz","fileCount":15,"integrity":"sha512-3ZNf8+0cyKIrM7ZcBv1ZCu9QcPmufUvWBjTXD4kKDGhZ259SYQHjdVi3J/MZ0CwVnGL0Ed3ajggMWKdE/a/UsQ==","signatures":[{"sig":"MEQCIEIYvni1y4zaQJdcEh0PPympPWKzj+HlmnYV04DkDoWfAiBaRyRUGsV1G1Uld0wpG+vP1YfsCFzsheaeu+O9fwBgcg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38730},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"445e7cb3101e7be0f85e6765e9e5eeaced76d0b3","scripts":{"ci":"npm i --save-dev && npm run lint && npm run build && npm run test && npm run renovate:config","deps":"npm i --save-dev","lint":"eslint .","test":"jest --forceExit --verbose","build":"tsc","clean":"npm run clean:dist && npm run clean:deps","lint:fix":"eslint . --fix","clean:deps":"rm -rf ./node_modules && rm -rf package-lock.json && npm run deps","clean:dist":"rm -rf ./dist","publish-npm":"npm run ci && npm publish --access=public","release:major":"npm run release:prepare && npm version major -m 'build(release): release %s' && git push && git push --tags","release:minor":"npm run release:prepare && npm version minor -m 'build(release): release %s' && git push && git push --tags","release:patch":"npm run release:prepare && npm version patch -m 'build(release): release %s' && git push && git push --tags","test:coverage":"jest --forceExit --coverage --verbose","release:prepare":"npm run clean && npm i && npm i --save-dev && npm run lint:fix && npm run build && npm run test","renovate:config":"npx renovate-config-validator","publish-npm:dry-run":"npm run ci && npm publish --access=public --dry-run"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"10.5.0","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"21.7.3","dependencies":{"mongodb":"^6.0.0","prom-client":"^15.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","ts-jest":"29.1.2","prettier":"3.2.5","renovate":"37.349.2","typescript":"5.4.5","@types/jest":"29.5.12","@jest/globals":"29.7.0","eslint-config-love":"47.0.0","eslint-plugin-jest":"28.5.0","eslint-plugin-simple-import-sort":"12.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_2.2.0_1715179142016_0.38971677721458975","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"2.2.1","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@2.2.1","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"bd83d00b8cc3146be1d0b1ceb214f7626ffbfa2f","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-2.2.1.tgz","fileCount":30,"integrity":"sha512-18gAlla9DfeibO8UnSSaqp/Dps9ikUfhMz7KlRqnbYdw7be896tq9BejlsuS2mhK6OdkXIVDfzagxykkqlt64A==","signatures":[{"sig":"MEQCIBIhCCy5G4826F6pwjEvpvycX69e0KSEHWPCLypRpvn3AiBAW4ef+HCi+JaDJHyGVqEdbTb5+boMgAO6bexcfy3hRQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86809},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"7adb0b0236b1a40669bd1391f4de0b979f855a04","scripts":{"ci":"npm i --save-dev && npm run format && npm run lint && npm run build && npm run test && npm run renovate:config","deps":"npm i --save-dev","lint":"eslint .","test":"jest --forceExit --verbose","build":"tsc","clean":"npm run clean:dist && npm run clean:deps","format":"prettier --check .","lint:fix":"eslint . --fix","clean:deps":"rm -rf ./node_modules && rm -rf package-lock.json && npm run deps","clean:dist":"rm -rf ./dist","format:fix":"prettier --write .","publish-npm":"npm run ci && npm publish --access=public","release:major":"npm run release:prepare && npm version major -m 'build(release): release %s' && git push && git push --tags","release:minor":"npm run release:prepare && npm version minor -m 'build(release): release %s' && git push && git push --tags","release:patch":"npm run release:prepare && npm version patch -m 'build(release): release %s' && git push && git push --tags","test:coverage":"jest --forceExit --coverage --verbose","release:prepare":"npm run clean && npm i && npm i --save-dev && npm run format && npm run lint && npm run build && npm run test","renovate:config":"npx renovate-config-validator","publish-npm:dry-run":"npm run ci && npm publish --access=public --dry-run"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"10.5.0","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"21.7.3","dependencies":{"mongodb":"^6.0.0","prom-client":"^15.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","ts-jest":"29.2.5","prettier":"3.3.3","renovate":"38.106.4","typescript":"5.6.2","@types/jest":"29.5.13","@jest/globals":"29.7.0","eslint-config-love":"83.0.0","eslint-plugin-jest":"28.8.3","@testcontainers/mongodb":"10.13.1","eslint-plugin-simple-import-sort":"12.1.1"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_2.2.1_1727941826507_0.08834068790096716","host":"s3://npm-registry-packages"}},"2.2.2":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"2.2.2","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@2.2.2","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"f0d652f584785ae4e3aa4019c36b9056fb43c8e0","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-2.2.2.tgz","fileCount":15,"integrity":"sha512-sfv1Qcw4gLdKdS6hiuP/2Iu7Jnzh+SF6ivBRc4GyNcNpwZb6Zcr8fphcHbBQhi844t7O0FHegDRIZD6Wbj9ecg==","signatures":[{"sig":"MEUCIQDsp5zBEo4P/1tbZ0MVaOuhkf9s/cI9XVozP1H0GxA6FAIgCktNYZEVoCnN47OGLV6U7gpNtBQDSNQk7ggak3pK65w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40520},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=18"},"gitHead":"eac0e06e4f578e2fa020fa24a635718139dd89ce","scripts":{"ci":"npm i --save-dev && npm run format && npm run lint && npm run build && npm run test && npm run renovate:config","deps":"npm i --save-dev","lint":"eslint .","test":"jest --forceExit --verbose","build":"tsc","clean":"npm run clean:dist && npm run clean:deps","format":"prettier --check .","lint:fix":"eslint . --fix","clean:deps":"rm -rf ./node_modules && rm -rf package-lock.json && npm run deps","clean:dist":"rm -rf ./dist","format:fix":"prettier --write .","publish-npm":"npm run ci && npm publish --access=public","release:major":"npm run release:prepare && npm version major -m 'build(release): release %s' && git push && git push --tags","release:minor":"npm run release:prepare && npm version minor -m 'build(release): release %s' && git push && git push --tags","release:patch":"npm run release:prepare && npm version patch -m 'build(release): release %s' && git push && git push --tags","test:coverage":"jest --forceExit --coverage --verbose","release:prepare":"npm run clean && npm i && npm i --save-dev && npm run format && npm run lint && npm run build && npm run test","renovate:config":"npx renovate-config-validator","publish-npm:dry-run":"npm run ci && npm publish --access=public --dry-run"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"10.5.0","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"21.7.3","dependencies":{"mongodb":"^6.0.0","prom-client":"^15.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","ts-jest":"29.2.5","prettier":"3.3.3","renovate":"38.107.0","typescript":"5.6.2","@types/jest":"29.5.13","@jest/globals":"29.7.0","eslint-config-love":"83.0.0","eslint-plugin-jest":"28.8.3","@testcontainers/mongodb":"10.13.1","eslint-plugin-simple-import-sort":"12.1.1"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_2.2.2_1728071761670_0.11331343853438747","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"2.3.0","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"author":{"name":"Christian Galsterer"},"license":"MIT","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@2.3.0","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"dist":{"shasum":"f519d8ba324eb67a7e655ad543f577d62dc6b3f9","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-2.3.0.tgz","fileCount":15,"integrity":"sha512-kYqxbfNc/3ApIW6URmaujcjPajVWX6uiq+2wATrrT1ptudR71HD2y8uQuqYaYqElpExJalUabLKwidVgMPY2Sg==","signatures":[{"sig":"MEUCIG/546yUlRtlcl6LFsqNgzrCHpc2B8GFf5mpbGkmfc76AiEA1KXa+5ZyD9l+vi5EYsq1GHO/eFgA6dJSxad60D+woSo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47718},"main":"dist/src/index.js","types":"dist/src/index.d.ts","engines":{"node":">=18"},"gitHead":"bae9175a9f6381416c9967b229a07bf6ca4e0083","scripts":{"ci":"npm i --save-dev && npm run format && npm run lint && npm run build && npm run test && npm run renovate:config","deps":"npm i --save-dev && npm audit fix","lint":"eslint .","test":"jest --forceExit --verbose","build":"tsc","clean":"npm run clean:dist && npm run clean:deps","format":"prettier --check .","lint:fix":"eslint . --fix","clean:deps":"rm -rf ./node_modules && rm -rf package-lock.json && npm run deps","clean:dist":"rm -rf ./dist","format:fix":"prettier --write .","publish-npm":"npm run ci && npm publish --access=public","release:major":"npm run release:prepare && npm version major -m 'build(release): release %s' && git push && git push --tags","release:minor":"npm run release:prepare && npm version minor -m 'build(release): release %s' && git push && git push --tags","release:patch":"npm run release:prepare && npm version patch -m 'build(release): release %s' && git push && git push --tags","test:coverage":"jest --forceExit --coverage --verbose","release:prepare":"npm run clean && npm i && npm i --save-dev && npm run format && npm run lint && npm run build && npm run test","renovate:config":"npx renovate-config-validator","publish-npm:dry-run":"npm run ci && npm publish --access=public --dry-run"},"_npmUser":{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"},"repository":{"url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git","type":"git"},"_npmVersion":"10.5.0","description":"Prometheus exporter to monitor the MongoDB Node.js driver","directories":{"test":"test"},"_nodeVersion":"21.7.3","dependencies":{"mongodb":"^6.0.0","prom-client":"^15.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","ts-jest":"29.2.5","prettier":"3.4.2","renovate":"39.66.0","typescript":"5.7.2","@types/jest":"29.5.14","@jest/globals":"29.7.0","eslint-config-love":"112.0.0","eslint-plugin-jest":"28.9.0","@testcontainers/mongodb":"10.16.0","eslint-plugin-simple-import-sort":"12.1.1"},"_npmOperationalInternal":{"tmp":"tmp/mongodb-driver-prometheus-exporter_2.3.0_1734166091829_0.5606163927841246","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@christiangalsterer/mongodb-driver-prometheus-exporter","version":"3.0.0","author":{"name":"Christian Galsterer"},"license":"MIT","description":"Prometheus exporter to monitor the MongoDB Node.js driver","main":"dist/src/index.js","types":"dist/src/index.d.ts","scripts":{"build":"tsc","ci":"npm i --save-dev && npm run format && npm run lint && npm run build && npm run test && npm run renovate:config","clean":"npm run clean:dist && npm run clean:deps","clean:dist":"rm -rf ./dist","clean:deps":"rm -rf ./node_modules && rm -rf package-lock.json && npm i --save-dev --package-lock-only && npm run deps","deps":"npm i --save-dev && npm audit fix","format":"prettier --check .","format:fix":"prettier --write .","lint":"eslint .","lint:fix":"eslint . --fix","test":"jest --forceExit --verbose","test:coverage":"jest --forceExit --coverage --verbose","publish-npm":"npm run ci && npm publish --access=public","publish-npm:dry-run":"npm run ci && npm publish --access=public --dry-run","release:prepare":"npm run clean && npm i && npm i --save-dev && npm run format && npm run lint && npm run build && npm run test","release:major":"npm run release:prepare && npm version major -m 'build(release): release %s' && git push && git push --tags","release:minor":"npm run release:prepare && npm version minor -m 'build(release): release %s' && git push && git push --tags","release:patch":"npm run release:prepare && npm version patch -m 'build(release): release %s' && git push && git push --tags","renovate:config":"npx renovate-config-validator"},"repository":{"type":"git","url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git"},"keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"dependencies":{"mongodb":"^7","prom-client":"^15.0.0"},"devDependencies":{"@jest/globals":"30.2.0","@testcontainers/mongodb":"11.9.0","@types/jest":"30.0.0","eslint-config-love":"134.0.0","eslint-plugin-jest":"29.2.1","eslint-plugin-simple-import-sort":"12.1.1","jest":"30.2.0","prettier":"3.7.4","renovate":"42.37.0","ts-jest":"29.4.6","typescript":"5.9.3"},"engines":{"node":">=18"},"bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","directories":{"test":"test"},"gitHead":"44cc93fe002e35dad2d574704a88f6ffee6d0255","_id":"@christiangalsterer/mongodb-driver-prometheus-exporter@3.0.0","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-HxC7PHzr8bo96tEuuq1QJh/Rf7nB6gMERLfOjHGhKLD74KM9nQQ+2y3LARVRfpkFIabgyb8gGBOrBSCNFeOT+g==","shasum":"7d437b98787852a4c44b74d0ec4f98d945ad7f4e","tarball":"https://registry.npmjs.org/@christiangalsterer/mongodb-driver-prometheus-exporter/-/mongodb-driver-prometheus-exporter-3.0.0.tgz","fileCount":15,"unpackedSize":48215,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@christiangalsterer%2fmongodb-driver-prometheus-exporter@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEmLaOeA+8aJ1cR3fgBQIGwiPleEfX1wxTAsxOf319o/AiEA4KjbLXNLX60bTbaU5DY1fXIi2ouoY3DLCKTa+ZhDtLk="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ae61f8e7-4753-42fc-aab0-d1c061bef856"}},"maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mongodb-driver-prometheus-exporter_3.0.0_1765639202383_0.7523759219852928"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-20T16:34:57.128Z","modified":"2025-12-13T15:20:02.943Z","0.0.1":"2023-07-20T16:34:57.391Z","0.0.2":"2023-07-22T11:29:59.294Z","0.0.3":"2023-07-24T08:57:33.087Z","0.0.4":"2023-07-24T11:02:30.291Z","0.0.5":"2023-07-24T12:12:15.071Z","0.1.0":"2023-07-26T06:35:54.795Z","0.2.0":"2023-08-01T09:05:48.074Z","1.0.0":"2023-08-03T09:03:14.817Z","1.0.1":"2023-08-07T13:59:09.112Z","1.1.0":"2023-08-10T08:37:39.968Z","1.1.1":"2023-08-31T05:02:25.688Z","2.0.0":"2023-10-16T09:34:26.248Z","2.1.0":"2023-11-19T07:08:38.025Z","2.2.0":"2024-05-08T14:39:02.274Z","2.2.1":"2024-10-03T07:50:26.687Z","2.2.2":"2024-10-04T19:56:01.891Z","2.3.0":"2024-12-14T08:48:12.044Z","3.0.0":"2025-12-13T15:20:02.517Z"},"bugs":{"url":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/issues"},"author":{"name":"Christian Galsterer"},"license":"MIT","homepage":"https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter#readme","keywords":["prometheus","prometheus metrics","prometheus monitoring","metrics","mongodb","mongodb metrics","mongodb monitoring","monitoring"],"repository":{"type":"git","url":"git+https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter.git"},"description":"Prometheus exporter to monitor the MongoDB Node.js driver","maintainers":[{"name":"christian_galsterer","email":"christian.galsterer@gmx.de"}],"readme":"[![GitHub Actions CI Status](https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/actions/workflows/build.yaml/badge.svg)](https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/actions/workflows/build.yaml)\n[![codecov](https://codecov.io/gh/christiangalsterer/mongodb-driver-prometheus-exporter/graph/badge.svg?token=Q4POJZ46LC)](https://codecov.io/gh/christiangalsterer/mongodb-driver-prometheus-exporter)\n[![Coveralls](https://coveralls.io/repos/github/christiangalsterer/mongodb-driver-prometheus-exporter/badge.svg?branch=main)](https://coveralls.io/github/christiangalsterer/mongodb-driver-prometheus-exporter?branch=main)\n[![Known Vulnerabilities](https://snyk.io/test/github/christiangalsterer/mongodb-driver-prometheus-exporter/badge.svg)](https://github.com/christiangalsterer/mongodb-driver-prometheus-exporter/security/advisories)\n[![npm downloads](https://img.shields.io/npm/dt/@christiangalsterer/mongodb-driver-prometheus-exporter.svg)](https://www.npmjs.com/package/@christiangalsterer/mongodb-driver-prometheus-exporter)\n[![npm version](https://img.shields.io/npm/v/@christiangalsterer/mongodb-driver-prometheus-exporter.svg)](https://www.npmjs.com/package/@christiangalsterer/mongodb-driver-prometheus-exporter?activeTab=versions)\n[![npm license](https://img.shields.io/npm/l/@christiangalsterer/mongodb-driver-prometheus-exporter.svg)](https://www.npmjs.com/package/@christiangalsterer/mongodb-driver-prometheus-exporter)\n[![semver](https://img.shields.io/badge/semver-2.0.0-green)](https://semver.org)\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)\n[![renovate](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://developer.mend.io/github/christiangalsterer/mongodb-driver-prometheus-exporter)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n![github stars](https://img.shields.io/github/stars/christiangalsterer/mongodb-driver-prometheus-exporter.svg)\n\n# Prometheus Exporter for official MongoDB Node.js driver\n\nA prometheus exporter exposing metrics for the official [MongoDB Node.js driver](https://www.mongodb.com/docs/drivers/node/current/).\n\nMetrics names follow the same naming convention used by [micrometer](https://github.com/micrometer-metrics/micrometer). This allows to use the same metrics in dashboards and alerts across different technology stacks, e.g. when you use Spring Boot and Node.js in different applications.\n\n## Available Metrics\n\nThe exporter provides the following metrics.\n\n|Metric Name|Description|Labels|Since|\n|---|---|---|---|\n|mongodb_driver_pool_size | the current size of the connection pool, including idle and in-use members | <ul><li>_server_address_: URL of the MongoDB Service instance where the driver is connected to </li><ul>| 1.0.0 |\n|mongodb_driver_pool_min|the minimum size of the connection pool|<ul><li>_server_address_: URL of the MongoDB Service instance where the driver is connected to </li><ul> | 1.0.0 |\n|mongodb_driver_pool_max|the maximum size of the connection pool|<ul><li>_server_address_: URL of the MongoDB Service instance where the driver is connected to </li><ul> | 1.0.0 |\n|mongodb_driver_pool_checkedout|the count of connections that are currently in use|<ul><li>_server_address_: URL of the MongoDB Service instance where the driver is connected to </li><ul> | 1.0.0 |\n|mongodb_driver_pool_waitqueuesize|the current size of the wait queue for a connection from the pool|<ul><li>_server_address_: URL of the MongoDB Service instance where the driver is connected to </li><ul> | 1.0.0 |\n|mongodb_driver_pool_waitqueue_seconds_sum|Total duration of wait queue in seconds<br/>* Requires `mongodb` >=6.9.0| <ul><li>_server_address_: URL of the MongoDB Service instance where the driver is connected to </li><li> _status_: SUCCESS or FAILED </li><ul>| 2.3.0 |\n|mongodb_driver_pool_waitqueue_seconds_count|Total number of connections checked out from the waitqueue<br/>* Requires `mongodb` >=6.9.0|<ul><li>_server_address_: URL of the MongoDB Service instance where the driver is connected to </li><li> _status_: SUCCESS or FAILED</li><ul>| 2.3.0 |\n|mongodb_driver_commands_seconds_sum|Duration of the executed command in seconds| <ul><li>_server_address_: URL of the MongoDB Service instance where the driver is connected to </li><li> _command_: Name if the command </li><li> _status_: SUCCESS or FAILED </li><ul>| 1.0.0 |\n|mongodb_driver_commands_seconds_count|Number of executed commands|<ul><li>_server_address_: URL of the MongoDB Service instance where the driver is connected to </li><li> _command_: Name if the command </li><li> _status_: SUCCESS or FAILED</li><ul>| 1.0.0 |\n\n## Example Output\n\nHere an example output in the prometheus format of the provided metrics.\n\n```sh\n# HELP mongodb_driver_pool_size the current size of the connection pool, including idle and and in-use members\n# TYPE mongodb_driver_pool_size gauge\nmongodb_driver_pool_size{server_address=\"127.0.0.1:27017\"} 0\nmongodb_driver_pool_size{server_address=\"127.0.0.2:27017\"} 0\nmongodb_driver_pool_size{server_address=\"127.0.0.3:27017\"} 1\n\n# HELP mongodb_driver_pool_min the minimum size of the connection pool\n# TYPE mongodb_driver_pool_min gauge\nmongodb_driver_pool_min{server_address=\"127.0.0.1:27017\"} 0\nmongodb_driver_pool_min{server_address=\"127.0.0.2:27017\"} 0\nmongodb_driver_pool_min{server_address=\"127.0.0.3:27017\"} 0\n\n# HELP mongodb_driver_pool_max the maximum size of the connection pool\n# TYPE mongodb_driver_pool_max gauge\nmongodb_driver_pool_max{server_address=\"127.0.0.1:27017\"} 100\nmongodb_driver_pool_max{server_address=\"127.0.0.2:27017\"} 100\nmongodb_driver_pool_max{server_address=\"127.0.0.3:27017\"} 100\n\n# HELP mongodb_driver_pool_checkedout the count of connections that are currently in use\n# TYPE mongodb_driver_pool_checkedout gauge\nmongodb_driver_pool_checkedout{server_address=\"127.0.0.1:27017\"} 0\nmongodb_driver_pool_checkedout{server_address=\"127.0.0.2:27017\"} 0\nmongodb_driver_pool_checkedout{server_address=\"127.0.0.3:27017\"} 1\n\n# HELP mongodb_driver_pool_waitqueuesize the current size of the wait queue for a connection from the pool\n# TYPE mongodb_driver_pool_waitqueuesize gauge\nmongodb_driver_pool_waitqueuesize{server_address=\"127.0.0.1:27017\"} 0\nmongodb_driver_pool_waitqueuesize{server_address=\"127.0.0.2:27017\"} 0\nmongodb_driver_pool_waitqueuesize{server_address=\"127.0.0.3:27017\"} 0\n\n# HELP mongodb_driver_pool_waitqueue_seconds Duratrion of mongodb connection wait queue\n# TYPE mongodb_driver_pool_waitqueue_seconds histogram\nmongodb_driver_pool_waitqueue_seconds_bucket{le=\"0.001\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 141\nmongodb_driver_pool_waitqueue_seconds_bucket{le=\"0.005\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 141\nmongodb_driver_pool_waitqueue_seconds_bucket{le=\"0.01\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 145\nmongodb_driver_pool_waitqueue_seconds_bucket{le=\"0.02\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 148\nmongodb_driver_pool_waitqueue_seconds_bucket{le=\"0.03\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 151\nmongodb_driver_pool_waitqueue_seconds_bucket{le=\"0.04\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 152\nmongodb_driver_pool_waitqueue_seconds_bucket{le=\"0.05\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 155\nmongodb_driver_pool_waitqueue_seconds_bucket{le=\"0.1\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 214\nmongodb_driver_pool_waitqueue_seconds_bucket{le=\"0.2\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 223\nmongodb_driver_pool_waitqueue_seconds_bucket{le=\"0.5\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 223\nmongodb_driver_pool_waitqueue_seconds_bucket{le=\"1\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 223\nmongodb_driver_pool_waitqueue_seconds_bucket{le=\"2\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 223\nmongodb_driver_pool_waitqueue_seconds_bucket{le=\"5\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 223\nmongodb_driver_pool_waitqueue_seconds_bucket{le=\"10\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 223\nmongodb_driver_pool_waitqueue_seconds_bucket{le=\"+Inf\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 223\nmongodb_driver_pool_waitqueue_seconds_sum{server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 6.4500000000000055\nmongodb_driver_pool_waitqueue_seconds_count{server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 223\n\n# HELP mongodb_driver_commands_seconds Timer of mongodb commands\n# TYPE mongodb_driver_commands_seconds histogram\nmongodb_driver_commands_seconds_bucket{le=\"0.005\",command=\"ping\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 0\nmongodb_driver_commands_seconds_bucket{le=\"0.01\",command=\"ping\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 0\nmongodb_driver_commands_seconds_bucket{le=\"0.025\",command=\"ping\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 0\nmongodb_driver_commands_seconds_bucket{le=\"0.05\",command=\"ping\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 0\nmongodb_driver_commands_seconds_bucket{le=\"0.1\",command=\"ping\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 0\nmongodb_driver_commands_seconds_bucket{le=\"0.25\",command=\"ping\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 0\nmongodb_driver_commands_seconds_bucket{le=\"0.5\",command=\"ping\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 0\nmongodb_driver_commands_seconds_bucket{le=\"1\",command=\"ping\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 0\nmongodb_driver_commands_seconds_bucket{le=\"2.5\",command=\"ping\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 0\nmongodb_driver_commands_seconds_bucket{le=\"5\",command=\"ping\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 0\nmongodb_driver_commands_seconds_bucket{le=\"10\",command=\"ping\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 0\nmongodb_driver_commands_seconds_bucket{le=\"+Inf\",command=\"ping\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 21\nmongodb_driver_commands_seconds_sum{command=\"ping\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 971000\nmongodb_driver_commands_seconds_count{command=\"ping\",server_address=\"127.0.0.3:27017\",status=\"SUCCESS\"} 21\n```\n\n# Usage\n\n## Add Dependency\n\nAdd the following dependency to your project to download the package from [npm](https://www.npmjs.com/package/@christiangalsterer/mongodb-driver-prometheus-exporter).\n\n```sh\nnpm i @christiangalsterer/mongodb-driver-prometheus-exporter\n```\n\n## TypeScript\n\nThe following example illustrates how to use the exporter to enable monitoring for the MongoDB Node.js driver.\n\n```ts\nimport { MongoClient } from \"mongodb\";\nimport { Registry, collectDefaultMetrics } from \"prom-client\";\nimport { monitorMongoDBDriver } from \"@christiangalsterer/mongodb-driver-prometheus-exporter\";\n\n...\n\n// set up the MongoDB client, monitorCommands needs to be set to true to enable command monitoring.\nconst mongoClient = new MongoClient(\"mongodb\", { monitorCommands: true })\n\n// set up the prometheus client\nconst register = new Registry();\ncollectDefaultMetrics({ register });\n\n// monitor MongoDB driver\nmonitorMongoDBDriver(mongoClient, register);\n\n...\n\n// connect to MongoDB after calling monitorMongoDBDriver()\nmongoClient.connect();\n```\n\n## JavaScript\n\nThe following example illustrates how to use the exporter to enable monitoring for the MongoDB Node.js driver.\n\n```js\nconst MongoClient = require('mongodb');\nconst promClient = require( 'prom-client');\nconst exporter = require('@christiangalsterer/mongodb-driver-prometheus-exporter')\n\n...\n\n// set up the MongoDB client, monitorCommands needs to be set to true to enable command monitoring.\nconst mongoClient = new MongoClient(\"mongodb\", { monitorCommands: true })\n\n// set up the prometheus client\nconst collectDefaultMetrics = promClient.collectDefaultMetrics;\nconst Registry = promClient.Registry;\nconst register = new Registry();\ncollectDefaultMetrics({ register });\n\n// monitor MongoDB driver\nexporter.monitorMongoDBDriver(client, register);\n\n...\n\n// connect to MongoDB after calling monitorMongoDBDriver()\nmongoClient.connect();\n```\n\n# Configuration\n\nThe exporter can be configured via properties specified on the optional parameter of type\n_MongoDBDriverExporterOptions_.\n\n|property|Description|Example|Since |\n|---|---|---|---|\n| mongodbDriverCommandsSecondsHistogramBuckets | Buckets for the mongodb_driver_commands_seconds_bucket metric in seconds. Default buckets are [0.001, 0.005, 0.01, 0.02, 0.03, 0.04, 0.05, 0.1, 0.2, 0.5, 1, 2, 5, 10] | [0.001, 0.005, 0.01, 0.02, 0.03, 0.04, 0.05, 0.1, 0.2, 0.5, 1, 2, 5, 10]| 1.0.0|\n| waitQueueSecondsHistogramBuckets | Buckets for the mongodb_driver_pool_waitqueue_seconds_bucket metric in seconds. Default buckets are [0.001, 0.005, 0.01, 0.02, 0.03, 0.04, 0.05, 0.1, 0.2, 0.5, 1, 2, 5, 10] | [0.001, 0.005, 0.01, 0.02, 0.03, 0.04, 0.05, 0.1, 0.2, 0.5, 1, 2, 5, 10]| 2.3.0|\n| defaultLabels | Default labels added to each metrics. | {'foo':'bar', 'alice': 3} | 1.1.0 |\n| prefix | Metric name prefix for all metrics. | 'service1_' | 2.1.0 |\n\n# Grafana Dashboard\n\nAn example dashboard for Grafana is available [here](/docs/grafana/dashboard.json) displaying the provided metrics by the exporter.\n\nHere an example for collection metrics:\n![Grafana:Collection Metrics](/docs/images/grafana_mongodb_driver_collections_1.png \"Grafana: Collection Metrics\")\n\nHere an example for command metrics:\n![Grafana:Commands Metrics](/docs/images/grafana_mongodb_driver_commands_1.png \"Grafana: Command Metrics\")\n\n# Changelog\n\nThe changes to project can be found in the [changelog](/CHANGELOG.md).\n\n# Compatibility\n\nThe following table list the compatibility of exporter versions with different MongoDB Driver and prom-client versions.\n\n|Exporter Version|MongoDB Driver Version|prom-client version|\n|---|---|---|\n|^1.0.0|^5.8.0|^14.2.0|\n|^2.0.0|^6.0.0|^15.0.0|\n\n# Contributions\n\nContributions are highly welcome. If you want to contribute to this project please follow the steps described in the [contribution guidelines](/CONTRIBUTING.md).\n\n# Projects Using The Exporter\n\nIf you want to support this project, please add a link to your project and/or company when you use this exporter.\n\n# Related Projects\n\nIf you are looking for a way to monitor KafkaJS for Node.js you may have a look at <https://github.com/christiangalsterer/kafkajs-prometheus-exporter>.\n\nIf you are looking for a way to monitor node-postgres you may have a look at <https://github.com/christiangalsterer/node-postgres-prometheus-exporter>.\n","readmeFilename":"README.md"}