public class MetricNames extends Object
| Constructor and Description |
|---|
MetricNames() |
| Modifier and Type | Method and Description |
|---|---|
static String |
nameFor(Module module,
Class<?> type,
String... fragments)
Build a Metric name for the given Module, Type and optional fragments.
|
static String |
nameFor(Module module,
Method method,
String... fragments)
Build a Metric name for the given Module, Method and optional fragments.
|
static String |
nameFor(String... fragments)
Build a Metric name for the given fragments.
|
public static String nameFor(String... fragments)
fragments - Name fragmentspublic static String nameFor(Module module, Class<?> type, String... fragments)
module - Moduletype - Typefragments - Name fragments