igorbenav / FastAPI-boilerplate

An extendable async API using FastAPI, Pydantic V2, SQLAlchemy 2.0, PostgreSQL and Redis.
MIT License
658 stars 78 forks source link

Add prometheus/grafana metrics dashboard + (loki, tempo for logging) #111

Open luca-medeiros opened 10 months ago

luca-medeiros commented 10 months ago

Is your feature request related to a problem? Please describe. Not really a problem. More of a standalone improvement for the current logging + adding metrics dashboard.

Describe the solution you'd like I propose the integration of a Prometheus/Grafana-based metrics dashboard into the library. This would offer real-time monitoring capabilities, allowing users to visualize key performance metrics. Also, incorporating Loki and Tempo for logging would significantly enhance our ability to perform more efficient and effective log analysis and tracing.

Describe alternatives you've considered Not many other OSS monitoring tools to consider in this space.

Additional context image image image image

igorbenav commented 10 months ago

That's a great idea, @luca-medeiros, can you do it or should I?

luca-medeiros commented 10 months ago

I would like to do it

igorbenav commented 10 months ago

Cool, I'll assign you then

igorbenav commented 8 months ago

@luca-medeiros should I merge one by one or wait until you finish all of them?

luca-medeiros commented 8 months ago

@igorbenav My bad, I forgot this was still open. Will try to finish by this week and ping you in the PR for a quick review :)