Purpose
This function builds a JSON-formatted line chart showing CPU utilization over time. It
uses v$metric_history, which contains recent time-series metrics
(typically at one-minute intervals), and converts each sample’s end time into a
human-readable format ( HH24:MI). CPU usage values are normalized using
get_cpu_count.