prometheus.yml 334 B

123456789101112131415
  1. # Prometheus config file
  2. # my global config
  3. global:
  4. scrape_interval: 10s
  5. evaluation_interval: 10s
  6. scrape_timeout: 10s
  7. # use ray file-based service discovery file as scrape target.
  8. scrape_configs:
  9. - job_name: 'ray'
  10. file_sd_configs:
  11. - files:
  12. - '/tmp/ray/prom_metrics_service_discovery.json'
  13. refresh_interval: 1m