Skip to content

DEMO Prometheus monitoring stack - Wise TechTalks 2019

Notifications You must be signed in to change notification settings

m1g0r/wise-prometheus-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wise-prometheus-demo

A demo monitoring solution with Prometheus, Grafana, cAdvisor, NodeExporter and alerting with AlertManager.

Install

Clone this repository on your Prometheus host and run compose up:

git clone https://github.com/m1g0r/wise-prometheus-demo
cd wise-prometheus-demo
docker-compose up -d

For start WordPress demo site with cAdvisor and NodeExporter your should clone this repository on wordpress host and run compose up:

git clone https://github.com/m1g0r/wise-prometheus-demo
cd wise-prometheus-demo/wordpress
docker-compose up -d

Prerequisites:

  • Docker Engine
  • Docker Compose

Containers:

  • Prometheus (metrics database) http://<host-ip>:9090
  • AlertManager (alerts management) http://<host-ip>:9093
  • Grafana (visualize metrics) http://<host-ip>
  • NodeExporter (host metrics collector) http://<host-ip>:9100
  • cAdvisor (containers metrics collector) http://<host-ip>:8080

Setup Grafana

Navigate to http://<host-ip> and login with user admin password admin.

Setup alerting

The AlertManager service is responsible for handling alerts sent by Prometheus server. AlertManager can send notifications via email, Pushover, Slack, HipChat or any other system that exposes a webhook interface. A complete list of integrations can be found here.

You can view and silence notifications by accessing http://<host-ip>:9093.

To receive alerts via Slack you need to make a custom integration by choose incoming web hooks in your Slack team app page. You can find more details on setting up Slack integration here.

About

DEMO Prometheus monitoring stack - Wise TechTalks 2019

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published