Statistics Ambiguity or Incompleteness
name: Feature request
about: More complete Usage Statistics
Many subnets that are managed by DHCP have some number of dynamic addresses represented by a pool or pools, they may also have reserved addresses for hosts that require a static IP. Often subnets are configured so that the dynamic range and the reserved range are non-overlapping. Administrators have to monitor both ranges individually to ensure the dynamic pool doesn't get exhausted by temporary hosts, as well as the reserved range always has some available to provision new hosts with a reservation. Stork doesn't seem to make a clear delineation between these two sets. It just exposes the total IP utilization of the subnet based on the active leases. As such there is no way to monitor if a the dynamic pool is full or getting full if there also happens to be plenty of IPs available in the reserved range.
It looks like in 2.4 Kea enabled more pool statistics, but when looking at the /metrics output of stork-agent, the only additional data point is the total pool size which is insufficient to determine availability of the dynamic pool
Exposing complete pool utilization metrics would also allow for calculating utilization of the reserved space since the total subnet utilization is already known.