mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-26 06:01:42 +02:00
27 lines
823 B
Markdown
27 lines
823 B
Markdown
<!--
|
|
---
|
|
title: RAPL metric collector
|
|
description: Collect energy data through the RAPL sysfs interface
|
|
categories: [cc-metric-collector]
|
|
tags: ['Admin']
|
|
weight: 2
|
|
hugo_path: docs/reference/cc-metric-collector/collectors/rapl.md
|
|
---
|
|
-->
|
|
|
|
## `rapl` collector
|
|
|
|
This collector reads running average power limit (RAPL) monitoring attributes to compute average power consumption metrics. See <https://www.kernel.org/doc/html/latest/power/powercap/powercap.html#monitoring-attributes>.
|
|
|
|
The Likwid metric collector provides similar functionality.
|
|
|
|
```json
|
|
"rapl": {
|
|
"exclude_device_by_id": ["0:1", "0:2"],
|
|
"exclude_device_by_name": ["psys"]
|
|
}
|
|
```
|
|
|
|
Metrics:
|
|
* `rapl_average_power`: average power consumption in Watt. The average is computed over the entire runtime from the last measurement to the current measurement
|