mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
alloy: Configure crowdsec metrics collecting
This commit is contained in:
parent
517310cf86
commit
cd84465d7f
2 changed files with 25 additions and 0 deletions
|
|
@ -50,6 +50,10 @@ in
|
|||
settings = {
|
||||
api.server.listen_uri = "localhost:${builtins.toString cfg.apiPort}";
|
||||
cscli.prometheus_uri = "http://localhost:${builtins.toString cfg.prometheusPort}";
|
||||
prometheus = {
|
||||
listen_addr = "localhost";
|
||||
listen_port = cfg.prometheusPort;
|
||||
};
|
||||
};
|
||||
|
||||
allowLocalJournalAccess = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue