Project to monitoring all taurus queus using grafana and prometheus.
Using .env.example to create you .env file with all your configurations.
cp .env.example .env
If you not use a existing docker networking, create default project network
docker network create taurus-monitor-networking
Requires Docker and Docker Compose tool.
docker-compose up
Grafana is expose on port 3000
and you can access your dashboard
Prometheus is expose on port 9090
and you can access all metrics
The agent used for this project is Bull Exporter. That project is an official export shared in Taurus project.
For config in Grafana like allow embedding graph or other config you can access and update grafana.ini.
For fixed or updates taurus metrics you can change the dashboard.json.
For update or input another datasource type you can configure in datasource.yaml
For new dashboards you can just create another json in dashboard folder
In development if you want to change some default values, you need to create a environment file: .env
.
Variable | Default | Description |
---|---|---|
EXPORTER_REDIS_URL | redis://localhost:6379/0 | Redis uri to connect |
EXPORTER_PREFIX | bull | Prefix for queues |
EXPORTER_STAT_PREFIX | bull_queue_ | Prefix for exported metrics |
EXPORTER_QUEUES | - | A space separated list of queues to check |
EXPORTER_AUTODISCOVER | - | Set to '0' or 'false' to disable queue discovery |
DOCKER_REDIS_NETWORK | taurus-monitor-networking | Developement environment |
QUEUES_TO_FOLLOW | - | queue(s) name(s) to monitoring separeted by pipe |
If you has many queues and need to split, you can do that put all queue names separated with space in EXPORTER_QUEUES and put EXPORTER_AUTODISCOVER 0 or false
Want to contribute? Great!
The project using a simple config code. Make a change in your file and be careful with your updates!
Kiwfy - Open your code, open your mind!