Metrics optimisation
Pre-release
Pre-release
Features:
- reintroduce configured metrics (MalloZup@20d1e8a)
- move
managed
to a label of the metric (MalloZup@36d8cb6)
Example metrics:
# HELP cluster_node_resources metric inherent per node resources
# TYPE cluster_node_resources gauge
cluster_node_resources{managed="false",node="dma-dog-hana01",resource_name="rsc_saphanatopology_prd_hdb00",role="started",status="active"} 1
cluster_node_resources{managed="true",node="dma-dog-hana01",resource_name="rsc_ip_prd_hdb00",role="started",status="active"} 1
cluster_node_resources{managed="true",node="dma-dog-hana01",resource_name="stonith-sbd",role="started",status="active"} 1
# HELP cluster_nodes cluster nodes metrics for all of them
# TYPE cluster_nodes gauge
cluster_nodes{node="dma-dog-hana01",type="dc"} 1
cluster_nodes{node="dma-dog-hana01",type="expected_up"} 1
cluster_nodes{node="dma-dog-hana01",type="member"} 1
cluster_nodes{node="dma-dog-hana01",type="online"} 1
# HELP cluster_nodes_configured_total Number of nodes configured in ha cluster
# TYPE cluster_nodes_configured_total gauge
cluster_nodes_configured_total 1
# HELP cluster_resources_configured_total Number of total configured resources in ha cluster
# TYPE cluster_resources_configured_total gauge
cluster_resources_configured_total 5