How to query an alert to find no of restarts and crash in grafana dashboard

Hi team
I am new to Grafana and started creating a dashboard to know metrics like CPU Utilization ,memory ,load ,no of restarts and crash of AUT(ECG device),where graphite is a Data source and collectd for metrics
I need help in querying an alert to find the no of restarts ,crash and plugin required to be included in collectd and the best way to visualize them in dashboard

THANK YOU!!