Thanks Ryan, Yeah that makes a lot of sense. I was hoping for something out of the box, but I can certainly monitor this in other ways.
Nick On Fri, May 19, 2023 at 5:05 AM Ruel, Ryan <[email protected]> wrote: > Nick, > > This strikes me as something that would be best monitored on the > application side. > > The ZooKeeper server does report various stats around current data size > and number of ZNodes, but it isn't on a per-ZNode basis. > > Can your application alert at the time it writes to the ZNode if it's > approaching the configured maximum (default is 1MB)? > > Alternative, can you implement a CuratorCache within a helper task that > periodically walks the data inspecting the stat object for each ZNode > (which indicates dataLength) and report from there? > > /Ryan > > On 5/18/23, 6:23 PM, "Nick Iodice" <[email protected] <mailto: > [email protected]>> wrote: > > > Hello, > > > I am interested in creating platform alerts that notify my team when the > size of any `znode` is approaching the maximum allowable size. I have a > couple of questions about this: > > > > > - It seems as if the `jute.maxBuffer` property is the one that > determines the maximum allowed size for any `znode.` Is this a correct > interpretation of that property? > - Is there any metric or way to monitor the actual size of the data for > any `znode` in the system? Ideally I'd like to be able to alert when any > `znode` is approaching the max size, and to be able to know the path to > that `znode` so I can route the alert to the correct team. > > > > > Thank you! > Nick > > > >
