Closed notandy closed 3 years ago
As @m-kratochvil already mentioned, there is no metric for connection saturation. We will have to compare current connections to the maximum. However, there is also no metric for the maximum. The HM will have to either ask the DB or the current declaration on the device (which would mean another roundtrip)
I have suggested a variant of calculating status=FULL by database in #135
The octavia-f5-status-manager fetches statistics of every listener, and is supposed to report if the listener is satured (Max Connections allowed == Current Connections)
The implementation wrongly assumed that the
clientside.MaxConns
Metric is reporting back the maximum allowed conections, but it's just the "highest" number of connections F5 observed over all time.https://github.com/sapcc/octavia-f5-provider-driver/blob/master/octavia_f5/controller/statusmanager/status_manager.py#L265-L267
Example F5 stats response for
virtual
object:Proposal:
Evaluate if there is another metric usable to detect the "connection full" or - if thats not easily possible: remove status = 'FULL' report.