Skip to content

Add CODE_OF_CONDUCT.md (Bounty #510)#475

Merged
Scottcjn merged 6 commits intoScottcjn:mainfrom
ansomeck:add-code-of-conduct
Mar 1, 2026
Merged

Add CODE_OF_CONDUCT.md (Bounty #510)#475
Scottcjn merged 6 commits intoScottcjn:mainfrom
ansomeck:add-code-of-conduct

Conversation

@ansomeck
Copy link
Contributor

@ansomeck ansomeck commented Mar 1, 2026

Adds Contributor Covenant Code of Conduct v2.1.

Closes #510 (1 RTC)

RTC Wallet: RTCf4c3ff0e8443fb3c420fa7c23e7fef36cde61cab

ansomeck added 6 commits March 1, 2026 14:59
- Prometheus-compatible metrics exporter for RustChain nodes
- Collects metrics: node health, miners, epoch, balances, Hall of Fame, fees
- Pre-built Grafana dashboard with 10 panels
- Docker Compose setup (exporter + Prometheus + Grafana)
- Alert rules for node health, miner status, and balances
- Systemd service file for production deployment
- Comprehensive README with setup instructions

Metrics exposed on :9100/metrics
Grafana dashboard auto-refresh every 30s

Closes Scottcjn#504
- Use stats object from API instead of iterating categories
- Fix epoch_seconds_remaining to handle negative values
- All metrics now working correctly
- Was showing 88.44 instead of 0.44 (wrong by 100x)
- Now correctly uses (slot % blocks) / blocks for 0-1 range
- epoch_seconds_remaining now calculates remaining blocks in current epoch
- Matches bounty requirements exactly
@github-actions github-actions bot added documentation Improvements or additions to documentation BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) size/L PR: 201-500 lines labels Mar 1, 2026
@Scottcjn Scottcjn merged commit 6e76385 into Scottcjn:main Mar 1, 2026
3 checks passed
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) documentation Improvements or additions to documentation size/L PR: 201-500 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants