diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2025-09-15 01:07:58 +0200 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2025-09-15 01:07:58 +0200 |
| commit | 967be9e750221ab2ab783f95df79bb26d290a45e (patch) | |
| tree | 6802900a5e975f9f68b169f0f503f040056d6952 /idvoc-2025/metrics/prometheus.yml | |
Diffstat (limited to 'idvoc-2025/metrics/prometheus.yml')
| -rw-r--r-- | idvoc-2025/metrics/prometheus.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/idvoc-2025/metrics/prometheus.yml b/idvoc-2025/metrics/prometheus.yml new file mode 100644 index 0000000..27def20 --- /dev/null +++ b/idvoc-2025/metrics/prometheus.yml @@ -0,0 +1,16 @@ +global: + scrape_interval: 5s # Set the scrape interval to every 15 seconds. Default is every 1 minute. + +# A scrape configuration containing exactly one endpoint to scrape: +# Here it's Prometheus itself. +scrape_configs: + # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config. + - job_name: "prometheus" + + # metrics_path defaults to '/metrics' + # scheme defaults to 'http'. + + static_configs: + - targets: ["localhost:9090"] + + # FIXME Expand scrape_configs here |
