prometheus.yml 443 B

12345678910111213141516171819202122
  1. global:
  2. scrape_interval: 60s
  3. evaluation_interval: 60s
  4. scrape_configs:
  5. - job_name: prometheus
  6. static_configs:
  7. - targets: ['localhost:9090']
  8. labels:
  9. instance: prometheus
  10. - job_name: linux
  11. static_configs:
  12. - targets: ['monit-node:9100']
  13. labels:
  14. instance: db1
  15. - job_name: mysql
  16. static_configs:
  17. - targets: ['monit-mysql:9104']
  18. labels:
  19. instance: db1