Commit Graph
7 Commits
Author SHA1 Message Date
Philip Gough 4a40a2a11c Adjust dropped metrics from cAdvisor
This change drops pod-centric metrics without a non-empty 'container' label.

Previously we dropped pod-centric metrics without a (pod, namespace) label set
however these can be critical for debugging.

Keep 'container_fs_.*' metrics from cAdvisor
2021-09-28 10:18:58 +01:00
Philip Gough 74594f2170 jsonnet: Drop cAdvisor metrics with no (pod, namespace) labels while preserving ability to monitor system services resource usage
The following provides a description and cardinality estimation based on the tests in a local cluster:

container_blkio_device_usage_total - useful for containers, but not for system services (nodes*disks*services*operations*2)
container_fs_.*                    - add filesystem read/write data (nodes*disks*services*4)
container_file_descriptors         - file descriptors limits and global numbers are exposed via (nodes*services)
container_threads_max              - max number of threads in cgroup. Usually for system services it is not limited (nodes*services)
container_threads                  - used threads in cgroup. Usually not important for system services (nodes*services)
container_sockets                  - used sockets in cgroup. Usually not important for system services (nodes*services)
container_start_time_seconds       - container start. Possibly not needed for system services (nodes*services)
container_last_seen                - Not needed as system services are always running (nodes*services)
container_spec_.*                  - Everything related to cgroup specification and thus static data (nodes*services*5)
2021-08-30 12:16:04 +01:00
Philip Gough 710f6aa24d jsonnet: The node exporter should not export data about veth interfaces.
In case of the OVN, the regex was incorrect and was exporting veth metrics.
2021-08-16 10:26:36 +01:00
Philip Gough e37d34ba2d ci: Extend e2e test matrix with v1.21.1 2021-07-05 11:18:57 +01:00
Philip Gough 2d1ffd6459 sync: Update 0.8 dependencies for kubernetes-mixin and generate 2021-07-05 11:01:13 +01:00
Philip Gough 439914c74c ci: bump kind version to 0.11.0 2021-07-05 10:54:01 +01:00
Philip Gough 305857a390 ci: Harden action to wait for kind cluster readiness 2021-07-05 10:25:18 +01:00