Merge pull request #1402 from PhilipGough/cadvisor-metrics-2
Keep 'container_fs_.*' metrics from cAdvisor
This commit is contained in:
@@ -140,8 +140,7 @@ function(params) {
|
||||
sourceLabels: ['__name__', 'container'],
|
||||
action: 'drop',
|
||||
regex: '(' + std.join('|',
|
||||
[ // metrics are available at slice level
|
||||
'container_fs_.*',
|
||||
[
|
||||
'container_blkio_device_usage_total',
|
||||
]) + ');.+',
|
||||
},
|
||||
|
||||
@@ -67,7 +67,7 @@ spec:
|
||||
- pod
|
||||
- namespace
|
||||
- action: drop
|
||||
regex: (container_fs_.*|container_blkio_device_usage_total);.+
|
||||
regex: (container_blkio_device_usage_total);.+
|
||||
sourceLabels:
|
||||
- __name__
|
||||
- container
|
||||
|
||||
Reference in New Issue
Block a user