Commit Graph

2295 Commits

Author SHA1 Message Date
Damien Grisonnet
374413f10a Merge pull request #1409 from dgrisonnet/drop-pa-metrics
Drop some of the metrics exposed by prometheus-adapter
2021-09-30 17:45:15 +02:00
Damien Grisonnet
d7446e6244 Merge pull request #1407 from jan--f/node-exporter-1.2.2-arg-name-change
jsonnet/node-exporter: adjust to node-exporter v1.2.0 arg name change
2021-09-29 18:17:06 +02:00
Damien Grisonnet
5ebbb65276 jsonnet: drop some of prometheus-adapter metrics
The current implementation of prometheus-adapter exposes a lot of
metrics about the health of its aggregated apiserver. The issue is that
the some of these metrics are not very useful in the context of
prometheus-adapter, and we currently can't avoid exposing them since
they are registered to the Kubernetes global Prometheus registry. Until
this is improved in upstream Kubernetes, we could benefit from dropping
some of the metrics that are not very useful.

Before this change, in a default kube-prometheus installation, we would
have 800+ series for prometheus-adapter against 400+, so we divided the
number of series by two will focusing on the most valuable metrics for
prometheus-adapter.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-09-29 13:02:00 +02:00
Jan Fajerski
6fa097c0ed jsonnet/node-exporter: adjust to node-exporter v1.2.0 arg name change
In version [node-exporter v1.2.0](https://github.com/prometheus/node_exporter/releases/tag/v1.2.0)
two argument name changes were introduced. While the old names still
work (with a deprecation warning), lets use the new names.

Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2021-09-29 11:15:10 +02:00
Damien Grisonnet
a2eee1803a Merge pull request #1404 from prometheus-operator/automated-updates-main
[bot] [main] Automated version update
2021-09-28 11:56:30 +02:00
Damien Grisonnet
18287f2bbd Merge pull request #1402 from PhilipGough/cadvisor-metrics-2
Keep 'container_fs_.*' metrics from cAdvisor
2021-09-28 11:13:24 +02:00
simonpasquier
9a3d5d42e1 [bot] [main] Automated version update 2021-09-28 08:41:28 +00:00
Philip Gough
58e2c131c2 Keep 'container_fs_.*' metrics from cAdvisor 2021-09-27 17:13:00 +01:00
Damien Grisonnet
53a2f066d3 Merge pull request #1401 from prometheus-operator/automated-updates-main
[bot] [main] Automated version update
2021-09-27 12:00:29 +02:00
dgrisonnet
02776a1d37 [bot] [main] Automated version update 2021-09-27 09:53:31 +00:00
Damien Grisonnet
f16bb13c67 Merge pull request #1399 from arajkumar/bump-thanos-mixin
thanos: bump to latest and add `thanosPrometheusCommonDimensions`
2021-09-27 11:12:32 +02:00
Arunprasad Rajkumar
c5d265a14e thanos: bump to latest and add thanosPrometheusCommonDimensions
This commit pulls latest changes from thanos mixins and sets `thanosPrometheusCommonDimensions`
to `namespace, pod` for k8s use case.

Refer https://github.com/thanos-io/thanos/pull/4508 for more details.

Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com>
2021-09-27 12:07:08 +05:30
Damien Grisonnet
211e758dfe Merge pull request #1396 from PhilipGough/dropped-cadvisor-metrics
Adjust dropped metrics from cAdvisor
2021-09-24 18:43:06 +02:00
Philip Gough
56f96e6389 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.
2021-09-24 17:24:01 +01:00
Damien Grisonnet
7f1092cdde Merge pull request #1344 from PhilipGough/MON-1085
jsonnet: Support scraping the config-reloader for AlertManager and Pr…
2021-09-22 16:16:48 +02:00
Philip Gough
7b32afb8aa jsonnet: Support scraping the config-reloader for AlertManager and Prometheus 2021-09-22 14:54:12 +01:00
Damien Grisonnet
44466ff434 Merge pull request #1388 from prometheus-operator/automated-updates-main
[bot] [main] Automated version update
2021-09-20 16:16:29 +02:00
dgrisonnet
a232cca3b6 [bot] [main] Automated version update 2021-09-20 07:39:09 +00:00
Arthur Silva Sens
43f7268853 Merge pull request #1373 from spasche/always-generate-grafana-config
Always generate grafana-config secret
2021-09-16 09:33:03 -03:00
Sylvain Pasche
6d5c1b793c Always generate grafana-config secret
Since https://github.com/brancz/kubernetes-grafana/pull/115, upstream
grafana contains a non-empty config. Generate the grafana-config secret
unconditionally even if no user config is passed.
2021-09-16 14:25:53 +02:00
Damien Grisonnet
80632e8962 Merge pull request #1365 from dgrisonnet/kubeconform
Run kubeconform against all  supported versions of Kubernetes
2021-09-13 17:24:23 +02:00
Damien Grisonnet
c765d231aa Merge pull request #1375 from prometheus-operator/automated-updates-main
[bot] [main] Automated version update
2021-09-13 11:26:58 +02:00
dgrisonnet
6654c13142 [bot] [main] Automated version update 2021-09-13 07:39:05 +00:00
Arthur Silva Sens
eeb7c7125d Merge pull request #1371 from dnsmichi/patch-1
Fix import path in 'monitoring other namespaces' docs
2021-09-09 16:47:10 -03:00
Michael Friedrich
679f5a8d9a Update import path for 'monitoring other namespaces' guide
Changed in 42a3ac0606 from `kube-prometheus` to `main`
2021-09-09 21:29:54 +02:00
Damien Grisonnet
bc82275a07 Merge pull request #1364 from prometheus-operator/automated-updates-main
[bot] [main] Automated version update
2021-09-07 09:39:21 +02:00
dgrisonnet
b663558924 [bot] [main] Automated version update 2021-09-07 07:22:35 +00:00
Damien Grisonnet
6f744e24a5 Merge pull request #1357 from arajkumar/adjust-NodeFilesystemSpaceFillingUp-warning-threshold
Adjust node filesystem space filling up warning threshold to 20%
2021-09-06 19:04:29 +02:00
Damien Grisonnet
76d7cc342b validate: run kubeconform on supported versions
Instead of running kubeconform on only one version of Kubernetes, it
would be better to run it against the 2 latests versions of Kubernetes
that kube-prometheus supports, so that the validation will be in line
with our support policy.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-09-06 18:41:00 +02:00
Arunprasad Rajkumar
4de44139ec add comments to reason fsSpaceFilling threshold adjustment
Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com>
2021-09-02 17:38:02 +05:30
Lili Cosic
fc136a84f6 Merge pull request #1352 from prometheus-operator/automated-updates-main
[bot] [main] Automated version update
2021-09-01 15:21:23 +02:00
Arunprasad Rajkumar
16ef18ec54 assets: regenerate
Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com>
2021-09-01 13:33:41 +05:30
Arunprasad Rajkumar
03471fd86f Adjust threshold for SpaceFillingUp warning alert
Reduce threshold of NodeFilesystemSpaceFillingUp warning alert to 20% space available, instead of 40% (default).

This will align the threshold according to default kubelet GC values
below[1],

"imageMinimumGCAge": "2m0s",
"imageGCHighThresholdPercent": 85,
"imageGCLowThresholdPercent": 80,

[1] https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/

Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com>
2021-09-01 13:29:36 +05:30
dgrisonnet
a1c6a4e21d [bot] [main] Automated version update 2021-08-30 07:39:09 +00:00
Matthias Loibl
8d0aa1f3d9 Merge pull request #1346 from prometheus-operator/automated-updates-main
[bot] [main] Automated version update
2021-08-25 23:13:42 +02:00
simonpasquier
eb52023db2 [bot] [main] Automated version update 2021-08-25 09:37:24 +00:00
Damien Grisonnet
996d516363 Merge pull request #1343 from dgrisonnet/post-release-0.9
Follow-up to release 0.9
2021-08-20 14:31:29 +02:00
Damien Grisonnet
46ba787a94 manifests: regenerate
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-08-20 13:52:12 +02:00
Damien Grisonnet
27aa7afe07 .github: add automated updates of release-0.9
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-08-20 13:49:35 +02:00
Damien Grisonnet
9ef6dff167 jsonnet: unpin dependencies
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-08-20 13:49:12 +02:00
Damien Grisonnet
0ca8df7a35 Merge pull request #1338 from dgrisonnet/cut-release-0.9
Cut release 0.9
2021-08-20 13:44:40 +02:00
Damien Grisonnet
4cfbfae071 Add release-0.9 CHANGELOG
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-08-19 16:43:34 +02:00
Damien Grisonnet
8587958cf0 Update compatibility matrix with release-0.9
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-08-19 16:43:34 +02:00
Damien Grisonnet
eca67844af jsonnet: pin and update jsonnet depdencies
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-08-19 16:41:53 +02:00
Damien Grisonnet
0df510d1fa Merge pull request #1337 from dgrisonnet/kubernetes-1.22
Test against Kubernetes 1.22
2021-08-18 19:03:21 +02:00
Damien Grisonnet
da35954628 .github: drop support for 1.20 on main
According to our policy, main branch of kube-prometheus should support
the 2 latest versions of Kubernetes. These changes update the tests and
the compatibility matrix to reflect that.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-08-18 17:53:40 +02:00
Damien Grisonnet
b5ec93208b jsonnet: drop deprecated etcd metric
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-08-18 17:27:50 +02:00
Damien Grisonnet
518c37d72d .github: test against Kubernetes 1.22
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-08-18 14:04:33 +02:00
Paweł Krupa
35397089d1 Merge pull request #1334 from dgrisonnet/prometheus-adapter-v0.9.0
Update prometheus-adapter to v0.9.0
2021-08-17 18:31:40 +02:00
Damien Grisonnet
45adc03cfb jsonnet: update prometheus-adapter to v0.9.0
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2021-08-17 18:05:45 +02:00