{"id":2256,"date":"2011-10-08T16:16:15","date_gmt":"2011-10-08T15:16:15","guid":{"rendered":"http:\/\/www.devco.net\/?p=2256"},"modified":"2011-10-08T17:28:20","modified_gmt":"2011-10-08T16:28:20","slug":"gdash-graphite-dashboard","status":"publish","type":"post","link":"https:\/\/www.devco.net\/archives\/2011\/10\/08\/gdash-graphite-dashboard.php","title":{"rendered":"GDash – Graphite Dashboard"},"content":{"rendered":"
I love graphite, I think it’s amazing, I specifically love that it’s essentially Stats as a Service for your network since you can get hold of the raw data to integrate into other tools.<\/p>\n
I’ve started pushing more and more things to it on my network like all my Munin data as per my previous blog post<\/a>.<\/p>\n What’s missing though is a very simple to manage dashboard. Work is ongoing by the Graphite team on this and there’s been a new release this week that refines their own dashboard even more. <\/p>\n I wanted a specific kind of dashboard though:<\/p>\n I wrote such a dashboard with the very boring name – GDash<\/em> – that you can find in my GitHub<\/a>. It only needs Sinatra<\/a> and uses the excellent Twitter bootstrap framework<\/a> for the visual side of things.<\/p>\n The project is setup to be hosted in any Rack server like Passenger but it will also just work in Heroku<\/a>, if you hosted it on Heroku it would create URLs to your private graphite install. To get it going on Heroku just follow their QuickStart Guide<\/a>. Their free tier should be enough for a decent sized dashboard. Deploying the app into Heroku once you are signed up and setup locally is just 2 commands.<\/p>\n You should only need to edit the config.ru<\/em> file to optionally enable authentication and to point it at your Graphite and give it a name. After that you can add graphs, the example one that creates the above image is in the sample<\/em> directory. <\/p>\n More detail about the graph DSL used to describe graphs can be found at GitHub<\/a>, I know the docs for the DSL needs to be improved and will do so soon.<\/p>\n I have a few plans for the future:<\/p>\n Ideas, feedback and contributions welcome!<\/p>\n","protected":false},"excerpt":{"rendered":" I love graphite, I think it’s amazing, I specifically love that it’s essentially Stats as a Service for your network since you can get hold of the raw data to integrate into other tools. I’ve started pushing more and more things to it on my network like all my Munin data as per my previous […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","footnotes":""},"categories":[7],"tags":[121,85,100,64,13],"_links":{"self":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/2256"}],"collection":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/comments?post=2256"}],"version-history":[{"count":22,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/2256\/revisions"}],"predecessor-version":[{"id":2278,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/2256\/revisions\/2278"}],"wp:attachment":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/media?parent=2256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/categories?post=2256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/tags?post=2256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n
\nclick for full size<\/small><\/center><\/p>\n\n