Skip to content

Commit

Permalink
readme tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Mar 26, 2015
1 parent 1b21b7e commit 0fb229c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
This repository contains a Grafana "scripted dashboard", `spark.js`, designed to display metrics collected from Spark applications. You can read more about the background and motivation [here](http://www.hammerlab.org/2015/02/27/monitoring-spark-with-graphite-and-grafana/).

## What You'll See

Beautiful graphs of all of your Spark metrics!

![Screenshot of Spark metrics dashboard][]
Expand Down Expand Up @@ -33,7 +32,8 @@ This can be an arduous process, but try following the instructions at the [Graph
### Configure Spark to Send Metrics to Graphite.

[This StackOverflow answer that I wrote][MetricsSystem SO answer] explains the process for configuring Spark to send metrics to Graphite.
Alternatively you can modify your `metrics.properties` under `conf` floder on each node, then you can submit your application without append such `--conf` `--file` arguments.

Alternatively, you can modify your `metrics.properties` under `conf` folder on each node, then you can submit your application without append such `--conf` `--file` arguments.

### Install and Configure Grafana

Expand Down Expand Up @@ -69,7 +69,8 @@ ln -s $THIS_REPO/spark.js $GRAFANA_REPO/src/app/dashboards/spark.js
```

Now you should be able to go to [http://<grafana host>:8090/#/dashboard/script/spark.js?app=$YARN_APP_ID&maxExecutorId=$N](), substituting values for the URL-params values, and see a Spark dashboard!
By the way, if your Spark cluster is a standalone cluster, you should go to [http://<grafana host>:8090/#/dashboard/script/spark.js?prefix=$APP_ID]() to see your Spark dashboard.

If your Spark cluster is a standalone cluster, you can simply go to [http://<grafana host>:8090/#/dashboard/script/spark.js?prefix=$APP_ID]() to see your Spark dashboard.

## `spark.js` URL API

Expand Down

0 comments on commit 0fb229c

Please sign in to comment.