mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
alloy: Fix job labels
This commit is contained in:
parent
3d0d4ea31d
commit
ecb75962c0
1 changed files with 2 additions and 0 deletions
|
|
@ -114,6 +114,7 @@ in
|
|||
prometheus.scrape "victorialogs" {
|
||||
targets = [{
|
||||
__address__ = "localhost:${builtins.toString config.custom.services.victorialogs.port}",
|
||||
job = "victorialogs",
|
||||
instance = constants.hostname,
|
||||
}]
|
||||
forward_to = [prometheus.remote_write.default.receiver]
|
||||
|
|
@ -127,6 +128,7 @@ in
|
|||
prometheus.scrape "caddy" {
|
||||
targets = [{
|
||||
__address__ = "localhost:${builtins.toString config.custom.services.caddy.metrics.port}",
|
||||
job = "caddy",
|
||||
instance = constants.hostname,
|
||||
}]
|
||||
forward_to = [prometheus.remote_write.default.receiver]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue