prometheus / prometheus/exporter-toolkit

feature: pull web.disable-exporter-metrics functionality into this package

Open
#119 10 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
311
Forks
109
Avg merge
3d 59m
Merged PRs (30d)
6

Description

The node_exporter implements a command-line flag web.disable-exporter-metrics that disables publishing the exporter's process stats. Pulling that functionality into this package with some sort of flag helper similar to promlog would allow all Go exporters to benefit from this behaviour without having to re-implement it.

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 comparing node_exporter's web.disable-exporter-metrics behavior with the exporter-toolkit package and examining the existing promlog flag helper as the stated model. Determine the package entry point and tests that should own the shared flag behavior. Done means Go exporters can use the helper to disable exporter process metrics without reimplementing the functionality.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability-sre
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.