|
@@ -1,5 +1,11 @@ |
|
|
agent { |
|
|
agent { |
|
|
|
|
|
|
|
|
|
|
|
proxy { |
|
|
|
|
|
hostname = "prom_prox" // Proxy hostname |
|
|
|
|
|
port = 50051 // Proxy port |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
metrics { |
|
|
metrics { |
|
|
standardExportsEnabled = true // Include standard export metrics |
|
|
standardExportsEnabled = true // Include standard export metrics |
|
|
memoryPoolsExportsEnabled = true // Include JVM memory pool metrics |
|
|
memoryPoolsExportsEnabled = true // Include JVM memory pool metrics |
|
@@ -13,7 +19,7 @@ agent { |
|
|
{ |
|
|
{ |
|
|
name: "Proxy metrics" |
|
|
name: "Proxy metrics" |
|
|
path: proxy_metrics |
|
|
path: proxy_metrics |
|
|
url: "http://localhost:8082/metrics" |
|
|
|
|
|
|
|
|
url: "http://prom_prox:8082/metrics" |
|
|
//url: "http://"${?HOSTNAME}":8082/metrics" |
|
|
//url: "http://"${?HOSTNAME}":8082/metrics" |
|
|
} |
|
|
} |
|
|
{ |
|
|
{ |
|
|