Eagles-DevOps / MiniTwit

2 stars 1 forks source link

Add metrics for Database #186

Closed Romes8 closed 6 months ago

Romes8 commented 6 months ago

This will help us see the status when we do DB merge.

Romes8 commented 6 months ago

As doing some research I found that middleware can not be used for these types of metrics. Middleware is good for tracking actions that happen with each HTTP request. However, we have more reads and writes than HTTP requests.

With this in mind, I will implement the logic inside the code.