kibana


Dashboards customization

In this short tutorial, we show how to create a new panel in CROSSMINER.

 

Creation

Our objective is to show how many users have contributed at least once (ie they have made at least one commit in a repository)  in the projects analyzed by CROSSMINER.

For this we are going to create a new visualization.

First of all, we are going to Log in (bottom left on the screen) with "admin" user and "admin" as password.

Selection_029.png

Now, on the left pane, click on "Visualize". The list of all available visualization is on the main frame.

Selection_031.png

Click on "+" to create a new one.

You should see all available types of visualization.

Selection_032.png

Choose "Metric", the one with figure 42 inside.

Now, you need to choose the related index.

Select "scava-users".

Selection_033.png

Congratulations, you have created a new visualize with the count of the items in the scava-users index.

We need now to refine this count. Remember, we are looking for the contributors, and this count represents all contributions. So a contributor is counted several times. We need to update the visualize item to filter only unique contributor.

Let's click on the arrow left to "Metric" under "Metrics".

A menu will drop down. In the aggregation field, we are going to choose "Unique count" and in "Field" select "user".

Selection_027.png

Usage

Now, let's see how we can work with this new item.

First you may have noticed in the example above that the result is 7. Note that this result represents the contributors count at the time we wrote this tutorial. You may have a different count when you will go through this step.

Does it mean we have only 7 contributors in all our projects ?

Yes on that day, we had only 7 contributors. You have the possibility to choose the period on which you wish the count. You just need to click on the label on the top right.

Let's set this to "Last 2 years".

Selection_028.png

The count has been successfully updated !

Once you save your visualization, it will be available to use in any dashboard.

 

The Reachout project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement number 825307.

flagEU.svgThe information in this document is provided “as is”, and no guarantee or warranty is given that the information is fit for any particular purpose. The content of this document reflects only the author`s view – the European Commission is not responsible for any use that may be made of the information it contains. The users use the information at their sole risk and liability.

This wiki is licensed under a Creative Commons 4.0 license
XWiki Enterprise 9.11.8 - Documentation