New question #262031 on Graphite:
https://answers.launchpad.net/graphite/+question/262031

Hey guys,
 I have a cloudformation setup that automatically spins up Graphite.  I have a 
script that runs within my nodes that creates a valid JSON file for the 
graphite dashboard.  If I manually download this file, and then post it via 
Dashboard ->  Edit, I get the dashboard I want.


However, I want my nodes to be able to POST this json directly into graphite as 
they start, so I don't have to do this manually, I've tried the following, but 
the format is incorrect.

curl -i -d '[graphite dashboard json]' -X POST "http://[graphite 
host]/dashboard/save/Tomcats

in order to create the tomcats dashboard.  Here is an example of my json

https://gist.github.com/tnine/2afe9e684208238e25a7

Thanks,
Todd

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.

_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to     : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to