commit | 0bb5e255ca074adc7414d5dee45aa99b65b1cf13 | [log] [tgz] |
---|---|---|
author | Antonio Barone <syntonyze@gmail.com> | Fri Mar 22 17:15:37 2019 +0000 |
committer | Antonio Barone <syntonyze@gmail.com> | Thu Mar 28 10:17:44 2019 +0000 |
tree | 7ee921fd3b47261cfbb7e990352b2fa9ae0c23a2 |
Initial commit Change-Id: I2d68bef99e793214347a3b62ca717ab21d5d15c1
The goal of this project is to provide the tools to manage and configure a kibana dashboard aimed to visualize analytics on project contributions. Kibana configuration is maintained in elasticsearch so, in reality, this project will talk to the elasticsearch instance which kibana is connected to.
For the time being, this project allows to configure only one type of dashboard:
To get you running in no time, this project also provides a way to spin up a local environment with elasticsearch and kibana:
cd local_environment docker-compose up
this will start:
To configure a kibana dashboard you can simply point the setup script to the target elasticsearch as follows
make restore [ELASTICSEARCH_URL] [ELASTICSEARCH_PORT]
http://host.docker.internal
(the current host running docker)For example to configure kibana spinned up via local environment you can simply run:
cd analytics-setup make restore
Just browse to http://localhost:5601
to see the configured dashboard.
At this point the dashboard will still be empty. If you want to populate it with data you might want to run the GIT commits ETL
If you make some changes to kibana and you want to dump them on disk for later use you can just run:
make dump [ELASTICSEARCH_URL] [ELASTICSEARCH_PORT]
http://host.docker.internal
(the current host running docker)For example to dump the configuration of kibana spinned up via local environment you can simply run:
cd analytics-setup make dump
This will save any changes to kibana-config/analytics-settings-dashboards-visualizations.data.json
This project is licensed under the Apache License, Version 2.0 License - see the LICENSE file for details