cornet/graphite-dsl-rails — pull request #1 by chrisa (2012-12-14 14:37:22+00:00)
Title: Allow the graph URL format to be set

This lets you generate JSON URLs with something like:

render(:partial => 'webserver_load', :locals => { 'format' => 'json' }).html_safe