Scheduled job graphs are empty and most node metrics are empty when some records in sys_cluster_state have an empty node_stats fieldDescriptionIf records in sys_cluster_state exist with no node_stats information, they will cause an issue where node metrics and scheduled job metrics are not populated.Steps to Reproduce 1. Create a record in sys_cluster_state with an empty node_stats field2. Go to the sysauto record "Get and persist Application Insights metrics"3. Run itCurrent Behavior: The script the job runs hits an error in MetricDataCollectorExpected Behavior: The script runs and metrics are collected for valid records in sys_cluster_stateWorkaroundIn the script include "MetricDataCollector" (sys_id: fd7548ee537a50109d9eddeeff7b1253) on line 41 change this:var nodeRecord = new GlideRecord("sys_cluster_state");nodeRecord.query();To this:var nodeRecord = new GlideRecord("sys_cluster_state");nodeRecord.addNotNullQuery('node_stats');nodeRecord.query();Related Problem: PRB1695381