jnunemaker/nunes — pull request #13 by bazbremner (2013-08-12 16:51:17+00:00)
Title: Optional prefix on metric names

This change adds an optional prefix for generated metrics, plus a couple of unit tests.

The aim was to provide support for namespacing metrics based on deployments/environments or hostnames above the generated active_support/action_controller level.

Trailing separators on the prefix are squeezed using the existing logic in Nunes::Adapter when generating metrics. The accessor returns the prefix as supplied to subscribe/wrap.