public class JobManagerOperatorMetricGroup extends ComponentMetricGroup<JobManagerJobMetricGroup>
MetricGroup representing everything belonging to the
components running on the JobManager of an Operator.AbstractMetricGroup.ChildTypeLOG, parent, queryServiceScopeInfo, registry, variables| Constructor and Description |
|---|
JobManagerOperatorMetricGroup(MetricRegistry registry,
JobManagerJobMetricGroup parent,
org.apache.flink.util.AbstractID vertexId,
String taskName,
OperatorID operatorID,
String operatorName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the component group by removing and closing all metrics and subgroups (inherited from
AbstractMetricGroup), plus closing and removing all dedicated component subgroups. |
protected QueryScopeInfo.JobManagerOperatorQueryScopeInfo |
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".
|
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.
|
addGroup, addGroup, addMetric, addSpan, counter, counter, createChildGroup, createLogicalScope, gauge, getAllVariables, getAllVariables, getLogicalScope, getLogicalScope, getMetricIdentifier, getMetricIdentifier, getMetricIdentifier, getQueryServiceMetricInfo, getScopeComponents, histogram, isClosed, meterpublic JobManagerOperatorMetricGroup(MetricRegistry registry, JobManagerJobMetricGroup parent, org.apache.flink.util.AbstractID vertexId, String taskName, OperatorID operatorID, String operatorName)
protected String getGroupName(org.apache.flink.metrics.CharacterFilter filter)
AbstractMetricGroupgetGroupName in class AbstractMetricGroup<JobManagerJobMetricGroup>filter - character filter which is applied to the nameprotected QueryScopeInfo.JobManagerOperatorQueryScopeInfo createQueryServiceMetricInfo(org.apache.flink.metrics.CharacterFilter filter)
AbstractMetricGroupcreateQueryServiceMetricInfo in class AbstractMetricGroup<JobManagerJobMetricGroup>filter - character filterprotected void putVariables(Map<String,String> variables)
AbstractMetricGroupAbstractMetricGroup and their associated values
into the map.putVariables in class AbstractMetricGroup<JobManagerJobMetricGroup>variables - map to enter variables and their values intopublic void close()
ComponentMetricGroupAbstractMetricGroup), plus closing and removing all dedicated component subgroups.close in class ComponentMetricGroup<JobManagerJobMetricGroup>protected Iterable<? extends ComponentMetricGroup> subComponents()
ComponentMetricGroupsubComponents in class ComponentMetricGroup<JobManagerJobMetricGroup>Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.