I am using prometheus 2.37.5 server for usage monitoring and I have setup the queries inside grafana. I would like to know if there is a way/query to get CPU, Memory and Storage metric graphs of specific user as my current queries are only for showing graphs of total metrics of the hardware runners.
Prometheus is agnostic on the semantics of the metrics themselves; whether you can group by a user or not will depend if the metric generator attaches a label to the metrics that can be used to infer the user. For example, it can add a
user=<uid> label that you can use to group the metrics by or some info metric with relevant label that you can then join prior to grouping by.
Without knowing more details about what you are using to generate the metrics nor what information the metrics have it is hard to move further.