bloomberg / bloomberg/goldpinger

Expose dnsResults metics through the /metrics endpoint

Open
#92 0 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2.7k
Forks
187
PR merge metrics
No merged PRs in 30d

Description

I'd love the ability to track dnsResults generated with the HOSTS_TO_RESOLVE parameter as a metric that prometheus can ingest.

It looks like another option to get similar results is to use prometheus's blackbox-exporter...

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 at the /metrics endpoint and trace how dnsResults are generated when HOSTS_TO_RESOLVE is used. Review the existing metric names and endpoint behavior, then verify that the resulting metric is exposed in a form Prometheus can ingest and that the existing endpoint behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, kubernetes, prometheus
Domain
observability
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.