p7-projekt / api-backend

Backend API
MIT License
0 stars 0 forks source link

Logging #7

Closed KristianS93 closed 3 weeks ago

KristianS93 commented 1 month ago

Enable a logging client like serilog and use structured logging, consider sinks.

KristianS93 commented 3 weeks ago

SEQ Grafana/Loki

From my understanding it seems like SEQ is easier to setup for .NET backend but it is language agnostic and can work easily with rust, however with Grafana we can get other metrics than just logs, and we can get information from our other services like kubernetes or from mozart, where grafana and loki seems to better support if we have specific logs or metrics from the k3s itself.

KristianS93 commented 3 weeks ago

I think this should lead to another issue as it requires more setup and we should be using the logging functionality as is, even if we deem this something we will consider down the line.