A platform for community discussion. Free, open, simple.
DEV: Support env var for prometheus port in cache_critical_dns
Neil Lalonde530058918e1b
diff --git a/script/cache_critical_dns b/script/cache_critical_dnsindex 5b75ddc97ef..0b1ecbe343c 100755--- a/script/cache_critical_dns+++ b/script/cache_critical_dns@@ -58,7 +58,7 @@ enddef send_counter(name, description, labels, value)host = "localhost"- port = 9405+ port = ENV.fetch("DISCOURSE_PROMETHEUS_COLLECTOR_PORT", 9405).to_iif labelslabels = labels.map do |k, v|