Skip to content

Latest commit

 

History

History

prometheus

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Prometheus + Node-Exporter + cAdvisor + Grafana

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.

Setup

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).

Authentication and Authorization

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.

Dashboards

This configurations comes with the following dashboards preinstalled:

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.

Alerts

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)