commit | 3eab64a8b9826fe929b0a7441cf1919f6379330b | [log] [tgz] |
---|---|---|
author | Diego Zambelli Sessona <diego.sessona@gmail.com> | Fri Jan 10 13:55:56 2025 +0100 |
committer | Diego Zambelli Sessona <diego.sessona@gmail.com> | Wed Jan 15 10:50:56 2025 +0100 |
tree | 851f4040fef74f937ecf1bf55c7df0bfe27b2cb5 | |
parent | e0be02aace3a53874fda8e8370eaa28dd5386d5c [diff] |
Add `is_gc_running_per_project_<repo_name>` metric Introduce a Gerrit metric to track if a GC process is running for specific projects. The metric checks for the presence of a `gc.pid` file in the repository and ensures the file is not older than the configured staleness period. By default, the staleness period is 12 hours and can be customized using the configuration: `plugins.repo-repack-tracker.considerGcStaleAfter`. Change-Id: Ib19541280a913eece34b96975412673c932a7370
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.