Açıklama Yok

prometheus.yml 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # my global config
  2. global:
  3. scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
  4. evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
  5. # scrape_timeout is set to the global default (10s).
  6. # Alertmanager configuration
  7. alerting:
  8. alertmanagers:
  9. - static_configs:
  10. - targets:
  11. # - alertmanager:9093
  12. # Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
  13. rule_files:
  14. # - "first_rules.yml"
  15. # - "second_rules.yml"
  16. # A scrape configuration containing exactly one endpoint to scrape:
  17. # Here it's Prometheus itself.
  18. scrape_configs:
  19. - job_name: 'Prometheus'
  20. static_configs:
  21. - targets: ['127.0.0.1:9090']
  22. - job_name: 'Grafana'
  23. static_configs:
  24. - targets: ['127.0.0.1:3000']
  25. - job_name: 'Nacos'
  26. metrics_path: '/nacos/actuator/prometheus'
  27. static_configs:
  28. - targets: ['127.0.0.1:8848']
  29. - job_name: RuoYi-Cloud-Plus
  30. honor_timestamps: true
  31. scrape_interval: 15s
  32. scrape_timeout: 10s
  33. metrics_path: /actuator/prometheus
  34. scheme: http
  35. http_sd_configs:
  36. - url: 'http://127.0.0.1:9100/actuator/prometheus/sd'