diff options
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 |
