I am using prometheus and grafana to monitor several servers. I have a metric set up that will pass a value of 1 if a folder on the server is up-to-date (it's hash matches the control server's hash for that folder) and a 0 if it isn't. When I trigger updates I'd like to be able to check grafana to see how many of the servers have updated. My metric includes 4 labels that refer to which instance, type, folder and server they are referring to. So far I haven't been able to find anything that will allow me to show a pie chart or a guage that shows 4/6 (for example) as updated.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.