public class SlotManagerMetricGroup extends AbstractMetricGroup<AbstractMetricGroup<?>>
SlotManager
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 SlotManagerMetricGroup |
create(MetricRegistry metricRegistry,
String hostname) |
protected QueryScopeInfo |
createQueryServiceMetricInfo(CharacterFilter filter)
Creates the metric query service scope for this group.
|
protected String |
getGroupName(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, meter
protected final String hostname
public static SlotManagerMetricGroup create(MetricRegistry metricRegistry, String hostname)
protected final String getGroupName(CharacterFilter filter)
AbstractMetricGroup
getGroupName
in class AbstractMetricGroup<AbstractMetricGroup<?>>
filter
- character filter which is applied to the nameprotected final void putVariables(Map<String,String> variables)
AbstractMetricGroup
AbstractMetricGroup
and their associated values
into the map.putVariables
in class AbstractMetricGroup<AbstractMetricGroup<?>>
variables
- map to enter variables and their values intoprotected final QueryScopeInfo createQueryServiceMetricInfo(CharacterFilter filter)
AbstractMetricGroup
createQueryServiceMetricInfo
in class AbstractMetricGroup<AbstractMetricGroup<?>>
filter
- character filterCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.