/taurus-monitoring

Project to monitoring all taurus queus using grafana and prometheus

Primary LanguageDockerfile

Taurus Monitoring

Latest Version PRs Welcome

Project to monitoring all taurus queus using grafana and prometheus.

Run

Requires Docker and Docker Compose tool.

docker-compose up

Grafana

Grafana is expose on port 3000 and you can access your dashboard

Prometheus

Prometheus is expose on port 9090 and you can access all metrics

Agent

The agent used for this project is Bull Exporter. That project is an official export shared in Bull project.

Grafana Config

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

Environment

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

Split Queues in monitoring machines

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

Development

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!