Scraping metrics from different endpoints inside an Azure VM

33 views
Skip to first unread message

Gledi Musa

unread,
Oct 12, 2021, 4:24:42 AM10/12/21
to Prometheus Users

I have Prometheus running inside a Kubernetes cluster in Azure, and I'm trying to use it to also monitor a few VMs inside the same resource-group.

I have setup Azure SD for the VMs, and it's scanning them correctly, but the point is that in these VMs there are more than 1 service exposing metrics in different ports.

Is there a way to tell Prometheus to scan multiple ports under the azure_service_discovery job? Or at least have these metrics aggregated, so Prometheus can scrape them from one single port, if adding multiple ports isn't possible?

Reply all
Reply to author
Forward
0 new messages