cyberbeast / prometheus-learn

Learning environment for prometheus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prometheus-learn

Learning environment for prometheus

Objectives

  • Set up Flask with a "flaky" endpoint.
  • Set up "prometheus_flask_exporter" client to report metrics.
  • Set up Prometheus server to collect and monitor metrics from the Flask service.
  • Set up Grafana to accept a prometheus compatible data source and visualize different metrics.
  • Integrate a simple multi-threaded load-tester to simulate load conditions on the flaky endpoint.

To-do's

  • Define concrete metrics
  • Evaluate performance with multi-threaded loads across different endpoints.

Deploy/Build Instructions

$ docker-compose up --build

Port Mapping Reference

  • 5000 -> Flask service
  • 9090 -> Prometheus
  • 3000 -> Grafana

Architecture

Architecture

About

Learning environment for prometheus

License:MIT License


Languages

Language:Python 84.5%Language:Dockerfile 15.5%