currently a red band appears on Stash when running low on resources. I was wondering if it is possible to send a Hip chat notification or then a email to admins to notify before a bunch of developers send a email after looking at the UI message.
Hi Rajesh,
There's no built-in mechanism for emitting notifications when Stash reaches resource limits, but it would be pretty straight forward to implement as an add-on if you have someone on your team with some java experience. Stash will emit a TicketRejectedEvent whenever an operation is aborted due to high server load. All you'd need to do is listen for the event and emit a HipChat or Email notification.
There's an open source Stash HipChat add-on on Bitbucket that I haven't personally tried, but it looks like a good start (or you can look at the HipChat notifier hook bundled with Stash if you have a commercial Stash license, which entitles you to source access). The Stash developer site has some other helpful resources too.
cheers,
Tim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.