Creates an instance of a CounterMetric with a specific prefix name that counts all types of events.
Creates an instance of a CounterMetric with a specific prefix name that counts all types of events.
The prefix of the counter's identifier.
The instance of the CounterMetric you can use to count events.
Creates an instance of a CounterMetric that counts successes by default under an identifier unique to the path to the current route..
Creates an instance of a CounterMetric that counts successes by default under an identifier unique to the path to the current route..
The instance of the CounterMetric you can use to count events.
Creates an instance of a CounterMetric with a specific prefix name that counts successes by default.
Creates an instance of a CounterMetric with a specific prefix name that counts successes by default.
The prefix of the counter's identifier.
The instance of the CounterMetric you can use to count events.
Creates an instance of a MeterMetric that measures events with a name specific to the path to the current route.
Creates an instance of a MeterMetric that measures events with a name specific to the path to the current route.
The instance of the MeterMetric you can use to measure events.
Creates an instance of a MeterMetric that measures events with a specific name.
Creates an instance of a MeterMetric that measures events with a specific name.
The name of the meter in which measured events should be recorded.
The instance of the MeterMetric you can use to measure events.
Creates an instance of a TimerMetric that measures events with a name specific to the path to the current route.
Creates an instance of a TimerMetric that measures events with a name specific to the path to the current route.
The instance of the TimerMetric you can use to measure events.
Creates an instance of a TimerMetric that measures events with a specific name.
Creates an instance of a TimerMetric that measures events with a specific name.
The name of the timer in which measured events should be recorded.
The instance of the TimerMetric you can use to measure events.
Provides an entry point to creating metric accumulators specific to the Coda Hale Metrics library (http://metrics.codahale.com).
Overview
This trait is intended to be used to construct objects that provide spray.routing.Directives, which can then be used to instrument your spray.routing.Routes with metrics accumulators. You would create these instances, and then join them together however you like in order to ease how your code is instrumented.
Usage