Prometheus is an open-source systems monitoring and alerting toolkit.
node-exporter is a collector for the Host system metrics, exported via HTTP for prometheus to periodically poll.
cAdvisor is a collector of performance metrics for docker containers, exported via HTTP for prometheus to periodically poll.
grafana is a dashboard for viewing graphs of the available metrics queried from prometheus.
make config
- Set the metrics domainname for grafana.
- Choose whether to run node-exporter or not (For collecting the Host metrics).
- Choose whether to run cAdvisor or not (For collecting container metrics).
See AUTH.md for information on adding external authentication on top of your app.
make install
make open
Your web browser should open to the grafana login page. Login with the default credentials:
- username:
admin
- password:
admin
You will be prompted to change the admin password on first login.
This configurations comes with the following dashboards preinstalled:
- Node Exporter Full - this shows the docker host metrics
- cAdvisor Exporter - this shows the container metrics
You can find new dashboards on
grafana.com. Add new
dashboards, by downloading the JSON file into the
grafana/dashboards directory, and they will be
made available the next time you run make install
.
If you enabled alertmanager and SMTP via make config
, you can test that alerts are working:
make test-alert
This should fire off a test alert email to your configured email
address (PROMETHEUS_ALERTMANAGER_SMTP_TO
)