Public repo to distribute scripts and config's
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.1 KiB

преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 2 години
преди 2 години
  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. }