prometheus-community / prometheus-community/stackdriver_exporter

Health endpoint

Open
#24 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Go
Stars
295
Forks
117
Avg merge
9d 14h
Merged PRs (30d)
7

Description

Hey there,

Awesome work, thanks for doing this!

What do you think about adding a /healthz endpoint that will periodically try to get metrics and return a 503 in case authentication with GCP fails so this can be monitored without having to check logs?

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 locating the HTTP route registration and the existing metrics collection and GCP authentication path; the issue names no files or tests. Confirm the desired /healthz response for successful and failed authentication, including the periodic check, and verify coverage for the 503 monitoring behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
gcp, go, prometheus
Domain
api, backend, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.