Quellcode durchsuchen

prom agent conf file

master
petep vor 2 Jahren
Ursprung
Commit
9461a58cf3
1 geänderte Dateien mit 36 neuen und 0 gelöschten Zeilen
  1. +36
    -0
      monitoring/agent.conf

+ 36
- 0
monitoring/agent.conf Datei anzeigen

@@ -0,0 +1,36 @@
agent {

proxy {
hostname = "localhost" // Proxy hostname
port = 50440 // Proxy port
}

metrics {
standardExportsEnabled = true // Include standard export metrics
memoryPoolsExportsEnabled = true // Include JVM memory pool metrics
garbageCollectorExportsEnabled = true // Include JVM garbage collector metrics
threadExportsEnabled = true // Include JVM thread metrics
classLoadingExportsEnabled = true // Include JVM class loading metrics
versionInfoExportsEnabled = true // Include JVM version info metrics
}

pathConfigs: [
{
name: "Proxy metrics"
path: proxy_metrics
url: "http://localhost:8082/metrics"
//url: "http://"${?HOSTNAME}":8082/metrics"
}
{
name: "Agent metrics"
path: agent_metrics
url: "http://localhost:8083/metrics"
//url: "http://"${?HOSTNAME}":8083/metrics"
}
{
name: "App1 metrics"
path: app1_metrics
url: "http://167.99.43.82:9090/metrics"
}
]
}

Laden…
Abbrechen
Speichern