-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Comparing changes
Open a pull request
base repository: google/cadvisor
base: v0.57.0
head repository: google/cadvisor
compare: v0.60.0
- 6 commits
- 2,519 files changed
- 2 contributors
Commits on Jun 2, 2026
-
Expose additional cgroup v2 memory.stat metrics
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>
Configuration menu - View commit details
-
Copy full SHA for 1958580 - Browse repository at this point
Copy the full SHA 1958580View commit details
Commits on Jun 20, 2026
-
lib: add github.com/google/cadvisor/lib, a lean kubelet-focused libra…
…ry module A subdirectory module holding the kubelet-only surface of cAdvisor (manager, container, fs, cache, machine, metrics, storage, stats, watcher, cadvisorflags, and lib/model). The manager exposes injection seams that the full binary fills in and the kubelet leaves nil, so the library stays lean. lib/model merges the leaf types of info/v1 and info/v2. Both named a filesystem type FsInfo (machine-level vs runtime); since they now share one package, the runtime type keeps the name FsInfo and the machine-level one is FilesystemInfo. Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d700d9b - Browse repository at this point
Copy the full SHA d700d9bView commit details -
build: wire the lib module via require+replace and cover it in build/CI
root and cmd require+replace github.com/google/cadvisor/lib => ./lib (and ../lib). build.sh stamps version symbols in lib/version; the Makefile and check_gotidy.sh run tests/lint/tidy over the lib module too. Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 435c64e - Browse repository at this point
Copy the full SHA 435c64eView commit details -
info/v1, info/v2: alias shared types to lib/model
info/v1 becomes thin aliases to lib/model plus the v1 consts and docker types. info/v2 aliases the identical leaf types and keeps its own ContainerInfo, ContainerStats and Spec, plus the from-v1 converters the REST handlers use. Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b6e9b05 - Browse repository at this point
Copy the full SHA b6e9b05View commit details -
root: consume the lib module (redirect imports, drop migrated packages)
Redirect moved-package imports to github.com/google/cadvisor/lib/* and delete the duplicated root copies. The storage-driver registry consolidates into lib/storage -- root and lib both registered the storage_driver_* flags, which would double-register. The remaining root packages (collector, events, perf, resctrl, summary, validate, client, ...) adapt to the library. Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1024739 - Browse repository at this point
Copy the full SHA 1024739View commit details -
cmd: build the binary against lib + register the injection seams
cmd builds the cAdvisor binary and v1/v2 REST API against lib, registering the perf/resctrl factories, summary reader, process-list and app-metrics providers, the cpu-load reader, and the events.EventManager (via the library's EventSink) into the manager's seams. Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for eb7a559 - Browse repository at this point
Copy the full SHA eb7a559View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.57.0...v0.60.0