Refactor OpenWRT configuration: add host argument and correct optional flag

This commit is contained in:
2025-08-02 00:19:07 +03:00
parent e87e5c1e91
commit c420447669
2 changed files with 49 additions and 4 deletions

View File

@@ -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" {