All metrics use the purelb namespace. Metrics are exposed on port 7472 at /metrics on both the Allocator and LBNodeAgent pods.

Allocator Metrics#

MetricTypeLabelsDescription
purelb_address_pool_sizeGaugepoolTotal number of addresses in the pool
purelb_address_pool_addresses_in_useGaugepoolNumber of addresses currently allocated
purelb_address_pool_allocation_rejected_totalCounterpool, reasonAllocation requests rejected (exhaustion, sharing constraints, etc.)
purelb_address_pool_multipool_allocations_totalCounterpoolMulti-pool allocations performed
purelb_address_pool_multipool_partial_totalCounterpoolMulti-pool allocations where some ranges were exhausted or had no active nodes
purelb_address_pool_balance_pools_allocations_totalCounterpoolBalanced allocation (balancePools) allocations performed

Election Metrics#

MetricTypeLabelsDescription
purelb_election_lease_healthyGauge1 if this node’s Lease is healthy and being renewed, 0 otherwise
purelb_election_lease_renewals_totalCounterTotal successful Lease renewals
purelb_election_lease_renewal_failures_totalCounterTotal failed Lease renewal attempts
purelb_election_winner_changes_totalCounterserviceNumber of winner changes (indicates failover or rebalancing)
purelb_election_member_countGaugeCurrent number of healthy nodes in the election
purelb_election_subnet_countGaugeNumber of unique subnets tracked across all members
purelb_election_local_subnet_countGaugeNumber of subnets on this node

LBNodeAgent Metrics#

MetricTypeLabelsDescription
purelb_lbnodeagent_garp_sent_totalCounterTotal GARP packets sent
purelb_lbnodeagent_garp_errors_totalCounterTotal GARP send failures
purelb_lbnodeagent_address_renewals_totalCounterTotal address lifetime renewals (for non-permanent addresses)
purelb_lbnodeagent_address_renewal_errors_totalCounterTotal address renewal failures
purelb_lbnodeagent_address_additions_totalCounterTotal addresses added to interfaces
purelb_lbnodeagent_address_withdrawals_totalCounterTotal addresses withdrawn from interfaces
purelb_lbnodeagent_election_wins_totalCounterTotal election wins on this node
purelb_lbnodeagent_election_losses_totalCounterTotal election losses on this node