X-Git-Url: https://piware.de/gitweb/?p=learn-metrics.git;a=blobdiff_plain;f=conf-prometheus%2Fprometheus.yml;fp=conf-prometheus%2Fprometheus.yml;h=592ac7ab509817f89a9c6dee7b2a7e79f6ab1d20;hp=0000000000000000000000000000000000000000;hb=762850f8170ad2411fe014b5af63d4820ac9301f;hpb=b4641dd2003ec91a1bd356814d3507f2477725e0 diff --git a/conf-prometheus/prometheus.yml b/conf-prometheus/prometheus.yml new file mode 100644 index 0000000..592ac7a --- /dev/null +++ b/conf-prometheus/prometheus.yml @@ -0,0 +1,22 @@ +global: + scrape_interval: 5s + scrape_timeout: 5s + evaluation_interval: 15s +alerting: + alertmanagers: + - static_configs: + - targets: [] + scheme: http + timeout: 10s + api_version: v1 +scrape_configs: +- job_name: 'prometheus' + static_configs: + - targets: ['localhost:9090'] + +- job_name: host-http + honor_timestamps: true + metrics_path: /metrics + scheme: http + static_configs: + - targets: ['localhost:8080']