diff options
| author | Robert Günzler <r@gnzler.io> | 2025-09-07 17:32:13 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2025-09-07 17:42:42 +0200 |
| commit | 38be6c13f76e893cf47636257071b440dec0c5b2 (patch) | |
| tree | f7ded3235a7e3362cbd1ed3d91523968fe0faf90 /bundles/prometheus/files/prometheus.yml | |
initial commit
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bundles/prometheus/files/prometheus.yml')
| -rw-r--r-- | bundles/prometheus/files/prometheus.yml | 28 |
1 files changed, 28 insertions, 0 deletions
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 |