square/cubism — pull request #1 by neilprosser (2012-04-24 19:32:30+00:00)
Title: Allow naming of Graphite metrics

When using Graphite we're not able to specify a name for the metric, which results in long metric names.

This patch should allow the following to work:

```js
graphite.metric("myTarget", "name")
````

It will default the name of the metric to `expression` as before if the name parameter isn't given.

Let me know if I'm barking up the wrong tree. My JavaScript isn't fantastic.