OmegaBot exposes Prometheus metrics when METRICS_PORT is set. Import the pre-built dashboard to visualize them.
- Prometheus – Scraping
http://<bot-host>:<METRICS_PORT>/metrics - Grafana – Connected to that Prometheus datasource
OmegaBot does not keep dashboard JSON exports in the repo. Create a dashboard in Grafana and add panels using the metrics below, then store any local dashboard exports outside the repository.
| Panel | Description |
|---|---|
| Uptime (seconds) | Bot process uptime |
| Commands (rate) | Per-command execution rate (5m window) |
| Interaction recoveries (rate) | Collector/button error recovery rate |
The dashboard uses a templated datasource variable. During import, select your Prometheus instance. If you haven't configured Prometheus yet, add it under Connections → Data sources → Add data source → Prometheus, then set the URL to your Prometheus server (e.g. http://localhost:9090).