Here's a quick start to set up a Docker Prometheus stack containing Prometheus, Grafana and github-exporter to collect and graph GitHub statistics.
Clone the project to your Docker host.
cp .env.template .env
Now edit the .env
file and set the Grafana admin password.
Afterwards modify the preconfigured settings for
- Grafana:
grafana/provisioning/*
- Prometheus:
prometheus/alert.rules
prometheus/prometheus.yml
Add the following entry to your hosts
file:
127.0.0.1 internet-monitoring.test
You can then start the stack with:
docker compose up -d
Open a browser and navigate to http://internet-monitoring.test to access Grafana. A Traefik dashboard is available at http://internet-monitoring.test:8080/dashboard/.
Forked from Brian Christner's GitHub Repo Monitoring.
Additional projects were used to inspire this version: