commit | f4e5017558db178f3638ecadffa46b8020b345dd | [log] [tgz] |
---|---|---|
author | Fabio Ponciroli <ponch78@gmail.com> | Thu Oct 25 15:04:50 2018 +0200 |
committer | Fabio Ponciroli <ponch78@gmail.com> | Fri Oct 26 10:23:15 2018 +0200 |
tree | d61fba4f89eb55ba41aa2768c8e50f0f3f62b3fa | |
parent | d6d45ebe7572c7a2290ba827eaa2483406ded685 [diff] |
Setup and plugin user guide Explains: * what it is * what it does * how to set it up * how to use it * info about development Feature: Issue 9922 Change-Id: I796c95e61f6d74f181f3c2187c09f9e9d3e59745
Wizard to locally setup an Analytics Dashboard like the Gerrit's one. This will allow you to explore the potentials of DevOps Analytics on your own repositories.
##Installation
Copy the latest available jar into the Gerrit plugins directory and restart it. Assuming /usr/local/gerrit
is the location of your Gerrit installation simply execute the following:
curl -o /tmp/analytics-wizard.jar https://gerrit-ci.gerritforge.com/job/plugin-analytics-wizard-sbt-master-master/analytics-wizard.jar &&\ cp /tmp/analytics-wizard.jar /usr/local/gerrit/plugins
Once the plugin is installed and you are logged in Gerrit browse to this url: https://<you_gerrit_url>/plugins/analytics-wizard/static/analytics-dashboard.html
You will land on this screen:
Different parameters can be configured:
gerrit/
. Note: It is not a regular expression.email only
, by email per hour
, by email per day
, by email per month
or by email per year
.Once you set the parameters pressing the “Create Dashboard” button will trigger the Dashboard creation and the data import.
Beware this operation will take a while since it requires to download several Docker images and run an ETL job to collect and aggregate the data.
At the end of this operation you will be presented with a dashbaord similar to this one:
You can now navigate among the different charts and uncover the potentials of DevOps analytics!
To build the plugin, JDK 1.8 and sbt are required. Once installed use sbt to build:
cd ./analytics-wizard sbt assembly
This will compile, test and package the plugin artifact, which can be found in ./target/scala-2.11/analytics-wizard.jar
.