Skip to content

Metrics optimisation

Pre-release
Pre-release
Compare
Choose a tag to compare
@MalloZup MalloZup released this 18 Sep 15:34

Features:

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