Skip to content

Project to monitoring all taurus queus using grafana and prometheus

License

Notifications You must be signed in to change notification settings

not-empty/taurus-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Taurus Monitoring

Latest Version PRs Welcome

Project to monitoring all taurus queus using grafana and prometheus.

Configuration

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

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 Taurus 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
QUEUES_TO_FOLLOW - queue(s) name(s) to monitoring separeted by pipe

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!

About

Project to monitoring all taurus queus using grafana and prometheus

Resources

License

Stars

Watchers

Forks

Packages

No packages published