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.
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.
git clone <repository-url>
this repository- change into the new directory
npm install
bower install
For development, you will need to proxy requests back to a running Druid instance. You can do this with the --proxy
command-line option.
ember server --proxy http://hostname:port_of_broker
- Visit your app at http://localhost:4200.
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.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
ember build
(development)ember build --environment production
(production)
Specify what it takes to deploy your app.