Skip to content

Prometheus & Grafana via Docker Compose with some default dashboards and stuff

License

Notifications You must be signed in to change notification settings

gwoo/compose-prometheus-grafana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose for Prometheus & Grafana

This project makes it easier to get started with Prometheus and Grafana. Docker Compose creates the necessary containers, including node exporter and cadvisor used to monitor the setup.

In addition, this project provides an example of how to seed Grafana with some dashboards and the Prometheus Data Source.

And for a bonus, when you run it locally you can monitor any other running containers.

Getting Started

The Makefile provides some easy wrapper commands.

To start up the containers, copy the sample config, and seed the grafana database,

make start

To view the logs for all containers,

make logs

To copy the sample config,

make etc/prometheus/prometheus.yml

To seed the Grafana Database, (it is ok to run this multiple times as it will not overwrite anything)

make seed

To remove the containers and volumes,

make destroy

Grafana Dashboard

http://localhost:3000

Username: admin
Password: admin

Prometheus Dashboard

http://localhost:9090

About

Prometheus & Grafana via Docker Compose with some default dashboards and stuff

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published