Package io.helidon.common.metrics
Interface InternalBridge.MetricID.Factory
-
- Enclosing interface:
- InternalBridge.MetricID
public static interface InternalBridge.MetricID.FactoryCreates newMetricIDinstances.
-
-
Field Summary
Fields Modifier and Type Field Description static InternalBridge.MetricID.FactoryINSTANCESingleton instance of the factory.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InternalBridge.MetricIDnewMetricID(String name)Creates a version-neutralMetricIDinitialized with the specified name and any global tags.InternalBridge.MetricIDnewMetricID(String name, Map<String,String> tags)Creates a version-neutralMetricIDinitializes with the specified name and tags.
-
-
-
Field Detail
-
INSTANCE
static final InternalBridge.MetricID.Factory INSTANCE
Singleton instance of the factory.
-
-
Method Detail
-
newMetricID
InternalBridge.MetricID newMetricID(String name)
Creates a version-neutralMetricIDinitialized with the specified name and any global tags.- Parameters:
name- name of the metric to create- Returns:
- the new
MetricID
-
newMetricID
InternalBridge.MetricID newMetricID(String name, Map<String,String> tags)
Creates a version-neutralMetricIDinitializes with the specified name and tags.- Parameters:
name- name of the metric to createtags- tags to associated with the new ID- Returns:
- the new
MetricID
-
-