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.
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.
One email on the 1st of the month. No spam, ever.