commit | 288c2ea3e118b0364603f69ee64b1a6cce6da9fe | [log] [tgz] |
---|---|---|
author | Fabio Ponciroli <ponch78@gmail.com> | Wed Aug 24 14:38:17 2022 +0200 |
committer | Fabio Ponciroli <ponch78@gmail.com> | Mon Sep 12 18:39:57 2022 +0200 |
tree | 007d966f466927236cef72519f5f03804077608e | |
parent | 43c932579b657ad605190080bd2575a7a60cb08f [diff] |
Add IT test to check all metrics are available Make sure all the metric collectors are correctly bound. Change-Id: I70bbd7a480346c580557a3de72c1fc91e2cdd4a3
This plugin allows a systematic collection of repository metrics. Metrics are updated upon a ref-update
receive.
Clone or link this plugin to the plugins directory of Gerrit‘s source tree, and then run bazel build on the plugin’s directory.
Example:
git clone --recursive https://gerrit.googlesource.com/gerrit git clone https://gerrit.googlesource.com/plugins/git-repo-metrics pushd gerrit/plugins && ln -s ../../git-repo-metrics . && popd cd gerrit && bazel build plugins/git-repo-metrics
The output plugin jar is created in:
bazel-genfiles/plugins/git-repo-metrics/git-repo-metrics.jar
Copy the git-repo-metrics.jar into the Gerrit's /plugins directory and wait for the plugin to be automatically loaded.
More information about the plugin configuration can be found in the config.md file.