From efe6a6423f9118ff6ea4e1e277d731f658e7ebe0 Mon Sep 17 00:00:00 2001 From: petep Date: Sun, 10 Apr 2022 09:06:57 +0000 Subject: [PATCH] Update 'monitoring/agent.conf' --- monitoring/agent.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/monitoring/agent.conf b/monitoring/agent.conf index ba86e25..1ad2623 100644 --- a/monitoring/agent.conf +++ b/monitoring/agent.conf @@ -1,5 +1,11 @@ agent { + proxy { + hostname = "prom_prox" // Proxy hostname + port = 50051 // Proxy port + } + + metrics { standardExportsEnabled = true // Include standard export metrics memoryPoolsExportsEnabled = true // Include JVM memory pool metrics @@ -13,7 +19,7 @@ agent { { name: "Proxy metrics" path: proxy_metrics - url: "http://localhost:8082/metrics" + url: "http://prom_prox:8082/metrics" //url: "http://"${?HOSTNAME}":8082/metrics" } {