Open myH2Oservers opened 4 years ago
Makes sense! Want to try your hand at implementing this feature?
I wish I could help.. I am able to read most of this code but I better not start writing it.. not experienced enough to contribute in this language. sorry.
No problem, we'll see if somebody else (or us) feels like it :)
Short description
Currently the (stat)ring seems to be hardcoded to a 10K entries default. This amount can be resized in the PowerDNS webinterface. We hit the limit of 10K pretty fast for a couple of rings, for example the unauth-queries ring within an hour after restarting PowerDNS, and have to manually adapt it to 500K items to hold more information. However this amount is reset back to 10K on each restart.
One thing to think about when implementing this feature: 1 ring size setting for all rings or a separate ring size setting for each ring. Maybe the last is preferable to avoid other rings getting huge without being used.