Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

specify output format #17

Open
jaredcurtis opened this issue Jun 11, 2012 · 3 comments
Open

specify output format #17

jaredcurtis opened this issue Jun 11, 2012 · 3 comments

Comments

@jaredcurtis
Copy link

Graphite supports multiple output formats as a administrator I should be able to specify the format I want my data displayed in. The list of formats can be found at http://graphite.readthedocs.org/en/0.9.10/render_api.html#format.

It would be nice to specify the default in config/gdash.yaml. Having the ability to override the default at the graph level would be even nicer.

Possible DSL
title "CPU Usage"
vtitle "percent"
area :stacked
description "CPU Usage"
format :svg

@ripienaar
Copy link
Owner

presumably you're using the API? you can specify an output format when you call the url you can ask for a format:

% ruby -r rubygems -r graphite_graph -e 'p GraphiteGraph.new("basic.graph").url(:json)'

but per graph default might be interesting indeed

@jaredcurtis
Copy link
Author

I'm actually not using the API just the DSL to create my various dashboards.

@ripienaar
Copy link
Owner

ah ok

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants