From 3d7c8e2044265e56199cc664bb13504ceb1f5aa3 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Wed, 5 May 2021 11:46:32 +0900 Subject: [PATCH] Unmonitor k8s. --- .../files/etc/prometheus.d/prometheus.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/cookbooks/prometheus/files/etc/prometheus.d/prometheus.yml b/cookbooks/prometheus/files/etc/prometheus.d/prometheus.yml index aed8def..65d745a 100644 --- a/cookbooks/prometheus/files/etc/prometheus.d/prometheus.yml +++ b/cookbooks/prometheus/files/etc/prometheus.d/prometheus.yml @@ -19,21 +19,6 @@ rule_files: # Here it's Prometheus itself. scrape_configs: # The job name is added as a label `job=` to any timeseries scraped from this config. - - job_name: 'federate' - scrape_interval: 15s - - honor_labels: true - metrics_path: '/federate' - - params: - 'match[]': - - '{job="prometheus"}' - - '{__name__=~"job:.*"}' - - static_configs: - - targets: - - '192.168.10.204:9090' - - job_name: 'prometheus' # metrics_path defaults to '/metrics'