public class ProcessMetricGroup extends AbstractMetricGroup<AbstractMetricGroup<?>>
AbstractImitatingJobManagerMetricGroup implementation for process related metrics.AbstractMetricGroup.ChildType| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
hostname |
LOG, parent, queryServiceScopeInfo, registry, variables| 限定符和类型 | 方法和说明 |
|---|---|
static ProcessMetricGroup |
create(MetricRegistry metricRegistry,
String hostname) |
protected QueryScopeInfo |
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".
|
protected void |
putVariables(Map<String,String> variables)
Enters all variables specific to this
AbstractMetricGroup and their associated values
into the map. |
addGroup, addGroup, addMetric, close, counter, counter, createChildGroup, createLogicalScope, gauge, getAllVariables, getAllVariables, getLogicalScope, getLogicalScope, getMetricIdentifier, getMetricIdentifier, getMetricIdentifier, getQueryServiceMetricInfo, getScopeComponents, histogram, isClosed, meterprotected final String hostname
public static ProcessMetricGroup create(MetricRegistry metricRegistry, String hostname)
protected final String getGroupName(org.apache.flink.metrics.CharacterFilter filter)
AbstractMetricGroupgetGroupName 在类中 AbstractMetricGroup<AbstractMetricGroup<?>>filter - character filter which is applied to the nameprotected final void putVariables(Map<String,String> variables)
AbstractMetricGroupAbstractMetricGroup and their associated values
into the map.putVariables 在类中 AbstractMetricGroup<AbstractMetricGroup<?>>variables - map to enter variables and their values intoprotected final QueryScopeInfo createQueryServiceMetricInfo(org.apache.flink.metrics.CharacterFilter filter)
AbstractMetricGroupcreateQueryServiceMetricInfo 在类中 AbstractMetricGroup<AbstractMetricGroup<?>>filter - character filterCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.