Prometheus exporter for Cgroup v2 metrics, written in Go with pluggable metric collectors similar to node_exporter.
The cgroupv2_exporter
listens on HTTP port 9100 by default. See the --help
output for more options.
Collectors are enabled by providing a --collector.<name>
flag.
Collectors that are enabled by default can be disabled by providing a --no-collector.<name>
flag.
To enable only some specific collector(s), use --collector.disable-defaults --collector.<name> ...
.
Name | Description |
---|---|
memory.current | |
memory.swap.current | |
memory.high | |
memory.pressure |
Name | Description |
---|---|
memory.stat |
The code structure of cgroupv2_exporter is taken from node_exporter and hence adding more collectors is also similar (see collector package). The parsers package provides parsers which can be used for converting for most of the cgroup files into p8s metrics.