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.

70 lines
1.9 KiB

2 years ago
  1. global:
  2. scrape_interval: 15s
  3. evaluation_interval: 15s
  4. scrape_configs:
  5. - job_name: 'prometheus'
  6. static_configs:
  7. - targets: ['YOUR-IP:8403']
  8. - job_name: 'node_exporter'
  9. static_configs:
  10. - targets: ['YOUR-IP:8405']
  11. labels:
  12. instance: 'node_exporter'
  13. - job_name: 'redis_exporter'
  14. static_configs:
  15. - targets: ['YOUR-IP:8408']
  16. labels:
  17. instance: 'redis_exporter'
  18. - job_name: 'mysql_exporter'
  19. static_configs:
  20. - targets: ['YOUR-IP:8409']
  21. labels:
  22. instance: 'mysql_exporter'
  23. - job_name: 'cadvisor'
  24. static_configs:
  25. - targets: ['YOUR-IP:8407']
  26. labels:
  27. instance: 'cadvisor'
  28. - job_name: 'febs-server-system-actuator'
  29. metrics_path: '/actuator/prometheus'
  30. scrape_interval: 5s
  31. static_configs:
  32. - targets: ['YOUR-IP:8201']
  33. labels:
  34. instance: 'febs-server-system'
  35. - job_name: 'febs-server-auth-actuator'
  36. metrics_path: '/actuator/prometheus'
  37. scrape_interval: 5s
  38. static_configs:
  39. - targets: ['YOUR-IP:8101']
  40. labels:
  41. instance: 'febs-auth'
  42. - job_name: 'febs-server-test-actuator'
  43. metrics_path: '/actuator/prometheus'
  44. scrape_interval: 5s
  45. static_configs:
  46. - targets: ['YOUR-IP:8202']
  47. labels:
  48. instance: 'febs-server-test'
  49. - job_name: 'febs-server-job-actuator'
  50. metrics_path: '/actuator/prometheus'
  51. scrape_interval: 5s
  52. static_configs:
  53. - targets: ['YOUR-IP:8204']
  54. labels:
  55. instance: 'febs-server-job'
  56. - job_name: 'febs-tx-manager-actuator'
  57. metrics_path: '/actuator/prometheus'
  58. scrape_interval: 5s
  59. static_configs:
  60. - targets: ['YOUR-IP:8501']
  61. labels:
  62. instance: 'febs-tx-manager'
  63. rule_files:
  64. - 'memory_over.yml'
  65. - 'server_down.yml'
  66. alerting:
  67. alertmanagers:
  68. - static_configs:
  69. - targets: ["YOUR-IP:8406"]