Move prometheus + grafana to metrics. Edit readme

main
mathan 2024-02-18 10:27:51 -08:00
parent 8ad97d6752
commit 5e87198276
11 changed files with 1237 additions and 2439 deletions

View File

@ -1,6 +1,6 @@
# Clone repo, cd to `$REPO_HOME/indexer`
docker compose up -d --build
`docker compose up -d --build`
# Add PDSs

View File

@ -1,3 +1,15 @@
# To start prometheus + grafana
`cd metrics`
`docker compose up -d --build`
### Note: remember to allow ports for Prometheus to see host.docker.internal:xxxx from within container
`sudo ufw allow 11001`
`sudo ufw allow 11002`
`sudo ufw allow 11003`
# Install Node-exporter
You'll need to install node exporter for monitoring

View File

@ -5,7 +5,7 @@ services:
# needed if mounted in custom volume
user: root
volumes:
- "./prometheus.yml:/etc/prometheus/prometheus.yml"
- "./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml"
- "${PROMETHEUS_DATA_DIR:?specify data dir in .env file}:/prometheus"
extra_hosts:
- "host.docker.internal:host-gateway"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff