kepler icon indicating copy to clipboard operation
kepler copied to clipboard

Exporting Workload Performance Metric as an independent metric that can be queried via Prometheus

Open wangchen615 opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. Currently, the pod_energy_stat metric is a summary object that includes all types of energy consumption metrics, resource usage metrics, and performance metrics like curr_cpu_instr="18972163" and curr_cpu_time="305".

Describe the solution you'd like We would like these performance metrics to be exported as independent queryable metrics so they can be plotted in Grafana Dashboard.

Describe alternatives you've considered For Grafana visualization, we need queryable metrics.

Additional context This would be useful to demonstrate how clever recommender guarantees the workload performance when CPU frequencies are tuned down.

wangchen615 avatar Sep 22 '22 06:09 wangchen615

to confirm , so you want to expose something like following

[]string{"curr_bytes_read", "curr_bytes_writes", "curr_cache_miss", "curr_cgroupfs_cpu_usage_us", "curr_cgroupfs_memory_usage_bytes", "curr_cgroupfs_system_cpu_usage_us", "curr_cgroupfs_user_cpu_usage_us", "curr_cpu_cycles", "curr_cpu_instr", "curr_cpu_time"}

into the prometheus ?

jichenjc avatar Sep 26 '22 01:09 jichenjc

I am working on updating all metrics to be more compliant with Prometheus metrics best practices So, I will send a draft soon and try to solve the problems here!

marceloamaral avatar Sep 26 '22 01:09 marceloamaral

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 17 '23 18:05 stale[bot]

We fixed this.

marceloamaral avatar May 18 '23 05:05 marceloamaral