Skip to content

[BOUNTY #504] Prometheus Metrics Exporter + Grafana Dashboard (27 RTC)#8039

Open
zhaog100 wants to merge 1 commit into
Scottcjn:mainfrom
zhaog100:prometheus-exporter-504
Open

[BOUNTY #504] Prometheus Metrics Exporter + Grafana Dashboard (27 RTC)#8039
zhaog100 wants to merge 1 commit into
Scottcjn:mainfrom
zhaog100:prometheus-exporter-504

Conversation

@zhaog100

Copy link
Copy Markdown
Contributor

Summary

Complete Prometheus metrics exporter for RustChain node monitoring.

Deliverables

  • Prometheus exporter: Scrapes node health, epoch, miners, and chain stats
  • 15+ metrics: node_health, epoch_progress, miner_count, miner_antiquity_multiplier, etc.
  • Configurable: Node URL and listen port via CLI args
  • Deployment: systemd unit file + Dockerfile included
  • Grafana dashboard: Basic JSON dashboard for operational visibility
  • README: Complete setup and verification instructions

Verification Proof

  • Example /metrics output available in README
  • systemd service file: prometheus-rustchain-exporter.service
  • All metrics documented in README.md

Fixes Scottcjn/rustchain-bounties#504

…cottcjn#504)

- Rewrite exporter using stdlib only (no Flask/prometheus_client deps)
- Scrapes /health, /epoch, /api/miners from node API
- Exposes 15+ metrics in Prometheus exposition format
- Per-miner labels: hardware_type, device_arch, antiquity_multiplier
- Supports self-signed TLS via --ca-bundle or --no-tls-verify
- Includes /health and /metrics endpoints
- systemd unit and Dockerfile included
- README with setup instructions
@github-actions github-actions Bot added BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) size/L PR: 201-500 lines labels Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) size/L PR: 201-500 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BOUNTY] Prometheus Metrics Exporter + Grafana Dashboard (27 RTC)

1 participant