Skip to content

Conversation

@warku123
Copy link

What does this PR do?
Add a Tron node monitoring service (tools/node_monitor) that detects empty blocks and SR set changes, exposes Prometheus metrics on 0.0.0.0:9098, and is runnable via Docker Compose with YAML-based config.

Why are these changes required?
To provide a single, configurable monitor on empty blocks and SR set change for multiple Tron nodes, with reliable empty-block/SR metrics that can be scraped by Prometheus/Thanos and visualized in Grafana.

This PR has been tested by:

  • Manual Testing

Follow up

Extra details
Config is now YAML-only (-config), and the default metrics port is 9098.

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.

2 participants