We love Prometheus, but we also love options and so we've added a prometheus source to let you send Prometheus format metrics anywhere you like.

This was an important feat for Vector because it required us to mature our metrics data model and tested our interoperability between metrics sources.

To use it simply add the source config and point it towards the hosts you wish to scrape:

type = "prometheus"
hosts = ["http://localhost:9090"]
scrape_interval_secs = 1

For more guidance get on the reference page.


We believe the most common use cases for this source will be backups and migration, if you have an interesting use case we'd love to hear about it.

Vector In Your Inbox!

One email on the 1st of the month. No spam, ever.