Skip to content

Small project for testing Grafana, Promethes, cAdvisor, and Node-Exporter.

Notifications You must be signed in to change notification settings

Skeeg/grafana-prometheus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus and Grafana docker-compose stack

This is a quick way to get Prometheus, Grafana, Node-exporter and cAdvisor running. You need docker and docker-compose installed to deploy the stack

Running the stack

docker-compose up -d

Stopping the stack

docker-compose down

Grafana Datasources and Dashboards

Grafana default username and password admin/admin

If you would like to automate the installation of additional dashboards just copy the Dashboard JSON file to grafana/provisioning/dashboards and it will be provisioned next time you stop and start Grafana or the docker-compose stack.

Prometheus

If you need to make an update to Prometheus the config is located at promethes/prometheus.ym. The changes will be availabe the next time you stop and start Prometheus or the docker-compose stack. You can make Prometheus data persistant by mouting a local directory to the docker container, this will allow you to compose up/down the stack without losing data. Add - /$somefolder:/prometheus to the docker-compose.yml file.

Example:

    volumes:
      - ./prometheus:/etc/prometheus/
      - /tmp/prometheus:/prometheus

About

Small project for testing Grafana, Promethes, cAdvisor, and Node-Exporter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 59.9%
  • HTML 23.0%
  • JavaScript 13.7%
  • SCSS 3.3%
  • Shell 0.1%