feat: massive refactoring...
This commit is contained in:
16
config/alloy/config.alloy.nix
Normal file
16
config/alloy/config.alloy.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
tools,
|
||||
...
|
||||
}:
|
||||
{
|
||||
out = ''
|
||||
logging {
|
||||
level = "warn"
|
||||
}
|
||||
loki.write "grafana_loki" {
|
||||
endpoint {
|
||||
url = "http://${tools.loki_addr}/loki/api/v1/push"
|
||||
}
|
||||
}
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user