Public repo to distribute scripts and config's
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 

37 行
1.1 KiB

  1. agent {
  2. proxy {
  3. hostname = prom_prox // Proxy hostname
  4. port = 50051 // Proxy port
  5. }
  6. metrics {
  7. standardExportsEnabled = true // Include standard export metrics
  8. memoryPoolsExportsEnabled = true // Include JVM memory pool metrics
  9. garbageCollectorExportsEnabled = true // Include JVM garbage collector metrics
  10. threadExportsEnabled = true // Include JVM thread metrics
  11. classLoadingExportsEnabled = true // Include JVM class loading metrics
  12. versionInfoExportsEnabled = true // Include JVM version info metrics
  13. }
  14. pathConfigs: [
  15. {
  16. name: "Proxy metrics"
  17. path: proxy_metrics
  18. url: "http://172.17.0.2:8082/metrics"
  19. //url: "http://"${?HOSTNAME}":8082/metrics"
  20. }
  21. {
  22. name: "Agent metrics"
  23. path: agent_metrics
  24. url: "http://localhost:8083/metrics"
  25. //url: "http://"${?HOSTNAME}":8083/metrics"
  26. }
  27. {
  28. name: "App1 metrics"
  29. path: app1_metrics
  30. url: "http://167.99.43.82:9090/metrics"
  31. }
  32. ]
  33. }