Skip to content

Simple docker compose file for monitoring services (MySQL, MongoDB, Redis) using Grafana & Prometheus

Notifications You must be signed in to change notification settings

loild193/grafana-prometheus-services

Repository files navigation

Grafana + Prometheus + MySQL + MongoDB + Redis

  • Copy .env file from .env.example file and fill values for MySQL & MongoDB & Redis credential

  • Copy .config.my-cnf file from .config.my-cnf.example file and fill values for MySQL & MongoDB & Redis credential

  • Run stacks:

docker compose up -d
  • Visit http://localhost:3000 for Grafana Login UI. Default username and password are admin and admin. Grafana will ask you to change this in next step.

  • In Grafana Homepage, click Dashboard. Click on Create Dashboard, then click on Import dashboard and type 14057 then click on Load and finally click on Import. You will see the MySQL dashboard with metrics/

  • In Grafana Homepage, click Dashboard. Click on Create Dashboard, then click on Import dashboard and type 12079 then click on Load and finally click on Import. You will see the MongoDB dashboard with metrics/

  • In Grafana Homepage, click Dashboard. Click on Create Dashboard, then click on Import dashboard and type 11835 then click on Load and finally click on Import. You will see the Redis dashboard with metrics/

About

Simple docker compose file for monitoring services (MySQL, MongoDB, Redis) using Grafana & Prometheus

Topics

Resources

Stars

Watchers

Forks