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