chore: some cleaning + logging implementation
This commit is contained in:
15
lib/config/alloy/config.alloy.nix
Normal file
15
lib/config/alloy/config.alloy.nix
Normal 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"
|
||||
}
|
||||
}
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user