@Internal public class OperatorMetricGroup extends ComponentMetricGroup<TaskMetricGroup>
MetricGroup representing an Operator.AbstractMetricGroup.ChildTypeLOG, parent, queryServiceScopeInfo, registry, variables| Constructor and Description |
|---|
OperatorMetricGroup(MetricRegistry registry,
TaskMetricGroup parent,
OperatorID operatorID,
String operatorName) |
| Modifier and Type | Method and Description |
|---|---|
protected QueryScopeInfo.OperatorQueryScopeInfo |
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".
|
OperatorIOMetricGroup |
getIOMetricGroup()
Returns the OperatorIOMetricGroup for this operator.
|
TaskMetricGroup |
parent() |
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.
|
closeaddGroup, addGroup, addGroup, addMetric, counter, counter, counter, counter, createChildGroup, createLogicalScope, gauge, gauge, getAllVariables, getAllVariables, getLogicalScope, getLogicalScope, getMetricIdentifier, getMetricIdentifier, getMetricIdentifier, getQueryServiceMetricInfo, getScopeComponents, histogram, histogram, isClosed, meter, meterpublic OperatorMetricGroup(MetricRegistry registry, TaskMetricGroup parent, OperatorID operatorID, String operatorName)
public final TaskMetricGroup parent()
protected QueryScopeInfo.OperatorQueryScopeInfo createQueryServiceMetricInfo(org.apache.flink.metrics.CharacterFilter filter)
AbstractMetricGroupcreateQueryServiceMetricInfo in class AbstractMetricGroup<TaskMetricGroup>filter - character filterpublic OperatorIOMetricGroup getIOMetricGroup()
protected void putVariables(Map<String,String> variables)
AbstractMetricGroupAbstractMetricGroup 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()
ComponentMetricGroupsubComponents in class ComponentMetricGroup<TaskMetricGroup>protected String getGroupName(org.apache.flink.metrics.CharacterFilter filter)
AbstractMetricGroupgetGroupName in class AbstractMetricGroup<TaskMetricGroup>filter - character filter which is applied to the nameCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.