public class ResourceManagerMetricGroup extends AbstractMetricGroup<AbstractMetricGroup<?>>
ResourceManager to register metrics.AbstractMetricGroup.ChildType| Modifier and Type | Field and Description |
|---|---|
protected String |
hostname |
LOG, parent, queryServiceScopeInfo, registry, variables| Modifier and Type | Method and Description |
|---|---|
static ResourceManagerMetricGroup |
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, addGroup, addMetric, close, counter, counter, counter, counter, createChildGroup, createLogicalScope, gauge, gauge, getAllVariables, getAllVariables, getLogicalScope, getLogicalScope, getMetricIdentifier, getMetricIdentifier, getMetricIdentifier, getQueryServiceMetricInfo, getScopeComponents, histogram, histogram, isClosed, meter, meterprotected final String hostname
public static ResourceManagerMetricGroup create(MetricRegistry metricRegistry, String hostname)
protected final String getGroupName(org.apache.flink.metrics.CharacterFilter filter)
AbstractMetricGroupgetGroupName in class 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 in class AbstractMetricGroup<AbstractMetricGroup<?>>variables - map to enter variables and their values intoprotected final QueryScopeInfo createQueryServiceMetricInfo(org.apache.flink.metrics.CharacterFilter filter)
AbstractMetricGroupcreateQueryServiceMetricInfo in class AbstractMetricGroup<AbstractMetricGroup<?>>filter - character filterCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.