Class UnregisteredMetricGroups.UnregisteredProcessMetricGroup
java.lang.Object
org.apache.flink.runtime.metrics.groups.AbstractMetricGroup<AbstractMetricGroup<?>>
org.apache.flink.runtime.metrics.groups.ProcessMetricGroup
org.apache.flink.runtime.metrics.groups.UnregisteredMetricGroups.UnregisteredProcessMetricGroup
- All Implemented Interfaces:
org.apache.flink.metrics.MetricGroup
- Enclosing class:
- UnregisteredMetricGroups
public static class UnregisteredMetricGroups.UnregisteredProcessMetricGroup
extends ProcessMetricGroup
A safe drop-in replacement for
ProcessMetricGroups.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.runtime.metrics.groups.AbstractMetricGroup
AbstractMetricGroup.ChildType -
Field Summary
FieldsFields inherited from class org.apache.flink.runtime.metrics.groups.AbstractMetricGroup
LOG, parent, queryServiceScopeInfo, registry, variables -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final QueryScopeInfocreateQueryServiceMetricInfo(org.apache.flink.metrics.CharacterFilter filter) Creates the metric query service scope for this group.protected final StringgetGroupName(org.apache.flink.metrics.CharacterFilter filter) Returns the name for this group, meaning what kind of entity it represents, for example "taskmanager".protected final voidputVariables(Map<String, String> variables) Enters all variables specific to thisAbstractMetricGroupand their associated values into the map.Methods inherited from class org.apache.flink.runtime.metrics.groups.ProcessMetricGroup
createMethods inherited from class org.apache.flink.runtime.metrics.groups.AbstractMetricGroup
addGroup, addGroup, addMetric, addSpan, close, counter, counter, createChildGroup, createLogicalScope, gauge, getAllVariables, getAllVariables, getLogicalScope, getLogicalScope, getMetricIdentifier, getMetricIdentifier, getMetricIdentifier, getQueryServiceMetricInfo, getScopeComponents, histogram, isClosed, meterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.metrics.MetricGroup
addGroup, counter, counter, gauge, histogram, meter
-
Field Details
-
hostname
-
-
Constructor Details
-
UnregisteredProcessMetricGroup
public UnregisteredProcessMetricGroup()
-
-
Method Details
-
getGroupName
Description copied from class:AbstractMetricGroupReturns the name for this group, meaning what kind of entity it represents, for example "taskmanager".- Specified by:
getGroupNamein classAbstractMetricGroup<AbstractMetricGroup<?>>- Parameters:
filter- character filter which is applied to the name- Returns:
- logical name for this group
-
putVariables
Description copied from class:AbstractMetricGroupEnters all variables specific to thisAbstractMetricGroupand their associated values into the map.- Overrides:
putVariablesin classAbstractMetricGroup<AbstractMetricGroup<?>>- Parameters:
variables- map to enter variables and their values into
-
createQueryServiceMetricInfo
protected final QueryScopeInfo createQueryServiceMetricInfo(org.apache.flink.metrics.CharacterFilter filter) Description copied from class:AbstractMetricGroupCreates the metric query service scope for this group.- Specified by:
createQueryServiceMetricInfoin classAbstractMetricGroup<AbstractMetricGroup<?>>- Parameters:
filter- character filter- Returns:
- query service scope
-