Fichiers
public/monitoring/agent.conf
T

37 lignes
1.1 KiB
Plaintext
Brut Vue normale Historique

2022-04-10 08:45:39 +00:00
agent {
2022-04-10 09:06:57 +00:00
proxy {
hostname = "prom_prox" // Proxy hostname
port = 50051 // Proxy port
}
2022-04-10 08:45:39 +00:00
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
2022-04-10 09:06:57 +00:00
url: "http://prom_prox:8082/metrics"
2022-04-10 08:45:39 +00:00
//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"
}
]
}