{"_id":"@apio/express-prometheus","_rev":"9-1016406bf73f39c156d5c01b6880b42e","name":"@apio/express-prometheus","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.0":{"name":"@apio/express-prometheus","version":"1.0.0","keywords":["Prometheus","Express","Node","Middleware"],"author":{"name":"Apio"},"license":"MIT","_id":"@apio/express-prometheus@1.0.0","maintainers":[{"name":"fatmatto","email":"cikkense@gmail.com"}],"homepage":"https://github.com/ApioLab/express-prometheus","bugs":{"url":"https://github.com/ApioLab/express-prometheus/issues"},"dist":{"shasum":"183ca202d22011e0151d4767e662a9068f6badc2","tarball":"https://registry.npmjs.org/@apio/express-prometheus/-/express-prometheus-1.0.0.tgz","fileCount":6,"integrity":"sha512-6T2Wcm8q0Io2p4kDrJ0FJ1nCZQ4ZE6pEKyJ2s02VYZTJAju1X/C+XTjPUF69mHXQmwPa+RSoeoaONAGIhSCBCQ==","signatures":[{"sig":"MEQCIA5dLS7QMuT2lMOc0E8zAabz5p/KQz12tsEAnZzhyYSbAiBVdmBmmyFb+sj7qR3Kdapor5x4Xz4KvGk4K0M0I/mfaw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekD0dCRA9TVsSAnZWagAA+6wQAKApxGQJUMBzjlEvIh/m\nTLEu/I81xP9WVFPqewp5HjDB/CA/4lEyxsorhj+9XS7ujmlJnRg1O1uy3WSa\nN7m7Cpjj9EjEcjMMUyTc0Nvjnja9LV7wgaJWuik+AQo0tOvTpYzEKeXlmyLT\ncAmo6fIbaGHdkh8a7FpHbAOzid+VxM20C4b9L9m66fXzVtbRuW6kTMHOeK+E\nRBvQqbBvpeSq3HOVqRDRiDMrDApYl6BndmMb4q8skQ40qXQNrDoCzp3kF6oE\nV6hFxfw+dKYrearSEq+86TqcDulysJO2qK66GkHt4PwAe/UhIzRZ0XBktMka\n7OicGp/NHnQuehrOrLTxWCbMz8+FICsPsG52Qvdj7JV3I4uod98G5v4yK625\nUlkRLm7hrpBOBV/uxtNi8WMeDGs8zYMkVkYc4OoITQltX1MAW04dxnG5IC1f\nUV/pIHksWxky5JKv7ZADbZWZTtJWrV60CNd4ET6pWM5oCkGVxrKwsfadsRZt\nlqBoz8xQjcZEpjit/fohiOCy2pyWsu5K3Y5VijytKjK26+QIIdqFZcVPpPuZ\np+doh5LvJwxEUJntStTC3weEWjLiwfoDO7Plz/Z4J/sZYico6kVlyqz+vpa6\ngAg5iFsTvK62FGI0XCl22pwJA/4BMhhcFz+35khLBq9p5BUFeaxjPqhiAhxu\nW/6i\r\n=7oBs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","husky":{"hooks":{"post-version":"git push --tags --no-verify"}},"types":"lib/index.d.ts","gitHead":"1367a01d8a81e25baae1aaa7425a9c0eef582d21","private":false,"scripts":{"lint":"npx eslint lib/**/*.js","test":"npx jest --env=node .","lint:fix":"npx eslint lib/**/*.js --fix"},"_npmUser":{"name":"fatmatto","email":"cikkense@gmail.com"},"repository":{"url":"git+https://github.com/ApioLab/express-prometheus.git","type":"git"},"_npmVersion":"6.14.1","description":"Express middleware to provide basic metrics to Prometheus.","directories":{},"_nodeVersion":"13.1.0","dependencies":{"prom-client":"^12.0.0","@types/express":"^4.17.6"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^25.3.0","husky":"^4.2.5","eslint":"^6.8.0","express":"^4.17.1","prettier":"^2.0.4","supertest":"^4.0.2","eslint-config-prettier":"^6.10.1"},"_npmOperationalInternal":{"tmp":"tmp/express-prometheus_1.0.0_1586511133162_0.7045464331630127","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@apio/express-prometheus","version":"2.0.0","keywords":["Prometheus","Express","Node","Middleware"],"author":{"name":"Apio"},"license":"MIT","_id":"@apio/express-prometheus@2.0.0","maintainers":[{"name":"matteodisabatino","email":"matteo.di.sabatino.1989@gmail.com"},{"name":"fatmatto","email":"cikkense@gmail.com"}],"homepage":"https://github.com/ApioLab/express-prometheus","bugs":{"url":"https://github.com/ApioLab/express-prometheus/issues"},"dist":{"shasum":"4a5302870d17326b758b1497f8f65e7772426100","tarball":"https://registry.npmjs.org/@apio/express-prometheus/-/express-prometheus-2.0.0.tgz","fileCount":6,"integrity":"sha512-kA6WkSJpdTS/FUQmMzLjjCqmKbyYLU+AbJpszK0Ky7fcLmEFlkvUZQ6cWk+nB+JZCE2hV4sx1xAhkJKotws5JA==","signatures":[{"sig":"MEUCIC15gFNThErLfgrzL+1SEfzezSQIGE6MmFEWnsST1VMQAiEArWzSjS4/rslXj0SqOfu6czvf4H5QL597LZ26GRQmPGk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgFr43CRA9TVsSAnZWagAAtY0P/iAB6j+vi/VibSfIx2fk\nooBn4Dlph06xbY50PRWx0lMwRmK+NIqX2++cM1GEAwTWmL1U+XHNYQoBBjky\nMDpIea2vHl9Vj8//5TRBB8HKe+R6/U9ZtHTJjtzpqkO+5xeBnthUNrcQ3Mwg\nluZA83ENsBOfhZrITFrQebRz95+SzQyM0G2EUogNFCx0EeTEpeoNgY5JuaR6\nwYTjokZmFGrMIH+MLg5yIkN4Dyvr0c7UzQ4TZqAfQKF+JZGuBrG/SzHbtXwb\nqjLRiq2zooqzWoPNgwK4ooAo8VFwdTBJYArf6TNpugutwcsyFC99QfCNUfM3\n9nzmvKZv/zTSGH2zsRZuB/qMBlwFIN/Jfc+HWoN0IGb7hl9WxSBxbvdW4gMv\nWMbfFvjXWTGCFgo5uV03C4DcDVG+DS3C8RCi9wRuT7ZOT9ZIz4d4/VKur7Ql\nB2d6AKGZmBFIFPQkQ9gemyoyRq/V37w4MkdhjmkTQnc7IUvBPqw2OXASBEoz\nK94OKwbAR8R4z2AVMSm8Hu7s3ZWM9y+OgGLVw//1vbFQKsPMejHFC0iLuvL5\ngFceZbmW0RAc0S1lZGWYAZf2dHtQ4MDe2jtdKiOGy1EHxB4FwxniONIPpeZs\nBKa0P6it1a6E1Zqajh1lVMGn6Stf0PM7Ms1dJbYSRdmOGtJL/e/uD/qp5xdr\nctt2\r\n=ZrnP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","husky":{"hooks":{"post-version":"git push --tags --no-verify"}},"types":"lib/index.d.ts","gitHead":"04708d291c3c5ab519f865697b57544719f923ab","private":false,"scripts":{"lint":"npx eslint lib/**/*.js","test":"npx jest --env=node .","lint:fix":"npx eslint lib/**/*.js --fix"},"_npmUser":{"name":"matteodisabatino","email":"matteo.di.sabatino.1989@gmail.com"},"repository":{"url":"git+https://github.com/ApioLab/express-prometheus.git","type":"git"},"_npmVersion":"6.14.10","description":"Express middleware to provide basic metrics to Prometheus.","directories":{},"_nodeVersion":"14.15.4","dependencies":{"prom-client":"^13.0.0","@types/express":"^4.17.11"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","husky":"^4.3.8","eslint":"^7.18.0","express":"^4.17.1","supertest":"^6.1.1","eslint-plugin-jest":"^24.1.3","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^16.0.2","@typescript-eslint/parser":"^4.14.0","@typescript-eslint/eslint-plugin":"^4.14.0"},"_npmOperationalInternal":{"tmp":"tmp/express-prometheus_2.0.0_1612103222600_0.8998555333233789","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@apio/express-prometheus","version":"2.0.1","keywords":["Prometheus","Express","Node","Middleware"],"author":{"name":"Apio"},"license":"MIT","_id":"@apio/express-prometheus@2.0.1","maintainers":[{"name":"fatmatto","email":"cikkense@gmail.com"},{"name":"matteodisabatino","email":"matteo.di.sabatino.1989@gmail.com"}],"homepage":"https://github.com/ApioLab/express-prometheus","bugs":{"url":"https://github.com/ApioLab/express-prometheus/issues"},"dist":{"shasum":"89defad4a91dda5275aa083c556bc8adf0d15356","tarball":"https://registry.npmjs.org/@apio/express-prometheus/-/express-prometheus-2.0.1.tgz","fileCount":8,"integrity":"sha512-zGoCVAD50HWzwlFQ4r7MDfg+oYo3F7nuUPXKL7Gpgjkb/HHmd1zVTJ6Ga2h4NmtJs+hnKBEWWgGbECAkXIJmbw==","signatures":[{"sig":"MEUCIQD3zLQJiGm+3NOG0Deg2uFV92D7OPsWYWgMQBRNC37q0AIgdHtBqPHfvhrQghjdJF130vpF86MI1cjaDO8unfLXR6g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzFiCCRA9TVsSAnZWagAAjOgP/0FZl86Alr7nhyGusA6w\nM831mr4Gd3xwULvlFmYxgF5hrhGw/uHaQ2dNhR87O4MPRAMYFEt68pCT3D0f\nFHwaD+iqwnO0opGnoY3WXIK60JemXAUj1ubTs/TqPd2wrSQnxJE2chXBqdYL\nVR2/wrITjTPCw5L3T/V8Mo1IJcwiN27AGZq4wxSzFGF9MMm0AM9wFA11t0Y3\nYimVjw2O72kg3xiDMVPwrcxO+2ZrKAfobQJOYzw8eKBGIzaBWTxhARAPS73J\nW228CMUJzgM9qnZNXTbLbqjMrDhZxs3gS0UTEGkru/FXpkUysd5HJ5zFFMEh\ntKiEEI9LtpN/dOlekfPSintJ3EnxfDwYSd7eQppUuTLYfOAHQ+NclIj6QW9F\nZyFIxOWH3oYlI0h6I8WqzkIdT+qgpHLs1bNvCfVgCCx4s0Ib0vXtYk6vAoHE\nZBVooLdcPt6w7+DCNrEu7Sv4q5uGcHoQzW8SwcVkGSLbx+kKJVNIG1JJwKu3\nvI+Ewp5ruidSzCoCGLDPmO1XufDaR2UtODcdqQ1zLzQhIfyAsQXpSv8Y6k7Z\ncf8f9n3Kq1kFempkPxI1RnxtvSobJAxFEUlXA5OZVCfuLKU/VzS8IbZnUd7w\nrbC4pmsSeqKu65HuWi5nnfAzgRIpr5TcNXNKRaCRB44GpLQ1f3g57MgiC1yN\nfI54\r\n=twQx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","husky":{"hooks":{"post-version":"git push --tags --no-verify"}},"types":"lib/index.d.ts","gitHead":"6e6631a64f3be4cc9781ecd456c6c2148f3b23bd","private":false,"scripts":{"lint":"npx eslint lib/**/*.js","test":"npx jest --env=node .","lint:fix":"npx eslint lib/**/*.js --fix"},"_npmUser":{"name":"fatmatto","email":"cikkense@gmail.com"},"repository":{"url":"git+https://github.com/ApioLab/express-prometheus.git","type":"git"},"_npmVersion":"7.21.1","description":"Express middleware to provide basic metrics to Prometheus.","directories":{},"_nodeVersion":"16.9.1","dependencies":{"prom-client":"^14.0.0","@types/express":"^4.17.13"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.2.5","husky":"^4.3.8","eslint":"^7.18.0","express":"^4.17.1","supertest":"^6.1.6","eslint-plugin-jest":"^24.1.3","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^16.0.2","@typescript-eslint/parser":"^4.33.0","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/express-prometheus_2.0.1_1634109859852_0.007724145431783125","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@apio/express-prometheus","version":"2.0.2","keywords":["Prometheus","Express","Node","Middleware"],"author":{"name":"Apio"},"license":"MIT","_id":"@apio/express-prometheus@2.0.2","maintainers":[{"name":"fatmatto","email":"cikkense@gmail.com"},{"name":"matteodisabatino","email":"matteo.di.sabatino.1989@gmail.com"}],"homepage":"https://github.com/ApioLab/express-prometheus","bugs":{"url":"https://github.com/ApioLab/express-prometheus/issues"},"dist":{"shasum":"3c8c8ed8a9d88f45d9f906312b935d1c1c2d2689","tarball":"https://registry.npmjs.org/@apio/express-prometheus/-/express-prometheus-2.0.2.tgz","fileCount":8,"integrity":"sha512-vZA7tlBDGhg3VJZpt2f4HQPAaxhlAQ1BZU1NxUwzDx//9rNPtKGngu3aFtLc8zaGvpQ4gVVJoeE8g7UH4ZMj7w==","signatures":[{"sig":"MEUCIARJQ6wWtysKpKFaJeLcYxwe9pz1hyW7nxNmSNNUTBkLAiEAsec0JDzavWLXeMtAvdECiLiQg8xT/U0h53ICGxHmOfs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15854,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJipw/GACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrE2w/8DD88EwnYxnakt7+yUkNb4EIbXWGgkj6j73Z58POrAfcrHPCl\r\nkRlekAV0+pfxIPMH8wkz/CHTFOZMwTX/rliCeDzgxKNxHdYsey8br4KB0k78\r\n7/DOlBJ4nWeQOl5hG8M4+sAAnwdvt/KNJ1oBcqPgCAuCDYOoPD2/jzEHNjqU\r\nVSqhK7A2k+8XOdEN9Gt1/cCiQXUJLe3RE823c5dceFMfficb2G+XeXe3KjAQ\r\n90Xes3DOf82Nq7rewQRulNOzJj85dDqXEH4mi3KGC9827m2TX9GzfSPb4SCU\r\n+spAtvdvL7yeXLPfrDNS0FzxeZLlSv/LMW/42tZ9LPkIvnR4nahSZQ7HdH0y\r\nBgQqvLgXhm9QY2zgaH3uPiJjI8lT9nRob98RWdqtFz9azDDmv4W45sjszKOV\r\nNao1Ay7r33KLz+wCoAHWDLN+KQs/dvkKteFnyGzaEOfgLetoXTylwjHWorfp\r\nIXaAXUMh3pVm10JYZIjUNClFlA0o91dYPa1kPYXdDxIZuHbnIb35GNONW0v5\r\nIOrukutTY2g8Qo12oxS+z5N4pipJU+wkusQ2VAQbC+lysp7FzSEVBkgy8GIP\r\n6wvX8qqHjUvHMkzYrSQzVy5h305tpNRmrRGsMStiZFCZIFWgGWOXdRkR70uC\r\nUTAyuqcJZABg8BwyMKsczq3BSvCQDUwASrk=\r\n=B+5a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","husky":{"hooks":{"post-version":"git push --tags --no-verify"}},"types":"lib/index.d.ts","gitHead":"23a33ced949c7fafcca219077b74eb02039b4e62","private":false,"scripts":{"lint":"npx eslint lib/**/*.js","test":"npx jest --env=node .","lint:fix":"npx eslint lib/**/*.js --fix"},"_npmUser":{"name":"fatmatto","email":"cikkense@gmail.com"},"repository":{"url":"git+https://github.com/ApioLab/express-prometheus.git","type":"git"},"_npmVersion":"8.5.5","description":"Express middleware to provide basic metrics to Prometheus.","directories":{},"_nodeVersion":"16.15.0","dependencies":{"prom-client":"^14.0.0","@types/express":"^4.17.13"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.2.5","husky":"^4.3.8","eslint":"^7.18.0","express":"^4.17.1","supertest":"^6.1.6","eslint-plugin-jest":"^24.1.3","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-config-standard":"^16.0.2","@typescript-eslint/parser":"^4.33.0","@typescript-eslint/eslint-plugin":"^4.33.0"},"_npmOperationalInternal":{"tmp":"tmp/express-prometheus_2.0.2_1655115717868_0.8735692205163224","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-04-10T09:32:13.098Z","modified":"2025-07-25T14:48:16.367Z","1.0.0":"2020-04-10T09:32:13.257Z","2.0.0":"2021-01-31T14:27:02.730Z","2.0.1":"2021-10-13T07:24:20.013Z","2.0.2":"2022-06-13T10:21:58.033Z"},"bugs":{"url":"https://github.com/ApioLab/express-prometheus/issues"},"author":{"name":"Apio"},"license":"MIT","homepage":"https://github.com/ApioLab/express-prometheus","keywords":["Prometheus","Express","Node","Middleware"],"repository":{"url":"git+https://github.com/ApioLab/express-prometheus.git","type":"git"},"description":"Express middleware to provide basic metrics to Prometheus.","maintainers":[{"email":"cikkense@gmail.com","name":"fatmatto"},{"email":"matteo.di.sabatino.1989@gmail.com","name":"matteodisabatino"},{"email":"gianluigi.provinciali@gmail.com","name":"gprovinciali"},{"email":"d.cantelmi@apio.cc","name":"davidecantelmi"}],"readme":"# express-prometheus\n\nBased on [@trussle/tricorder](https://github.com/trussle/tricorder)\n\n## Installation\n\n```\nnpm i @apio/express-prometheus\n```\n\n## Usage\n\nThe module attaches a /metrics route to your app, this endpoint will output prometheus metrics\n\n```\nconst expressPrometheus = require('@apio/express-prometheus')\nconst express = require('express')\n\n// Setup your express app\nconst app = express()\n\n// Instrument the app\nexpressPrometheus.instrument(app)\n```\n\n","readmeFilename":"README.md"}