Skip to content

Releases: xlts-dev/verdaccio-prometheus-middleware

v2.0.2

18 Jul 14:18
Compare
Choose a tag to compare

2.0.2 (2022-07-18)

Build

  • update all dependencies to latest

v2.0.1

09 Feb 14:12
Compare
Choose a tag to compare

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

08 Feb 14:14
Compare
Choose a tag to compare

2.0.0 (2022-02-03)

⚠ BREAKING CHANGES

  • metrics: plugin configuration schema overhauled, default metric name of registry_requests
    renamed to registry_package_downloads

Features

  • metrics: collect http request metrics and package download metrics (2cdebb9), closes #9

v1.0.0

30 Dec 14:31
Compare
Choose a tag to compare

1.0.0 (2021-12-23)

⚠ BREAKING CHANGES

  • configuration: configuration option enabled changed to metricsEnabled

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 to metricsEnabled (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

14 Dec 20:39
Compare
Choose a tag to compare

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.