class TaskMetricGroup extends ComponentMetricGroup<TaskManagerJobMetricGroup> {

	@Override
	public void close() {
		super.close();

		parent.removeTaskMetricGroup(executionId);
	}

	public  TaskMetricGroup(
			MetricRegistry registry,
			TaskManagerJobMetricGroup parent,
			@Nullable JobVertexID vertexId,
			AbstractID executionId,
			@Nullable String taskName,
			int subtaskIndex,
			int attemptNumber);

}