MyTonCtrl prometheus metrics
MyTonCtrl can be configured to expose Prometheus metrics for monitoring and alerting purposes. This guide will walk you through the process of enabling Prometheus metrics in MyTonCtrl.
Metrics delivery method
Currently, MyTonCtrl can only push metrics to Prometheus because of security reasons. So it should be used with the Prometheus Pushgateway service.
Setup
警告
For validators it's highly recommended to run Prometheus and Pushgateway on a separate server.
-
Install Pushgateway
You can install the Pushgateway service by following the instructions in the official documentation. The easiest way to do that is via docker:
docker pull prom/pushgateway
docker run -d -p 9091:9091 prom/pushgateway