The configuration is located on
$GERRIT_SITE/etc/analytics.config and allows to customize the default parameters for the analytics extraction.
List of regexps that identify a bot-like commit, commits that modify only files whose name is a match will be flagged as bot-like.
[contributors] botlike-filename-regexp = .+\\.xml botlike-filename-regexp = .+\\.bzl botlike-filename-regexp = BUILD botlike-filename-regexp = WORKSPACE
Keep in mind that plugin configurations are written in git-config style syntax, so you should be escaping regular expressions accordingly.
when set to true, enables the extraction of issues from commentLink
[contributors] extract-issues = true
when set to true, enables the extraction of hash-tags from the change commits
[contributors] extract-hashtags = true
List of file suffixes to be ignored from the analytics. Files matching any of the specified suffixes will not be accounted for in
deleted_lines fields nor will they be listed in the
commits.files array field. This can be used to explicitly ignore binary files for which, file-based statistics makes little or no sense.
[contributors] ignore-file-suffix = .dmg ignore-file-suffix = .ko ignore-file-suffix = .png ignore-file-suffix = .exe
Extracting branches and hashtags is a really expensive operation. At the moment the plugin works for “small” repositories (~50K commits). With bigger repositories the plugin might cause OOM.
It is not possible to extract data about a single commit, but only aggregations of them.