Hello everyone, I’m a newbie to pool operations. My setup is based on IOHK-released docker images. I’m using a useful Grafana dashboard to monitor my nodes.
In the early days, I also tested cardano-community docker images which has built-in tools. As you know, one of the tools I loved is peer analysis of gLiveView. I would like to make an equivalent of this pane with Grafana. I did some research and I couldn’t find how this analysis is made. Is there any ready-to-use dashboard or any information about peer analysis procedure?
Hi Alex, the dashboard I used also has something like that. However, I would like to add a new dashboard or new pane to the existing dashboard so that I can view connection- or peer-wise details. For example, in my topology file, 20 connection + 1 core connection is listed, but 3 of them is unreachable or unavailable at the time of writing. I want to know which one is disconnected, or how many IN connection is established to my relay.
Hi, thanks for sharing. I also have almost the same metrics. I especially focused on IN connection peers. I think I found something. A valuable SP, PANL, shares some tutorials about operating and monitoring nodes. They made some text data extractors, and one of them is IN connection.
In the Grafana Dashboard Tutorial at Grafana Dashboard Tutorial | Cardano Developer Portal that you linked above, the section Add Data from Adapools to the Dashboard explains how to implement a text-file collector using Prometheus to send any numeric data that you want to Grafana, such as results of peer analysis that you may perform.
DEBUGGING / TROUBLESHOOTING
The following page contains useful information on how to test the text-file collector using Prometheus:
If the data that you collect is available in Prometheus, then expect the same data to be available in Grafana for display in your dashboard.
Automate running the script to refresh the peer analysis on a regular schedule by implementing a cron job or service.
It’s such a comprehensive reply, and thank you so much for the guidance. I also found that ss based script also would work for me. I will implement text-file collector for this data. I’ll share my progress. Bests.