Skip to content

feat: add health check Prometheus stale-metrics detection#20

Closed
xudexing19920829 wants to merge 1 commit into
Soengkit:mainfrom
xudexing19920829:feat/health-check-stale-metrics
Closed

feat: add health check Prometheus stale-metrics detection#20
xudexing19920829 wants to merge 1 commit into
Soengkit:mainfrom
xudexing19920829:feat/health-check-stale-metrics

Conversation

@xudexing19920829

Copy link
Copy Markdown

Summary

Added script to check for stale Prometheus metrics and alert when metrics haven't been updated within the expected timeframe.

Features

  • Query Prometheus for metric freshness
  • Configurable stale threshold (default: 5 minutes)
  • Alert webhook integration
  • Multiple metric checking
  • JSON output for automation

Changes

  • health_check_stale_metrics.py: New file with stale metrics detection

Testing

The script has been tested and works correctly:

✅ All 5 metrics are fresh!

Related Issue

Closes #1


This PR adds the required health check Prometheus stale-metrics detection as specified in the bounty requirements.

Added script to check for stale Prometheus metrics and alert when metrics haven't been updated.

Closes NemoMi#1
@Soengkit

Copy link
Copy Markdown
Owner

Thanks for the PR. I am closing this because Soengkit/zeroeye is only my working fork of the upstream repository, not an official bounty intake or payment queue. The fork parent/source is NemoMi/zeroeye: https://github.com/NemoMi/zeroeye. Please use the upstream owner current process for any submission or claim, and do not post payment details here.

@Soengkit Soengkit closed this Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Payout tracking for upstream PR #281

2 participants