prometheus / prometheus/client_js

v8 heap_size_limit

Open
#632 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
3.5k
Forks
429
Avg merge
3d 3h
Merged PRs (30d)
22

Description

Would it be possible to add heap_size_limit gauge to the default nodejs metrics that get collected?

It would be useful for displaying an upper limit for heap usage of node processes

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the default Node.js metrics collector and its existing heap-related metrics, then review the linked Node.js V8 heap statistics API for heap_size_limit. Done means the default metrics expose a gauge for the heap limit and the related metric behavior is covered by the project's existing checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
observability
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.