Integrated: bot: add counters to BotRunner
Erik Helin
ehelin at openjdk.java.net
Wed May 12 18:33:27 UTC 2021
On Wed, 12 May 2021 18:19:06 GMT, Erik Helin <ehelin at openjdk.org> wrote:
> Hi all,
>
> please review this patch that adds a few counters to the bot runner. I've added counters for:
>
> - exception being thrown by a work item
> - a work item being scheduled to be executed
> - a work item being discarded due to a more recent version of the item being enqueued for execution
>
> All counters have the bot's name as a label to make it easy to view counters for individual bots (for example number of exceptions thrown per bot).
>
> Testing:
> - [x] Tested locally on Linux x64 using a local Prometheus instance and a local build of the bots
>
> Thanks,
> Erik
This pull request has now been integrated.
Changeset: 2565015d
Author: Erik Helin <ehelin at openjdk.org>
URL: https://git.openjdk.java.net/skara/commit/2565015dd34d8420e5d74b8b48761d7dca4fd331
Stats: 11 lines in 1 file changed: 11 ins; 0 del; 0 mod
bot: add counters to BotRunner
Reviewed-by: erikj
-------------
PR: https://git.openjdk.java.net/skara/pull/1153
More information about the skara-dev
mailing list