# Which Cilium agent metric shows how many load balancer service or backend IDs are currently in use?

Cilium, Medium (Advanced), Troubleshooting. https://k8wiz.com/uquiz/which-cilium-agent-metric-shows-how-many-load-balancer-service-or-backend-ids-are-currently-in-use

- A. cilium_loadbalancer_id_capacity
- B. cilium_loadbalancer_id_allocations
- C. cilium_services_events_total
- D. cilium_loadbalancer_id_allocation_attempts_total

**Answer:** cilium_loadbalancer_id_allocations

**Explanation:** Cilium 1.20.5 added gauges and counters for the load balancer ID allocators, each with a type label of service or backend. cilium_loadbalancer_id_allocations counts the IDs currently allocated, while cilium_loadbalancer_id_capacity is the size of the allocation range. Comparing the two shows how close the cluster is to running out of IDs.
