Skip to content

Commit 979c092

Browse files
committed
Reduce apiserver metrics cardinality of non-core APIs
* Reduce `apiserver_request_duration_seconds_count` cardinality by dropping series for non-core Kubernetes APIs. This is done to match `apiserver_request_duration_seconds_count` relabeling * These two relabels must be performed the same way to avoid affecting new SLO calculations (upcoming) * See kubernetes-monitoring/kubernetes-mixin#498 Related: #596
1 parent db8e94b commit 979c092

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGES.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ Notable changes between versions.
44

55
## Latest
66

7+
### Addons
8+
9+
* Reduce apiserver metrics cardinality for non-core APIs ([#830](https://github.com/poseidon/typhoon/pull/830))
10+
11+
## v1.19.1
12+
713
* Kubernetes [v1.19.1](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.19.md#v1191)
814
* Change control plane seccomp annotations to GA `seccompProfile` ([#822](https://github.com/poseidon/typhoon/pull/822))
915
* Update Cilium from v1.8.2 to [v1.8.3](https://github.com/cilium/cilium/releases/tag/v1.8.3)

addons/prometheus/config.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ data:
6868
- source_labels: [__name__, group]
6969
regex: apiserver_request_duration_seconds_bucket;.+
7070
action: drop
71+
- source_labels: [__name__, group]
72+
regex: apiserver_request_duration_seconds_count;.+
73+
action: drop
7174
7275
# Scrape config for node (i.e. kubelet) /metrics (e.g. 'kubelet_'). Explore
7376
# metrics from a node by scraping kubelet (127.0.0.1:10250/metrics).

0 commit comments

Comments
 (0)