Coder Social home page Coder Social logo

jmb12686 / prometheus-monitoring Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 2.0 8 KB

Monitor your Docker containers using prometheus, cAdvisor , node-exporter and grafana

docker docker-compose docker-container docker-monitoring container-monitoring cadvisor cadvisor-exporter grafana prometheus node-exporter

prometheus-monitoring's Introduction

Prometheus Monitoring for Containerized Applications

Monitor your Docker containers using prometheus, cAdvisor , node-exporter and grafana

Prerequisites:

Setup and Deploy the monitoring stack

  1. Clone this repo:

    git clone https://github.com/jmb12686/prometheus-monitoring
    cd prometheus-monitoring
  2. Change line #5 in the alert.rules.yml file to correspond to a container name that you want to explicitly monitor and fire alerts for. Change name="YOUR-CONTAINER-NAME-HERE" to match your Docker container NAME.

  3. Start the stack with docker-compose:

    docker-compose up

    If launching from a Windows host, be sure to set the following Docker-Compose variable in powershell first:

    $Env:COMPOSE_CONVERT_WINDOWS_PATHS=1

Dashboards

Links to dashboards of each monitoring tool deployed in this stack

  • cAdvisor - Collects and exports resource usage and performance statistics of Docker containers.

  • node-exporter - Prometheus exporter for hardware and OS metrics

  • Prometheus - Prometheus monitoring system and time series database.

  • Grafana - monitoring, metric analytics, and dashboard visualization tool.

prometheus-monitoring's People

Contributors

jmb12686 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.