Integrated: bot: add counters to BotRunner

Erik Helin ehelin at
Wed May 12 18:33:27 UTC 2021

On Wed, 12 May 2021 18:19:06 GMT, Erik Helin <ehelin at> 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>
Stats:     11 lines in 1 file changed: 11 ins; 0 del; 0 mod

bot: add counters to BotRunner

Reviewed-by: erikj



More information about the skara-dev mailing list