Class TaskManagerJobMetricGroup
java.lang.Object
org.apache.flink.runtime.metrics.groups.AbstractMetricGroup<P>
org.apache.flink.runtime.metrics.groups.ComponentMetricGroup<C>
org.apache.flink.runtime.metrics.groups.JobMetricGroup<TaskManagerMetricGroup>
org.apache.flink.runtime.metrics.groups.TaskManagerJobMetricGroup
- All Implemented Interfaces:
org.apache.flink.metrics.MetricGroup
- Direct Known Subclasses:
UnregisteredMetricGroups.UnregisteredTaskManagerJobMetricGroup
Special
MetricGroup representing everything belonging to a
specific job, running on the TaskManager.
Contains extra logic for adding Tasks (TaskMetricGroup).
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.runtime.metrics.groups.AbstractMetricGroup
AbstractMetricGroup.ChildType -
Field Summary
Fields inherited from class org.apache.flink.runtime.metrics.groups.JobMetricGroup
jobId, jobNameFields inherited from class org.apache.flink.runtime.metrics.groups.AbstractMetricGroup
LOG, parent, queryServiceScopeInfo, registry, variables -
Constructor Summary
ConstructorsConstructorDescriptionTaskManagerJobMetricGroup(MetricRegistry registry, TaskManagerMetricGroup parent, org.apache.flink.api.common.JobID jobId, String jobName) -
Method Summary
Modifier and TypeMethodDescriptionaddTask(ExecutionAttemptID executionAttemptID, String taskName) final TaskManagerMetricGroupparent()voidremoveTaskMetricGroup(ExecutionAttemptID executionId) protected Iterable<? extends ComponentMetricGroup>Gets all component metric groups that are contained in this component metric group.Methods inherited from class org.apache.flink.runtime.metrics.groups.JobMetricGroup
addSpan, createQueryServiceMetricInfo, getGroupName, jobId, jobName, putVariablesMethods inherited from class org.apache.flink.runtime.metrics.groups.ComponentMetricGroup
closeMethods inherited from class org.apache.flink.runtime.metrics.groups.AbstractMetricGroup
addGroup, addGroup, addMetric, counter, counter, createChildGroup, createLogicalScope, gauge, getAllVariables, getAllVariables, getLogicalScope, getLogicalScope, getMetricIdentifier, getMetricIdentifier, getMetricIdentifier, getQueryServiceMetricInfo, getScopeComponents, histogram, isClosed, meterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.metrics.MetricGroup
addGroup, counter, counter, gauge, histogram, meter
-
Constructor Details
-
TaskManagerJobMetricGroup
public TaskManagerJobMetricGroup(MetricRegistry registry, TaskManagerMetricGroup parent, org.apache.flink.api.common.JobID jobId, @Nullable String jobName)
-
-
Method Details
-
parent
-
addTask
-
removeTaskMetricGroup
-
subComponents
Description copied from class:ComponentMetricGroupGets all component metric groups that are contained in this component metric group.- Specified by:
subComponentsin classComponentMetricGroup<TaskManagerMetricGroup>- Returns:
- All component metric groups that are contained in this component metric group.
-