Verified Commit 1dc730ee authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

Add skeleton for Blackbox exported (monitor HTTP services)

parent c497f039
......@@ -85,8 +85,8 @@ services:
- "-notifier.url=http://alertmanager:9093"
# HTTP server for vmagent's own metrics
- "-httpListenAddr=:8880"
# Evaluate rules every 10 minutes
- "-evaluationInterval=10m"
# By default, evaluate rules every 1 minute
- "-evaluationInterval=1m"
- "-loggerOutput=stdout"
volumes:
- ./vmalert-rules.yml:/config/vmalert-rules.yml
......@@ -106,3 +106,16 @@ services:
networks:
- metrics
restart: unless-stopped
# Monitors HTTP or DNS endpoints and store results in VictoriaMetrics
# Very useful to know when a service is down
blackbox:
image: prom/blackbox-exporter:v0.19.0
container_name: blackbox
command:
- "--config.file=/config/blackbox.yml"
volumes:
- ./blackbox.yml:/config/blackbox.yml
networks:
- metrics
restart: unless-stopped
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment