![]() Automatic merge from submit-queue (batch tested with PRs 54191, 59374, 59824, 55032, 59906). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Adding per container stats for CRI runtimes **What this PR does / why we need it** This commit aims to collect per container log stats. The change was proposed as a part of #55905. The change includes change the log path from /var/pod/<pod uid>/containername_attempt.log to /var/pod/<pod uid>/containername/containername_attempt.log. The logs are collected by reusing volume package to collect metrics from the log path. Fixes #55905 **Special notes for your reviewer:** cc @Random-Liu **Release note:** ``` Adding container log stats for CRI runtimes. ``` |
||
---|---|---|
.. | ||
BUILD | ||
cadvisor_stats_provider_test.go | ||
cadvisor_stats_provider.go | ||
cri_stats_provider_test.go | ||
cri_stats_provider.go | ||
helper_test.go | ||
helper.go | ||
log_metrics_provider_test.go | ||
log_metrics_provider.go | ||
stats_provider_linux.go | ||
stats_provider_test.go | ||
stats_provider_unsupported.go | ||
stats_provider.go |