prometheus / prometheus/client_js
Please consider adding a getClusterMetricsAsJSON funtion
Nobody has claimed this yet.
- #471 by @PatrLind — closed without merging
- Dominant language
- JavaScript
- Stars
- 3.5k
- Forks
- 429
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 22
Description
At the moment it seems the cluster metrics are only available in the string format and not the JSON format.
I seems like it would be trivial to also add the JSON variant to the clusterMetrics function as well.
This way it would mirror how the non clustered metrics Registry interface work.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the clusterMetrics entry point and compare it with the non-clustered Registry interface mentioned in the issue. Check the closed pull request for prior context, then confirm that the requested JSON variant mirrors the existing string-format metrics behavior and has corresponding coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100