cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get the node tags for custom Prometheus extension

danijela
Contributor

I have custom extension for Prometheus exporter and now I am trying to create topology. Metrics are related to pacemaker cluster.

From the metrics that I am getting from Prometheus I have nodes and their ip addresses, but no information about cluster.

I am trying to create the topology and relationship: cluster - node, but in metrics I don't have cluster name. 
What I realized is that I have it on the node tag that is monitored by OneAgent.

Is there any possibility that I can get tag value from the VM (VM is in Azure and the tag is coming from there) and use it in custom extension to set cluster name?

 

0 REPLIES 0

Featured Posts