config_target_allocator.yaml 436 B

12345678910111213141516171819
  1. prometheus:
  2. target_allocator:
  3. endpoint: http://localhost:8080
  4. interval: 30s
  5. collector_id: collector-1
  6. prometheus/withScrape:
  7. target_allocator:
  8. endpoint: http://localhost:8080
  9. interval: 30s
  10. collector_id: collector-1
  11. config:
  12. scrape_configs:
  13. - job_name: 'demo'
  14. scrape_interval: 5s
  15. prometheus/withOnlyScrape:
  16. config:
  17. scrape_configs:
  18. - job_name: 'demo'
  19. scrape_interval: 5s