diff --git a/projects/grafana/values/kube-prometheus-stack.yaml b/projects/grafana/values/kube-prometheus-stack.yaml index 2f5a35d8..4ca1675c 100644 --- a/projects/grafana/values/kube-prometheus-stack.yaml +++ b/projects/grafana/values/kube-prometheus-stack.yaml @@ -1627,45 +1627,45 @@ prometheus: static_configs: - targets: ['esplant.lan:80'] - - job_name: 'kubernetes-services' - scrape_interval: 120s - kubernetes_sd_configs: - - role: service - relabel_configs: - - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_scrape] - action: keep - regex: true - - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_path] - action: replace - target_label: __metrics_path__ - regex: (.+) - - source_labels: [__address__, __meta_kubernetes_service_annotation_prometheus_io_port] - action: replace - regex: ([^:]+)(?::\d+)?;(\d+) - replacement: $1:$2 - target_label: __address__ - - action: labelmap - regex: __meta_kubernetes_service_label_(.+) - - source_labels: [__meta_kubernetes_namespace] - action: replace - target_label: kubernetes_namespace - - source_labels: [__meta_kubernetes_service_name] - action: replace - target_label: kubernetes_service_name - - - job_name: 'kubernetes-pods' - scrape_interval: 120s - kubernetes_sd_configs: - - role: pod - relabel_configs: - - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape] - action: keep - regex: true - - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path] - action: replace - target_label: __metrics_path__ - regex: (.+) - - source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port] + # - job_name: 'kubernetes-services' + # scrape_interval: 120s + # kubernetes_sd_configs: + # - role: service + # relabel_configs: + # - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_scrape] + # action: keep + # regex: true + # - source_labels: [__meta_kubernetes_service_annotation_prometheus_io_path] + # action: replace + # target_label: __metrics_path__ + # regex: (.+) + # - source_labels: [__address__, __meta_kubernetes_service_annotation_prometheus_io_port] + # action: replace + # regex: ([^:]+)(?::\d+)?;(\d+) + # replacement: $1:$2 + # target_label: __address__ + # - action: labelmap + # regex: __meta_kubernetes_service_label_(.+) + # - source_labels: [__meta_kubernetes_namespace] + # action: replace + # target_label: kubernetes_namespace + # - source_labels: [__meta_kubernetes_service_name] + # action: replace + # target_label: kubernetes_service_name + # + # - job_name: 'kubernetes-pods' + # scrape_interval: 120s + # kubernetes_sd_configs: + # - role: pod + # relabel_configs: + # - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_scrape] + # action: keep + # regex: true + # - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path] + # action: replace + # target_label: __metrics_path__ + # regex: (.+) + # - source_labels: [__address__, __meta_kubernetes_pod_annotation_prometheus_io_port] - job_name: 'kubernetes-services' scrape_interval: 120s kubernetes_sd_configs: