Kludex / fastapi-prometheus-grafana

FasAPI + Prometheus + Grafana! :tada:
MIT License
178 stars 48 forks source link

Errors per seconds graph #2

Open nicpym-bbd opened 2 years ago

nicpym-bbd commented 2 years ago

I have looked into the way in which the ErrorsPerSecond graph's PromQL qeury is constructed. I believe that instead of using the http_request_duration_seconds_count metric it should be using the http_requests_total metric instead.

Kludex commented 2 years ago

Feel free to open any PR that you consider an improvement. :)