mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 22:29:06 +01:00
alloy: Push metrics to prometheus instead of victoriametrics
This commit is contained in:
parent
1b599abdbe
commit
8f6f63fbaa
2 changed files with 26 additions and 13 deletions
|
|
@ -30,6 +30,7 @@ in
|
|||
inherit (cfg) port;
|
||||
webExternalUrl = "https://${cfg.domain}";
|
||||
|
||||
extraFlags = [ "--web.enable-remote-write-receiver" ];
|
||||
globalConfig = {
|
||||
scrape_interval = "30s";
|
||||
external_labels.monitor = "global";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue