Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prom-client

Package Overview
Dependencies
Maintainers
2
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prom-client - npm Package Versions

1
9

10.2.2

Diff

Changelog

Source

[10.2.2] - 2017-11-02

Changed

  • Fixed invalid process_virtual_memory_bytes reported under linux
simenb
published 10.2.1 •

Changelog

Source

[10.2.1] - 2017-10-27

Changed

  • Only resolve/reject clusterMetrics promise if no callback is provided
simenb
published 10.2.0 •

Changelog

Source

[10.2.0] - 2017-10-16

Changed

  • Don't add event listeners if cluster module is not used.
  • Fixed issue with counters having extra records when using empty labels

Added

  • Added reset to Counter and Gauge
  • Added resetMetrics to register to calling reset of all metric instances
simenb
published 10.1.1 •

Changelog

Source

[10.1.1] - 2017-09-26

Changed

  • Update TypeScript definitions and JSDoc comments to match JavaScript sources
  • Fix lexical scope of arguments in cluster code
siimon
published 10.1.0 •

Changelog

Source

[10.1.0] - 2017-09-04

Added

  • Support aggregating metrics across workers in a Node.js cluster.
simenb
published 10.0.4 •

Changelog

Source

[10.0.4] - 2017-08-22

Changed

  • Include invalid values in the error messages
simenb
published 10.0.3 •

Changelog

Source

[10.0.3] - 2017-08-07

Added

  • Added registerMetric to definitions file

Changed

  • Fixed typing of DefaultMetricsCollectorConfiguration in definitions file
  • Don't pass timestamps through to pushgateway by default
simenb
published 10.0.2 •

Changelog

Source

[10.0.2] - 2017-07-07

Changed

  • Don't poll default metrics every single tick
siimon
published 10.0.1 •

Changelog

Source

[10.0.1] - 2017-07-06

Added

  • Metrics should be initialized to 0 when there are no labels
simenb
published 10.0.0 •

Changelog

Source

[10.0.0] - 2017-07-04

Breaking

  • Print deprecation warning when metrics are constructed using non-objects
  • Print deprecation warning when collectDefaultMetrics is called with a number

Added

  • Ability to set default labels by registry
  • Allow passing in registry as second argument to collectDefaultMetrics to use that instead of the default registry

Changed

  • Convert code base to ES2015 code (node 4)
    • add engines field to package.json
    • Use object shorthand
    • Remove util-extend in favor of Object.assign
    • Arrow functions over binding or putting this in a variable
    • Use template strings
    • prototype -> class
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc