RFR: bot: add counters to BotRunner

Erik Joelsson erikj at openjdk.java.net
Wed May 12 18:29:24 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

Marked as reviewed by erikj (Reviewer).

-------------

PR: https://git.openjdk.java.net/skara/pull/1153


More information about the skara-dev mailing list