C - The type of the parent ComponentMetricGroup.@Internal public abstract class JobMetricGroup<C extends ComponentMetricGroup<C>> extends ComponentMetricGroup<C>
MetricGroup representing everything belonging
to a specific job.AbstractMetricGroup.ChildType| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.flink.api.common.JobID |
jobId
The ID of the job represented by this metrics group.
|
protected String |
jobName
The name of the job represented by this metrics group.
|
LOG, parent, queryServiceScopeInfo, registry, variables| 限定符 | 构造器和说明 |
|---|---|
protected |
JobMetricGroup(MetricRegistry registry,
C parent,
org.apache.flink.api.common.JobID jobId,
String jobName,
String[] scope) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected QueryScopeInfo.JobQueryScopeInfo |
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".
|
org.apache.flink.api.common.JobID |
jobId() |
String |
jobName() |
protected void |
putVariables(Map<String,String> variables)
Enters all variables specific to this
AbstractMetricGroup and their associated values
into the map. |
close, subComponentsaddGroup, addGroup, addMetric, counter, counter, createChildGroup, createLogicalScope, gauge, getAllVariables, getAllVariables, getLogicalScope, getLogicalScope, getMetricIdentifier, getMetricIdentifier, getMetricIdentifier, getQueryServiceMetricInfo, getScopeComponents, histogram, isClosed, meterprotected final org.apache.flink.api.common.JobID jobId
protected JobMetricGroup(MetricRegistry registry, C parent, org.apache.flink.api.common.JobID jobId, @Nullable String jobName, String[] scope)
public org.apache.flink.api.common.JobID jobId()
protected QueryScopeInfo.JobQueryScopeInfo createQueryServiceMetricInfo(org.apache.flink.metrics.CharacterFilter filter)
AbstractMetricGroupcreateQueryServiceMetricInfo 在类中 AbstractMetricGroup<C extends ComponentMetricGroup<C>>filter - character filterprotected void putVariables(Map<String,String> variables)
AbstractMetricGroupAbstractMetricGroup and their associated values
into the map.putVariables 在类中 AbstractMetricGroup<C extends ComponentMetricGroup<C>>variables - map to enter variables and their values intoprotected String getGroupName(org.apache.flink.metrics.CharacterFilter filter)
AbstractMetricGroupgetGroupName 在类中 AbstractMetricGroup<C extends ComponentMetricGroup<C>>filter - character filter which is applied to the nameCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.