@Internal public class GenericMetricGroup extends AbstractMetricGroup<AbstractMetricGroup<?>>
MetricGroup
that is used to hold
subgroups of metrics.AbstractMetricGroup.ChildType
LOG, parent, queryServiceScopeInfo, registry, variables
Constructor and Description |
---|
GenericMetricGroup(MetricRegistry registry,
AbstractMetricGroup parent,
String name) |
Modifier and Type | Method and Description |
---|---|
protected QueryScopeInfo |
createQueryServiceMetricInfo(CharacterFilter filter)
Creates the metric query service scope for this group.
|
protected String |
getGroupName(CharacterFilter filter)
Returns the name for this group, meaning what kind of entity it represents, for example "taskmanager".
|
addGroup, addGroup, addGroup, addMetric, close, counter, counter, counter, counter, createChildGroup, createLogicalScope, gauge, gauge, getAllVariables, getLogicalScope, getLogicalScope, getMetricIdentifier, getMetricIdentifier, getMetricIdentifier, getQueryServiceMetricInfo, getScopeComponents, histogram, histogram, isClosed, meter, meter, putVariables
public GenericMetricGroup(MetricRegistry registry, AbstractMetricGroup parent, String name)
protected QueryScopeInfo createQueryServiceMetricInfo(CharacterFilter filter)
AbstractMetricGroup
createQueryServiceMetricInfo
in class AbstractMetricGroup<AbstractMetricGroup<?>>
filter
- character filterprotected String getGroupName(CharacterFilter filter)
AbstractMetricGroup
getGroupName
in class AbstractMetricGroup<AbstractMetricGroup<?>>
filter
- character filter which is applied to the nameCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.