Monitoring via Grafana » History » Revision 3
Revision 2 (manawyrm, 04/19/2022 08:53 PM) → Revision 3/5 (tnt, 04/21/2022 10:41 AM)
h1. Grafana monitoring Grafana can be used to monitor the performance of the network connection and osmo-e1d/icE1usb. !{width:80%}grafana.png! When using Grafana + Prometheus, use "statd_exporter":https://github.com/prometheus/statsd_exporter statsd_exporter ([[https://github.com/prometheus/statsd_exporter]]) to receive the statsd-UDP-messages and report them to Prometheus. * install Grafana + Prometheus * install statsd_exporter * configure Prometheus to query statsd_exporter (add to scrape_configs in @/etc/prometheus/prometheus.yml@): <pre><code class="yaml"> - job_name: 'statsd_exporter' scrape_interval: 5s static_configs: - targets: ['localhost:9102'] </code></pre> * add the following config snippet to @osmo-e1d.cfg@: <pre> stats interval 10 stats reporter statsd remote-ip 127.0.0.1 remote-port 9125 level global no prefix enable </pre>(note the different port) * add Prometheus as a Data Source in Grafana via GUI * install dashboard from .json dump below * (optional) change data sources according to OCTOI remote IP/port A pre-made dashboard is available: [[https://gist.github.com/Manawyrm/714dc4d21c41d672583022e5329ba1fd]]