Skip to content

Commit e8df44e

Browse files
Merge pull request #1395 from PhilipGough/reinstate-dropped-metrics
Bug 2007677: Reinstate dropped metrics
2 parents cb6c967 + 4d7188c commit e8df44e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

assets/control-plane/service-monitor-kubelet.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,16 @@ spec:
6666
sourceLabels:
6767
- __name__
6868
- action: drop
69-
regex: (container_fs_.*|container_spec_.*|container_blkio_device_usage_total|container_file_descriptors|container_sockets|container_threads_max|container_threads|container_start_time_seconds|container_last_seen);;
69+
regex: (container_spec_.*|container_file_descriptors|container_sockets|container_threads_max|container_threads|container_start_time_seconds|container_last_seen);;
7070
sourceLabels:
7171
- __name__
7272
- pod
7373
- namespace
74+
- action: drop
75+
regex: (container_fs_.*|container_blkio_device_usage_total);.+
76+
sourceLabels:
77+
- __name__
78+
- container
7479
- action: drop
7580
regex: container_memory_failures_total
7681
sourceLabels:

jsonnet/jsonnetfile.lock.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@
121121
"subdir": "jsonnet/kube-prometheus"
122122
}
123123
},
124-
"version": "6f744e24a5c75a3f8f631dc966b40177208a21bf",
125-
"sum": "cbOPi0ArIyjnDsW289gDieoSvH+ccow1p/uNFiV6zOk="
124+
"version": "211e758dfeae14ac1eb018599d0b141b3b2c3d9c",
125+
"sum": "7Y2gI0uyUCeEpjdhPIOxLs9vHu6cnOUu311HNSN1BiE="
126126
},
127127
{
128128
"source": {

0 commit comments

Comments
 (0)