A Log4Net Ducksboard Appender

Ducksboard, is absolutely the most fun I’ve had on a web api in a long time.. “Monitor your metrics with Ducksboard, a real time visualization of your key performance indicators..”  Basically, you make dashboards with it.  It’s got built in pugins for tons of other apps (basecamp, github, twitter, pingdom etc. etc.) and a really nicely done restful api where you can manage your dashboards.

I’m just playing at this point, but I’m thinking that I’d like to use it to create some customer dashboards to show real-time metrics that are applicable to our apps.  One thing I was thinking was an uptime dashboard that could show the health of our services and devices, sort of like this.

Screen Shot 2013-01-26 at 6.29.28 PM

One way I can easily post to this board whenever there is an error in any of our apps is to create a Ducksboard Appender for log4net.  I used a nice little .net wrapper for Ducksboard and made the following appender :

Configure it like this :

I’m hoping to contribute to the Ducksboard api for .NET and add the dashboard API, which allows you to create dashboards in code.  A new installation of one of our services could create a new monitoring dashboard, add all of the relevant graph and informational displays, then start updating it.

Disclaimer : I recently asked Ducksboard to become “Friends” of CodeBetter.Com so you’ll see them linked at the bottom of the site, but this post is unrelated.

About Brendan Tompkins

Brendan runs CodeBetter.Com and Devlicio.Us. He is a former MVP for Microsoft .NET and is president of Port Technology Services, a partner with Port Solution Integrators a provider of hardware and software integration services for the transportation and logistics industry.
This entry was posted in .NET. Bookmark the permalink. Follow any comments here with the RSS feed for this post.