Releases: xlts-dev/verdaccio-prometheus-middleware
Releases · xlts-dev/verdaccio-prometheus-middleware
v2.0.2
v2.0.1
2.0.1 (2022-02-08)
Documentation
- minor doc and code comment updates, update regenerate CHANGELOG for accuracy
Build
- add
prepublishOnly
script to ensure that the source files are transpiled using the typescript compiler to the lib folder prior to publishing
v2.0.0
v1.0.0
1.0.0 (2021-12-23)
⚠ BREAKING CHANGES
- configuration: configuration option
enabled
changed tometricsEnabled
Features
- metrics: implement ability to collect default prometheus metrics (001e8f8), closes #4
- metrics: Initial implementation of package install/download metrics capturing and metrics endpoint (11e8ac6)
Bug Fixes
- configuration: configuration option
enabled
changed tometricsEnabled
(dbd0afe) - metrics: fix issue where package download counters were not fully accurate (97eb944), closes #7
- metrics: Only collect metrics for download of tarball files. Metrics were previously collected for any GET request that looked like it was for a package.json or tarball install but this was less reliable as there were was no way to guarantee the request coming in was for an actual package.json (e.g. browser requests for favicon.ico). Also, Verdaccio would only hand off requests that generate a 401/403 to the middelware for non-tarball requests so metrics could be misleading. (67caa0f)
v0.1.0
Initial plugin release
Metrics middleware plugin for Verdaccio. Collects metrics specifically for package tarball install/download requests and exposes them at a configurable metrics endpoint (defaults to /-/metrics). The metrics are produced in the standard prometheus metrics text format.