prometheus / prometheus/client_ruby

Script to dump contents of DirectFileStore files

Open
#118 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
558
Forks
154
PR merge metrics
No merged PRs in 30d

Description

When working on the DirectFileStore code, it would be helpful to have a small script that prints the metrics from those files in a human-readable format. We probably wouldn't distribute this with the gem.

This was a good idea in the original multi-process support PR for a debugging utility the would help when working on DirectFileStore.

Contributor guide

Open the contributing guide

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 reading the DirectFileStore implementation and the linked multi-process support PR discussion. Define a standalone debugging script that reads DirectFileStore files and prints their metrics in a human-readable format; the work is done when the script provides the proposed diagnostic output without becoming part of the distributed gem.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.