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