BBC-News/alephant-publisher-queue — pull request #6 by Integralist (2014-12-08 11:50:14+00:00)
Title: Custom Metrics

## Problem

We want to plug some custom metrics about the broker into AWS CloudWatch.

## Solution

Use the new [Alephant-Logger](https://github.com/BBC-News/alephant-logger) `metric` interface.

> Note: Alephant-Logger has been implemented in a way that means if the consumer of Alephant-Broker doesn't have a need for recording CloudWatch metrics then they simply don't wrap the Logger in the provided Decorator class (meaning any calls to `metric` become a no-op)