21 lines
708 B
Markdown
21 lines
708 B
Markdown
# Grafana
|
|
|
|
Starter Grafana provisioning for the optional observability profile.
|
|
|
|
Files:
|
|
|
|
- `provisioning/datasources/prometheus.yml` - adds Prometheus at `http://prometheus:9090`.
|
|
- `provisioning/dashboards/monlet.yml` - loads dashboards from `/var/lib/grafana/dashboards`.
|
|
- `dashboards/monlet-overview.json` - starter dashboard for agent status, open incidents, event ingest rate, and notification rate.
|
|
|
|
Run it with:
|
|
|
|
```sh
|
|
cd deploy
|
|
MONLET_AUTH_TOKEN=$(openssl rand -hex 16) docker compose --profile observability up
|
|
```
|
|
|
|
Grafana is exposed at <http://127.0.0.1:3001>. The local default is
|
|
`admin` / `admin` unless `GF_ADMIN_PASSWORD` is set. Change it before exposing
|
|
Grafana outside local development.
|