Browse Source

Update 'monitoring/agent.conf'

master
petep 2 years ago
parent
commit
efe6a6423f
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      monitoring/agent.conf

+ 7
- 1
monitoring/agent.conf View File

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


Loading…
Cancel
Save