the space between the movement RSS

Archive

Twitter

Rails Machine

Mar
1st
Sun
permalink

Testing Dash Metrics with Cucumber

While continuing to dork around with Dash, I wanted to test the metrics gathered using the plugin from part 1. I wrote some basic steps that will allow you to fetch and perform tests on your own metrics. Be sure you have webrat installed in your project and available to Cucumber. Download dash_steps.rb and add to features/step_definitions. Update the APPKEY with the key for your application.

Here is an example feature.

For super-coolness, integrate with cucumber-nagios for notification support when your tests fail.

Instead of writing boring monitoring plugins from scratch, you can now do behavior driven ops! Transform from a grumpy, misanthropic sysadmin to a hipster, agile developer instantly.

Comments (View)
blog comments powered by Disqus