@Internal public class InternalOperatorMetricGroup extends ComponentMetricGroup<TaskMetricGroup> implements OperatorMetricGroup
MetricGroup
representing an Operator.AbstractMetricGroup.ChildType
LOG, parent, queryServiceScopeInfo, registry, variables
Modifier and Type | Method and Description |
---|---|
protected QueryScopeInfo.OperatorQueryScopeInfo |
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".
|
InternalOperatorIOMetricGroup |
getIOMetricGroup()
Returns the OperatorIOMetricGroup for this operator.
|
TaskIOMetricGroup |
getTaskIOMetricGroup() |
MetricGroup |
getTaskMetricGroup() |
protected void |
putVariables(Map<String,String> variables)
Enters all variables specific to this
AbstractMetricGroup and their associated values
into the map. |
protected Iterable<? extends ComponentMetricGroup> |
subComponents()
Gets all component metric groups that are contained in this component metric group.
|
close
addGroup, addGroup, addMetric, addSpan, counter, counter, createChildGroup, createLogicalScope, gauge, getAllVariables, getAllVariables, getLogicalScope, getLogicalScope, getMetricIdentifier, getMetricIdentifier, getMetricIdentifier, getQueryServiceMetricInfo, getScopeComponents, histogram, isClosed, meter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addGroup, addGroup, addGroup, addSpan, counter, counter, counter, counter, gauge, gauge, getAllVariables, getMetricIdentifier, getMetricIdentifier, getScopeComponents, histogram, histogram, meter, meter
public final TaskIOMetricGroup getTaskIOMetricGroup()
public final MetricGroup getTaskMetricGroup()
protected QueryScopeInfo.OperatorQueryScopeInfo createQueryServiceMetricInfo(CharacterFilter filter)
AbstractMetricGroup
createQueryServiceMetricInfo
in class AbstractMetricGroup<TaskMetricGroup>
filter
- character filterpublic InternalOperatorIOMetricGroup getIOMetricGroup()
getIOMetricGroup
in interface OperatorMetricGroup
protected void putVariables(Map<String,String> variables)
AbstractMetricGroup
AbstractMetricGroup
and their associated values
into the map.putVariables
in class AbstractMetricGroup<TaskMetricGroup>
variables
- map to enter variables and their values intoprotected Iterable<? extends ComponentMetricGroup> subComponents()
ComponentMetricGroup
subComponents
in class ComponentMetricGroup<TaskMetricGroup>
protected String getGroupName(CharacterFilter filter)
AbstractMetricGroup
getGroupName
in class AbstractMetricGroup<TaskMetricGroup>
filter
- character filter which is applied to the nameCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.