Skip to content

feat: Prometheus Metrics Exporter + Grafana Dashboard (40 RTC) (Closes #504)#1716

Open
LaphoqueRC wants to merge 5 commits intoScottcjn:mainfrom
LaphoqueRC:fix/issue-504-7ef1e6
Open

feat: Prometheus Metrics Exporter + Grafana Dashboard (40 RTC) (Closes #504)#1716
LaphoqueRC wants to merge 5 commits intoScottcjn:mainfrom
LaphoqueRC:fix/issue-504-7ef1e6

Conversation

@LaphoqueRC
Copy link
Contributor

@LaphoqueRC LaphoqueRC commented Mar 21, 2026

Description

Created a complete Prometheus monitoring solution with configurable exporter service, deployment options via systemd and Docker Compose, and Grafana dashboard for comprehensive RustChain node observability.

Closes Scottcjn/rustchain-bounties#504

Solana Wallet for Payout

RTC Wallet: RTC2fe3c33c77666ff76a1cd0999fd4466ee81250ff

SOL Wallet: HZV6YPdTeJPjPujWjzsFLLKja91K2Ze78XeY8MeFhfK8

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change
  • 📝 Documentation update
  • ✅ Test addition/update

What Was Built

  • prometheus_exporter.py
  • rustchain-exporter.service
  • docker-compose.monitoring.yml
  • grafana-dashboard.json
  • tests/test_prometheus_exporter.py

Testing

  • Manual testing performed
  • Unit tests added/updated

Checklist

  • Code is clean and follows the issue spec exactly
  • Tests included for new functionality
  • All existing tests pass
  • No debugging code left behind

additional testing: Tests verify metric collection accuracy, API error handling, configuration parsing, and full export workflow. All tests pass with mocked API responses and validate Prometheus metric format compliance.

ref: Scottcjn/rustchain-bounties#504

@github-actions
Copy link

Welcome to RustChain! Thanks for your first pull request.

Before we review, please make sure:

  • Your PR has a BCOS-L1 or BCOS-L2 label
  • New code files include an SPDX license header
  • You've tested your changes against the live node

Bounty tiers: Micro (1-10 RTC) | Standard (20-50) | Major (75-100) | Critical (100-150)

A maintainer will review your PR soon. Thanks for contributing!

@github-actions github-actions bot added BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) tests Test suite changes ci size/XL PR: 500+ lines labels Mar 21, 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) ci size/XL PR: 500+ lines tests Test suite changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant