From bda9d02a7a12fd41d0ba2918101e01c36566163d Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Tue, 29 Oct 2024 17:14:05 +0100 Subject: [PATCH] Create prometheus.yml --- .../volume-data/prometheus/prometheus.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 examples/grafana-monitoring/volume-data/prometheus/prometheus.yml diff --git a/examples/grafana-monitoring/volume-data/prometheus/prometheus.yml b/examples/grafana-monitoring/volume-data/prometheus/prometheus.yml new file mode 100644 index 0000000..77da1f1 --- /dev/null +++ b/examples/grafana-monitoring/volume-data/prometheus/prometheus.yml @@ -0,0 +1,17 @@ + +# my global config +global: + scrape_interval: 15s + 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 + # scrape_timeout is set to the global default (10s). + +scrape_configs: + - job_name: crowdsec_myMachine + static_configs: + - targets: ["crowdsec:6060"]