prometheus.yml 715 B

12345678910111213141516171819202122232425262728293031
  1. global:
  2. scrape_interval: 15s
  3. scrape_configs:
  4. - job_name: 'prometheus'
  5. static_configs:
  6. - targets: ['prometheus:9090']
  7. - job_name: 'grafana'
  8. static_configs:
  9. - targets: ['grafana:3000']
  10. - job_name: 'node-exporter'
  11. static_configs:
  12. - targets: ['monitor-node:9100']
  13. - job_name: 'docker-ghip'
  14. static_configs:
  15. - targets: ['192.168.8.2:9080']
  16. - job_name: 'nacos'
  17. scrape_interval: 60s
  18. metrics_path: '/nacos/actuator/prometheus'
  19. static_configs:
  20. - targets:
  21. - 192.168.8.2:8848
  22. - job_name: 'gateway'
  23. metrics_path: '/actuator/prometheus'
  24. scrape_interval: 15s
  25. static_configs:
  26. - targets: ['192.168.8.2:9001','192.168.8.2:9002']