api
api copied to clipboard
Feature: remove usage of logging middleware connection in favor of a system log sink to 3rd party logging service
Type of feature
⛵ Chore / Feature / Refactor
Current behavior
We currently utalize Nest's middleware to implement a logger that sends all API logs to a postgres database. This is not ideal since we do not really want to be in the business of managing log storage ourselves (and the headache of having to resize / clean disk for the database constantly).
Suggested solution
Instead, we should utilize our Grafana service and send lo Loki via a log sink. This would also result in some performance boosts as nest wouldn't have to use a middleware.
Additional context
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Contributing Docs
- [X] I agree to follow this project's Contribution Docs