/druid-dashboard

This is a relatively simple initial take on a dashboard for Druid. It uses timeseries and top list queries to populate timeseries graphs and dimensional tables that can be used for filtering.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Druid-ui Build Status Code Climate Gitter

Sauce Test Status

This README outlines the details of collaborating on this Ember application.

This is a relatively simple initial take on a dashboard for Druid. It uses timeseries and top list queries to populate timeseries graphs and dimensional tables that can be used for filtering.

Prerequisites

You will need the following things properly installed on your computer.

If you are on a Mac, you can get all of this stuff by first having homebrew installed. Then

brew install git node
npm install -g bower
npm install -g ember-cli

If you are not on a mac, then you will have to get git and node on your own, but the npm install commands should still be relevant.

Installation

  • git clone <repository-url> this repository
  • change into the new directory
  • npm install
  • bower install

Running / Development

For development, you will need to proxy requests back to a running Druid instance. You can do this with the --proxy command-line option.

Also, you will need to adjust the metrics that are queried for to line up with the metrics that you have available in your data source. This can be done by editting the aggs variable and the metricDisplayOrder variables in controllers/datasource/show.js. In a perfect world, this would be something a bit easier to configure (i.e. not require a code change), but it is what it is for now.

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links