Socket
Socket
Sign inDemoInstall

prometheus-gc-stats

Package Overview
Dependencies
177
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.5 to 1.0.0

2

index.js

@@ -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.

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc