/ Jan 7th, 2020 /

New Prometheus Source

Scrape prometheus metrics with Vector

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:

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

For more guidance get on the reference page.

Why?

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.

Get This Change

This change was made available in 0.7.0. You can get this change by downloading the latest stable release.

Like What You See?