ton-blockchain / ton

Main TON monorepo
Other
2.95k stars 890 forks source link

Expose prometheus-compatible validator metrics #975

Open MakarovSg opened 5 months ago

MakarovSg commented 5 months ago

The prometheus metrics is pretty much an industry standard. It would be really helpful to have a separate port of a local validator exposing crucial metrics like chain head, current headlag, peer information, network metrics. These metrics can help teams to configure a robust monitoring and alerting infrastructure ensuring high QoS for their customers. Current workflow with logging into the node and running status command is completely unmanageable on the larger scale.

jer117 commented 5 months ago

I agree, it should be exposed. I was searching for the port.

tvorogme commented 5 months ago

@MakarovSg maybe https://github.com/troman29/ton-exporter can help