From 38be6c13f76e893cf47636257071b440dec0c5b2 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sun, 7 Sep 2025 17:32:13 +0200 Subject: initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- bundles/prometheus/files/prometheus.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 bundles/prometheus/files/prometheus.yml (limited to 'bundles/prometheus/files/prometheus.yml') diff --git a/bundles/prometheus/files/prometheus.yml b/bundles/prometheus/files/prometheus.yml new file mode 100644 index 0000000..0614c8c --- /dev/null +++ b/bundles/prometheus/files/prometheus.yml @@ -0,0 +1,28 @@ +global: + scrape_interval: 60s + scrape_timeout: 30s + # evaluation_interval: 30s + # body_size_limit: 15MB + # sample_limit: 1500 + # target_limit: 30 + # label_limit: 30 + # label_name_length_limit: 200 + # label_value_length_limit: 200 + +rule_files: + - rule_*.yml + +scrape_configs: + + - job_name: prometheus + static_configs: + - targets: [localhost:9090] + labels: + instance: inazuma + + - job_name: service-discovery + file_sd_configs: + - files: + - /etc/prometheus/services/*.json + - /etc/prometheus/services/*.yaml + - /etc/prometheus/services/*.yml -- cgit 1.4.1