From c9197b9bfd5cd3ab49ee7dfdc81d207715ccd5d8 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 23 Feb 2026 14:19:55 +0100 Subject: prometheus: modernize console + alerts 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 | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'bundles/prometheus/files/prometheus.yml') diff --git a/bundles/prometheus/files/prometheus.yml b/bundles/prometheus/files/prometheus.yml index 0614c8c..38841e5 100644 --- a/bundles/prometheus/files/prometheus.yml +++ b/bundles/prometheus/files/prometheus.yml @@ -9,16 +9,24 @@ global: # label_name_length_limit: 200 # label_value_length_limit: 200 +# TODO: pending release +# storage: +# tsdb: +# retention: +# time: 30d +# size: 6GB + rule_files: - - rule_*.yml + - /etc/prometheus/rules/*.json + - /etc/prometheus/rules/*.yaml + - /etc/prometheus/rules/*.yml scrape_configs: - - job_name: prometheus static_configs: - - targets: [localhost:9090] - labels: - instance: inazuma + - targets: [localhost:9090] + labels: + instance: inazuma - job_name: service-discovery file_sd_configs: @@ -26,3 +34,9 @@ scrape_configs: - /etc/prometheus/services/*.json - /etc/prometheus/services/*.yaml - /etc/prometheus/services/*.yml + +alerting: + alertmanagers: + - scheme: http + static_configs: + - targets: [localhost:9093] -- cgit 1.4.1