智慧水务管理系统 - 精河县供水工程综合管理平台

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. global:
  2. scrape_interval: 15s
  3. evaluation_interval: 15s
  4. rule_files:
  5. - "alert_rules.yml"
  6. alerting:
  7. alertmanagers:
  8. - static_configs:
  9. - targets:
  10. - alertmanager:9093
  11. scrape_configs:
  12. - job_name: 'prometheus'
  13. static_configs:
  14. - targets: ['localhost:9090']
  15. - job_name: 'water-management-apps'
  16. static_configs:
  17. - targets:
  18. - wm-gateway:8081
  19. - wm-base:8082
  20. - wm-iot:8083
  21. - wm-data-engine:8084
  22. - wm-bpm:8085
  23. - wm-production:8086
  24. - wm-revenue:8087
  25. - wm-patrol:8088
  26. - wm-bi:8089
  27. - wm-notify:8090
  28. - wm-job:8091
  29. metrics_path: /actuator/prometheus
  30. scrape_interval: 30s
  31. scrape_timeout: 10s
  32. - job_name: 'postgres'
  33. static_configs:
  34. - targets: ['postgres:5432']
  35. - job_name: 'redis'
  36. static_configs:
  37. - targets: ['redis:6379']
  38. - job_name: 'kafka'
  39. static_configs:
  40. - targets: ['kafka:9092']
  41. - job_name: 'elasticsearch'
  42. static_configs:
  43. - targets: ['elasticsearch:9200']