Refactor OpenWRT configuration: add host argument and correct optional flag
This commit is contained in:
parent
e87e5c1e91
commit
c420447669
2 changed files with 49 additions and 4 deletions
|
|
@ -4,7 +4,8 @@ import.file "openwrt" {
|
|||
}
|
||||
|
||||
openwrt.openwrt {
|
||||
forward_to = [prometheus.remote_write.metrics_service.receiver]
|
||||
forward_to = [prometheus.remote_write.metrics_service.receiver]
|
||||
host = "NAMU-PC" // Default host, can be overridden by environment variable
|
||||
}
|
||||
|
||||
prometheus.remote_write "metrics_service" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue