28 Feb 2025
	
		
		09:17 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		03 Mar 2025
	
		
		10:13 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		
		
			MaciejNeumann
		
		
		
		
		
		
		
		
	
			
		
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?