object MetricName
- Companion
- class
Value members
Concrete methods
Create a metrics name from a Class.
Create a metrics name from a Class.
Unlike com.codahale.metrics.MetricRegistry.name this version supports Scala classes such as objects and closures.
- Value Params
- metricOwner
the class that 'owns' the metric
- names
the name parts to append, empty strings and
nulls are ignored
- Returns
a metric (base)name
Directly create a metrics name from a String.
Directly create a metrics name from a String.
- Value Params
- name
the (base)name for the metric This should not be empty; not appending more names may lead to an -illegal- empty metric name. However, for backward compatibility an empty name is allowed.
- names
the name parts to append, empty strings and
nulls are ignored
- Returns
a metric (base)name