24 Feb 2025 01:59 PM
I am trying to create the extension to get the metric from the Prometheus exporter.
That is the only solution for monitoring the Pacemaker cluster in Azure, where we are running our critical SAP Systems.
Up until now, I am able to see metrics from one specific endpoint, but I need to get the labels, like below:
# TYPE ha_cluster_pacemaker_nodes gauge ha_cluster_pacemaker_nodes{node="vmucspscs001",status="dc",type="member"} 0 ha_cluster_pacemaker_nodes{node="vmucspscs001",status="expected_up",type="member"} 1 ha_cluster_pacemaker_nodes{node="vmucspscs001",status="maintenance",type="member"} 0 ha_cluster_pacemaker_nodes{node="vmucspscs001",status="online",type="member"} 1 ha_cluster_pacemaker_nodes{node="vmucspscs001",status="pending",type="member"} 0
Solved! Go to Solution.
24 Feb 2025 03:05 PM
All labels are automatically created as dimensions by the data source: https://docs.dynatrace.com/docs/shortlink/prometheus-extensions-reference#dimension-value
Only if filtering is applied in the extension.yaml would some be excluded.
When you chart that metric in the data explorer what dimensions do you see available?