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'],
|
sourceLabels: ['__name__', 'container'],
|
||||||
action: 'drop',
|
action: 'drop',
|
||||||
regex: '(' + std.join('|',
|
regex: '(' + std.join('|',
|
||||||
[ // metrics are available at slice level
|
[
|
||||||
'container_fs_.*',
|
|
||||||
'container_blkio_device_usage_total',
|
'container_blkio_device_usage_total',
|
||||||
]) + ');.+',
|
]) + ');.+',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ spec:
|
|||||||
- pod
|
- pod
|
||||||
- namespace
|
- namespace
|
||||||
- action: drop
|
- action: drop
|
||||||
regex: (container_fs_.*|container_blkio_device_usage_total);.+
|
regex: (container_blkio_device_usage_total);.+
|
||||||
sourceLabels:
|
sourceLabels:
|
||||||
- __name__
|
- __name__
|
||||||
- container
|
- container
|
||||||
|
|||||||
Reference in New Issue
Block a user