@Internal public class TaskManagerJobMetricGroup extends JobMetricGroup<TaskManagerMetricGroup>
MetricGroup representing everything belonging to a
specific job, running on the TaskManager.
Contains extra logic for adding Tasks (TaskMetricGroup).
AbstractMetricGroup.ChildTypejobId, jobNameLOG, parent, queryServiceScopeInfo, registry, variables| 构造器和说明 |
|---|
TaskManagerJobMetricGroup(MetricRegistry registry,
TaskManagerMetricGroup parent,
org.apache.flink.api.common.JobID jobId,
String jobName) |
| 限定符和类型 | 方法和说明 |
|---|---|
TaskMetricGroup |
addTask(JobVertexID jobVertexId,
ExecutionAttemptID executionAttemptID,
String taskName,
int subtaskIndex,
int attemptNumber) |
TaskManagerMetricGroup |
parent() |
void |
removeTaskMetricGroup(ExecutionAttemptID executionId) |
protected Iterable<? extends ComponentMetricGroup> |
subComponents()
Gets all component metric groups that are contained in this component metric group.
|
createQueryServiceMetricInfo, getGroupName, jobId, jobName, putVariablescloseaddGroup, addGroup, addMetric, counter, counter, createChildGroup, createLogicalScope, gauge, getAllVariables, getAllVariables, getLogicalScope, getLogicalScope, getMetricIdentifier, getMetricIdentifier, getMetricIdentifier, getQueryServiceMetricInfo, getScopeComponents, histogram, isClosed, meterpublic TaskManagerJobMetricGroup(MetricRegistry registry, TaskManagerMetricGroup parent, org.apache.flink.api.common.JobID jobId, @Nullable String jobName)
public final TaskManagerMetricGroup parent()
public TaskMetricGroup addTask(JobVertexID jobVertexId, ExecutionAttemptID executionAttemptID, String taskName, int subtaskIndex, int attemptNumber)
public void removeTaskMetricGroup(ExecutionAttemptID executionId)
protected Iterable<? extends ComponentMetricGroup> subComponents()
ComponentMetricGroupsubComponents 在类中 ComponentMetricGroup<TaskManagerMetricGroup>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.