chore: some cleaning + logging implementation

This commit is contained in:
Xavier Morel
2025-10-23 20:44:12 +02:00
parent c542509c2f
commit 0d343b12a3
10 changed files with 149 additions and 48 deletions

View File

@@ -0,0 +1,15 @@
let
infra = import ../../constants.nix;
in
{
out = ''
logging {
level = "warning"
}
loki.write "grafana_loki" {
endpoint {
url = "http://${infra.loki_addr}/loki/api/v1/push"
}
}
'';
}