mirror of
https://github.com/google/cadvisor.git
synced 2026-10-28 16:44:49 +08:00
Surface six memory.stat fields that are already collected by the cgroups library but were not exposed by cAdvisor: - file_dirty / file_writeback (bytes) - pgscan / pgsteal (page reclaim activity) - workingset_refault_file / workingset_refault_anon The values are read from the existing MemoryStats.Stats map in setMemoryStats (cgroup v2 only; left at zero on cgroup v1) and exposed through the v1 info API and new Prometheus counters/gauges under the existing "memory" metric set: - container_memory_file_dirty_bytes - container_memory_file_writeback_bytes - container_memory_pgscan_total - container_memory_pgsteal_total - container_memory_workingset_refault_file_total - container_memory_workingset_refault_anon_total Signed-off-by: egorikas <egorgrishechko@gmail.com>
cAdvisor Storage Plugins
cAdvisor supports exporting stats to various storage driver plugins. To enable a storage driver, set the -storage_driver flag.
Storage drivers
- BigQuery. See the documentation for usage.
- ElasticSearch. See the documentation for usage and examples.
- InfluxDB. See the documentation for usage and examples.
- Kafka. See the documentation for usage.
- Prometheus. See the documentation for usage and examples.
- Redis
- StatsD. See the documentation for usage and examples.
stdout- write stats to standard output.