public class ProcessMetricGroup extends AbstractMetricGroup<AbstractMetricGroup<?>>
AbstractImitatingJobManagerMetricGroup
implementation for process related metrics.AbstractMetricGroup.ChildType
Modifier and Type | Field and Description |
---|---|
protected String |
hostname |
LOG, parent, queryServiceScopeInfo, registry, variables
Modifier and Type | Method and Description |
---|---|
static ProcessMetricGroup |
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, addMetric, close, counter, counter, createChildGroup, createLogicalScope, gauge, getAllVariables, getAllVariables, getLogicalScope, getLogicalScope, getMetricIdentifier, getMetricIdentifier, getMetricIdentifier, getQueryServiceMetricInfo, getScopeComponents, histogram, isClosed, meter
protected final String hostname
public static ProcessMetricGroup 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–2024 The Apache Software Foundation. All rights reserved.