File: scrape.conf

package info (click to toggle)
prometheus-cpp 1.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 792 kB
  • sloc: cpp: 3,596; sh: 37; makefile: 12
file content (7 lines) | stat: -rw-r--r-- 190 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
[[inputs.prometheus]]
  # An array of urls to scrape metrics from.
  urls = ["http://localhost:8080/metrics"]
  interval = '1s'
[[outputs.file]]
  files = ["stdout"]
  flush_interval = "1s"