Skip to content

fierman333/PrometheusExport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrometheusExport

Prometheus Export HTTPS status

Export HTTP(S) endpoints status and response time metrics to prometheus

Local development

Prerequisites

  • python3
  • pip3

Install app dependencies

pip3 install --user -r requirements.txt

Run unit tests

python3 tests/test.py

Run app service

uwsgi --http 127.0.0.1:8000 --wsgi-file app.py --callable app_dispatch

Build docker image

make docker_build

Push docker image (only as developer of this service)

Login to docker repository

docker login -u $user

Push docker image to logged docker repository

make docker_push

Run all services in minikube

Install 'prometheus-export' app service

/~https://github.com/fierman333/PrometheusExport/blob/master/charts/prometheus-export/README.md

Install 'prometheus' metrics server

/~https://github.com/fierman333/PrometheusExport/blob/master/charts/prometheus/README.md

Install 'grafana' monitoring server

/~https://github.com/fierman333/PrometheusExport/blob/master/charts/grafana/README.md

Screenshots

Prometheus server

prometheus all metrics prometheus url up prometheus response ms prometheus response ms sum prometheus response count prometheus response bucket

Grafana server

grafana all grafana url up grafana response ms grafana response ms bucket

About

Prometheus Export HTTPS status

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published