prom-client

Prometheus client for node.js

APACHE-2.0 License

Downloads
9.6M
Stars
3K
Committers
107

Bot releases are visible (Hide)

prom-client - 11.3.0

Published by siimon over 5 years ago

Changed

  • Check that cluster worker is still connected before attempting to query it for
    metrics. (#244)

Added

prom-client - 11.2.1

Published by siimon almost 6 years ago

Breaking

Changed

Added

  • Updated types for Summary in typescript definition file
prom-client - 11.2.0

Published by siimon almost 6 years ago

Changed

  • Updated child dependency merge patch version to remove vulnerability.

Added

  • Added an initial benchmark suite which can be run with npm run benchmarks.
  • Add support for sliding windows in Summaries
prom-client - 11.1.2

Published by SimenB about 6 years ago

Changed

  • Allow setting Gauge values to NaN, +Inf, and -Inf
  • Fixed histogram scrape performance by using acc.push instead of acc.concat. Fixes #216 with #219
prom-client - 11.1.1

Published by siimon over 6 years ago

Changed

  • Fixed processOpenFileDescriptors metric when no custom config was set
prom-client - 11.1.0

Published by siimon over 6 years ago

  • Added ability to set a name prefix in the default metrics

Changed

  • Fixed startTimer utility to not mutate objects passed as startLabels
  • Fixed Counter to validate labels parameter of inc() against initial
    labelset
  • Fixed AggregatorFactory losing the aggregator method of metrics
prom-client - 11.0.0

Published by siimon over 6 years ago

Breaking

  • Fixed gauge.setToCurrentTime() to use seconds instead of milliseconds
  • Dropped support for node 4
prom-client - 10.2.3

Published by siimon over 6 years ago

Breaking

Changed

  • Fixed issue that registry.getMetricsAsJSON() ignores registry default labels

Added

prom-client - 10.2.2

Published by SimenB almost 7 years ago

Changed

  • Fixed invalid process_virtual_memory_bytes reported under linux
prom-client - 10.2.1

Published by SimenB almost 7 years ago

Changed

  • Only resolve/reject clusterMetrics promise if no callback is provided
prom-client - 10.2.0

Published by SimenB about 7 years ago

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
prom-client - 10.1.1

Published by SimenB about 7 years ago

Changed

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

Published by siimon about 7 years ago

Added

  • Support aggregating metrics across workers in a Node.js cluster.
prom-client - 10.0.4

Published by SimenB about 7 years ago

Changed

  • Include invalid values in the error messages
prom-client - 10.0.3

Published by SimenB about 7 years ago

Added

  • Added registerMetric to definitions file

Changed

  • Fixed typing of DefaultMetricsCollectorConfiguration in definitions file
  • Don't pass timestamps through to pushgateway by default
prom-client - 10.0.2

Published by SimenB over 7 years ago

Changed

  • Don't poll default metrics every single tick
prom-client - 10.0.1

Published by siimon over 7 years ago

Added

  • Metrics should be initialized to 0 when there are no labels
prom-client - 10.0.0

Published by SimenB over 7 years ago

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
prom-client - 9.1.1

Published by SimenB over 7 years ago

Changed

  • Don't set timestamps for metrics that are never updated
prom-client - 9.1.0

Published by siimon over 7 years ago

Added

  • Ability to merge registries

Changed

  • Correct typedefs for object constructor of metrics
Package Rankings
Top 0.66% on Npmjs.org
Top 8.17% on Proxy.golang.org
Badges
Extracted from project README
Actions Status