Skip to content

v1.0.0

Compare
Choose a tag to compare
@edclement edclement released this 30 Dec 14:31
· 13 commits to main since this release

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)