Add some info to readme

This commit is contained in:
mdivecky 2024-12-10 13:07:23 +01:00
parent 5353f5de1d
commit ccaf358904

View file

@ -3,3 +3,21 @@
Simple Prometheus setup for monitoring websites, with blackbox-exporter and Grafana. Simple Prometheus setup for monitoring websites, with blackbox-exporter and Grafana.
Testing data source for target discovery is located in branch `pages` and is served on `https://mdivecky.nolog.page/mon-test/targets.json` Testing data source for target discovery is located in branch `pages` and is served on `https://mdivecky.nolog.page/mon-test/targets.json`
# Setup
```bash
mkdir -p ./data/prometheus
mkdir -p ./data/grafana
chown -R 1000:1000 ./data/*
# Or switch to docker volumes for prometheus and Grafana, if you don't want to deal with permissions
docker compose up -d
# -> Goto http://localhost:3000
# Login to Grafana with admin:admin
# Add Prometheus datasource, with URL "http://prometheus:9090"
# Import or create some dashboards
# Profit $$$
```