Skip to content

Business intelligence, data exploration and visualization web application for Druid, formerly known as Swiv and Pivot

License

Notifications You must be signed in to change notification settings

allegro/turnilo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4605096 · Feb 12, 2018
Feb 12, 2018
Jan 29, 2018
Feb 9, 2018
Jan 29, 2018
Jan 18, 2018
Feb 12, 2018
Feb 12, 2018
Feb 7, 2018
Aug 17, 2016
Feb 7, 2018
Feb 9, 2018
Aug 24, 2016
Feb 1, 2018
Nov 23, 2016
Sep 12, 2015
Dec 28, 2016
Feb 1, 2018
Aug 12, 2016
Feb 12, 2018
Feb 12, 2018
Feb 9, 2018
Aug 23, 2016

Repository files navigation

Turnilo

npm version build status

Turnilo is a business intelligence, data exploration and visualization web application for Druid. Turnilo is a fork of Pivot which is currently available under commercial licence only. This repository was forked from the stalled repository Swiv with the latest version of Pivot under Apache license.

Motivation

Druid is heavily used as business intelligence platform at Allegro. In order to gain wide adoption of non-technical users, Druid requires simple yet powerful user interface. In Allegro we have decided that we are going to continue Pivot development as an open source software, this is how Turnilo emerged.

Features

  • Intuitive, drag and drop, gorgeous user interface to visualize Druid datasets
  • Fully dedicated to low latency Druid Timeseries, TopN and GroupBy queries.
  • Unified view for historical and real-time data
  • Blazingly fast

Turnilo UI

Pre-requisites

Usage

Install Turnilo distribution using npm.

npm install -g turnilo

Start off by running an example with Wikipedia page editions dataset and open http://localhost:9090/.

turnilo --examples

Or connect to the existing Druid cluster using --druid command line option. Turnilo will automatically introspect your Druid cluster and figure out available datasets.

turnilo --druid broker_host:broker_port

Development

Install project dependencies.

npm install

Build the project.

npm run build:dev

Run Wikipedia examples.

npm run start:dev -- --examples

Connect to the existing Druid cluster.

npm run start:dev -- --druid broker_host:broker_port

Testing

Run all unit tests.

npm run test

Or run tests separately for common, client and server modules.

npm run test:common
npm run test:client
npm run test:server

Debugging

Client module

In WebStorm\IntelliJ open "Run/Debug Configurations", click "Add New Configuration". Next choose "JavaScript Debug" and set URL property to "localhost:9090".

You can find more information here

Server module

In WebStorm\IntelliJ open "Run/Debug Configurations", click "Add New Configuration". Next choose "Node.JS", set "JavaScript file" to "./bin/turnilo" and "Application parameters" to "--examples".

You can find more infrmation here

License

Turnilo is published under Apache License 2.0.