@pastash/input_prom_scraper

Prometheus Scraper Plugin for @pastash/pastash

Usage no npm install needed!

<script type="module">
  import pastashInputPromScraper from 'https://cdn.skypack.dev/@pastash/input_prom_scraper';
</script>

README

Prometheus Scraper Input

This plugin will scrape a Prometheus Metrics endpoint and emit individual metrics w/ tags

Install

npm install -g @pastash/pastash @pastash/input_prom_scraper

Example

input {
  prom_scraper {
    url => "http://demo.robustperception.io:9100/metrics"
  }
}


output {
  stdout {}
}