Needs advice
on
Azure MonitorAzure Monitor
and
PrometheusPrometheus

Can I get metrics available through Prometheus into Azure Monitor, specifically into log analytics? (VM'S). I am running a couple of VM's inside Azure portal and I have my own private besu nodes running on them. I have my metrics set up inside the Prometheus but I was hoping to hook it up securely to Grafana but I tried everything and I can't. So the next thing is to see if can I get the metrics available through Prometheus into azure monitor, specifically into log analytics. The aim is to get the sync status, and the highest block number on each node, into log analytics so we can see what each is doing. That way we know, on a quick look, the status of each node and by extension, the condition of the private chain. What worries me is that although I have alerts if blocks stop being created or nodes lose peers we cannot see it quickly.

Prometheus is one option to give us those stats. If we can get data from Prometheus into log analytics that would solve the problem.

Can anyone help me with how I can go about it or any links? All I am seeing is for containers but I want for my VMs.

READ LESS
4 upvotes·48.3K views
Replies (2)
Systems Engineer ·

Hi Darragh,

You can use Function Apps to scrape metrics and send them to a Log Analytics Data Collector API. Still, from my experience, I can say that it's hard to query data in Prometheus format with KQL. Instead, I'd add the Application Insights instrumentation to the application or proceed with building the Prometheus setup.

READ MORE
2 upvotes·3.8K views

Hi Darragh, I'm part of the User Success team at Grafana. I'd love to hear more about what you're working on, understand your use case and see if I can provide more resources for you. Care to chat?

READ MORE
1 upvote·4K views
Avatar of Darragh Martin