prometheus-gc-stats
Advanced tools
Comparing version 0.6.5 to 1.0.0
@@ -8,3 +8,3 @@ 'use strict'; | ||
const gc = optional('gc-stats'); | ||
const gc = optional('@sematext/gc-stats'); | ||
@@ -11,0 +11,0 @@ const v8Version = process.versions.v8; |
{ | ||
"name": "prometheus-gc-stats", | ||
"version": "0.6.5", | ||
"version": "1.0.0", | ||
"description": "Report Garbage Collection stats using Prometheus", | ||
@@ -23,3 +23,3 @@ "main": "index.js", | ||
"engines": { | ||
"node": ">=6" | ||
"node": ">=10" | ||
}, | ||
@@ -30,3 +30,3 @@ "author": "Simen Bekkhus <sbekkhus91@gmail.com>", | ||
"optionalDependencies": { | ||
"gc-stats": "^1.4.0" | ||
"@sematext/gc-stats": "^1.5.9" | ||
}, | ||
@@ -33,0 +33,0 @@ "dependencies": { |
@@ -12,2 +12,4 @@ # prometheus-gc-stats | ||
Note that version 12 and up of `prom-client` comes with GC metrics out of the box, so this module might not be needed. See [this comment](https://github.com/siimon/prom-client/pull/361#discussion_r400430717). | ||
This module follows the same API as the core default metrics. To start collection GC stats, invoke the exported function to create the | ||
@@ -14,0 +16,0 @@ metrics, then invoke the returned function to start the collecting. |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6818
1
60