diff options
| author | Ben Foster <bpfoster@gmail.com> | 2024-03-29 10:42:04 -0400 |
|---|---|---|
| committer | Ben Foster <bpfoster@gmail.com> | 2024-03-29 10:46:16 -0400 |
| commit | 61669790edf48c258ca5d904fc0bfc77a659646a (patch) | |
| tree | 11559f1c340dd5a3c593519fb16f41b37304bbd7 /robusta_krr | |
| parent | be90947b49afa7e69b8024758bb18824d466d34e (diff) | |
Add selectors to Prometheus discovery
Adds labels to the promethues discovery selectors that follow the convention used by the prometheus-community chart
Diffstat (limited to 'robusta_krr')
| -rw-r--r-- | robusta_krr/core/integrations/prometheus/metrics_service/prometheus_metrics_service.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/robusta_krr/core/integrations/prometheus/metrics_service/prometheus_metrics_service.py b/robusta_krr/core/integrations/prometheus/metrics_service/prometheus_metrics_service.py index e61ef4c..2833496 100644 --- a/robusta_krr/core/integrations/prometheus/metrics_service/prometheus_metrics_service.py +++ b/robusta_krr/core/integrations/prometheus/metrics_service/prometheus_metrics_service.py @@ -34,6 +34,7 @@ class PrometheusDiscovery(MetricsServiceDiscovery): return super().find_url( selectors=[ + "app.kubernetes.io/name=prometheus,app.kubernetes.io/component=server", "app=kube-prometheus-stack-prometheus", "app=prometheus,component=server", "app=prometheus-server", |
