commit | 3d2e87c71b59ef887f377fd49b4634d701bba07a | [log] [tgz] |
---|---|---|
author | Diego Zambelli Sessona <diego.sessona@gmail.com> | Wed Oct 02 17:19:07 2024 +0200 |
committer | Diego Zambelli Sessona <diego.sessona@gmail.com> | Fri Oct 25 10:02:59 2024 +0200 |
tree | 3c00a54fad96956583a9a1de7783232eab4562b4 | |
parent | 563d6bf2ab3106c8e8be8bd59823d0c0c51bb619 [diff] |
Add `active_users` metric This change exposes a new metric called `active_users`. This metric indicates the number of active users; a user is considered active when its inactivity period is not greater than the value defined in the `cache."@PLUGIN@.users_cache".maxAge`. The metric uses the `users_cache` of the track-and-disable-inactive-users-1.3.groovy plugin to allow exposure of this value to the various monitoring and observability stacks. Bug: Issue 370937461 Change-Id: Iaa1a78a7435f80508eeeceb6df762f6c789a0bdc
This repository contains a collection of Gerrit scripting plugins that are intended to provide simple and useful extensions.
Gerrit needs to be able to recognise the scripts syntax and being able to load them as plugins.
In order to be able to run Groovy scripts, you need to install first the Groovy scripting provider and then copy the Groovy scripts under your Gerrit /plugins directory.
Similarly for Scala scripts, you need to install the Scala scripting provider and then copy the Scala scripts under your Gerrit /plugins directory.