Code for Extending Metrics for Complex Dashboards in AppDynamics blog post