Add some info to readme
This commit is contained in:
parent
5353f5de1d
commit
ccaf358904
1 changed files with 19 additions and 1 deletions
18
README.md
18
README.md
|
@ -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 $$$
|
||||||
|
```
|
Loading…
Reference in a new issue