Skip to content

Latest commit

 

History

History
60 lines (48 loc) · 2.33 KB

README.md

File metadata and controls

60 lines (48 loc) · 2.33 KB

monitoring-stack

My current preferred setup for systems monitoring

Systems monitoring is something that as soon as you give it a first try, you'll always feel the need.

This is my current setup for that purpose, that consists on the following elements:

Why this stack?

By alternatives

  • NGINX Amplify
    • Only supports the few metrics that NGINX provides out-of-the-box.
    • It is hosted only by NGINX ORG itself. We haven't control
  • Elastic Search
    • I haven't give a shot to the Elastic family yet. Seems interesting.

Dependencies

  • Docker (moby-engine)
  • docker-compose
  • make
    • for running aux scripts
  • jq
    • for running make show-metrics
    • comes by default in most of linux distros

Usage

  • Setup .env file
    cp .env.example .env
  • Start services
    docker-compose up
  • Add Prometheus to Grafana data sources
  • Start messing around creating graphs
    • See all available metrics
      make show-metrics

TODO

  • Use NGINX's error.log to generate metrics with nginx_log_exporter