How to add alerts for mysql server uptime/restart/shutdown

Hi ivishnu7 , I haven’t done this specific type of graph, but Prometheus allows for a metric called ‘up’, which is tracking whether mysqld_exporter is up. Perhaps you could create a graph using:

up{instance="ps57",job="mysql"}