nicc777 / python_flask_prometheus_poc

Example python flask application and dummy load generator to test prometheus metrics from flask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python_flask_prometheus_poc

Example python flask application and dummy load generator to test prometheus metrics from flask

This project aims to test Prometheus generated metrics from a Flask application. Ideally you would deploy this application using Docker or in a Kubernetes cluster.

A Docker image is already available from Docker Hub:

docker pull nicc777/python_flask_prometheus_poc

Docker quick start:

docker run -p 8082:8080 --name pyprom --rm nicc777/python_flask_prometheus_poc:latest

And then start Locust and run a simple test using the provided locustfile.py file.

About

Example python flask application and dummy load generator to test prometheus metrics from flask

License:MIT License


Languages

Language:Python 58.9%Language:Dockerfile 41.1%