Skip to content

Prometheus exporter for Cgroup v2 metrics, written in Go with pluggable metric collectors similar to node_exporter.

License

Notifications You must be signed in to change notification settings

asama-ai/cgroupv2_exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cgroupv2_exporter

Prometheus exporter for Cgroup v2 metrics, written in Go with pluggable metric collectors similar to node_exporter.

Installation and Usage

The cgroupv2_exporter listens on HTTP port 9100 by default. See the --help output for more options.

Collectors

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> ....

Enabled by default

Name Description
memory.current
memory.swap.current
memory.high
memory.pressure

Disabled by default

Name Description
memory.stat

Contributing

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.

About

Prometheus exporter for Cgroup v2 metrics, written in Go with pluggable metric collectors similar to node_exporter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.3%
  • Makefile 4.7%