public class JobManagerMetricGroup extends ComponentMetricGroup
MetricGroup representing a JobManager.
Contains extra logic for adding jobs with tasks, and removing jobs when they do not contain tasks any more
registry| Constructor and Description |
|---|
JobManagerMetricGroup(MetricRegistry registry,
JobManagerScopeFormat scopeFormat,
String hostname) |
JobManagerMetricGroup(MetricRegistry registry,
String hostname) |
| Modifier and Type | Method and Description |
|---|---|
JobManagerJobMetricGroup |
addJob(JobGraph job) |
String |
hostname() |
int |
numRegisteredJobMetricGroups() |
void |
removeJob(org.apache.flink.api.common.JobID jobId) |
protected Iterable<? extends ComponentMetricGroup> |
subComponents()
Gets all component metric groups that are contained in this component metric group.
|
closeaddGroup, addGroup, addMetric, counter, counter, counter, counter, gauge, gauge, getMetricIdentifier, getMetricIdentifier, getScopeComponents, histogram, histogram, isClosedpublic JobManagerMetricGroup(MetricRegistry registry, String hostname)
public JobManagerMetricGroup(MetricRegistry registry, JobManagerScopeFormat scopeFormat, String hostname)
public String hostname()
public JobManagerJobMetricGroup addJob(JobGraph job)
public void removeJob(org.apache.flink.api.common.JobID jobId)
public int numRegisteredJobMetricGroups()
protected Iterable<? extends ComponentMetricGroup> subComponents()
ComponentMetricGroupsubComponents in class ComponentMetricGroupCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.