prometheus.sample.yml 448 B

12345678910111213141516171819202122
  1. global:
  2. scrape_interval: 15s
  3. evaluation_interval: 15s
  4. scrape_configs:
  5. - job_name: "price_pusher"
  6. static_configs:
  7. - targets: ["host.docker.internal:9091"]
  8. relabel_configs:
  9. - source_labels: [__address__]
  10. target_label: instance
  11. replacement: "price_pusher"
  12. alerting:
  13. alertmanagers:
  14. - static_configs:
  15. - targets:
  16. # - alertmanager:9093
  17. # Alert rules
  18. rule_files:
  19. - "alerts.sample.yml"