Class KubernetesResourceMetricGroup

  • All Implemented Interfaces:
    org.apache.flink.metrics.MetricGroup

    public class KubernetesResourceMetricGroup
    extends org.apache.flink.runtime.metrics.groups.AbstractMetricGroup<KubernetesResourceNamespaceMetricGroup>
    Base metric group for Flink Operator Resource level metrics.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.flink.runtime.metrics.groups.AbstractMetricGroup

        org.apache.flink.runtime.metrics.groups.AbstractMetricGroup.ChildType
    • Field Summary

      • Fields inherited from class org.apache.flink.runtime.metrics.groups.AbstractMetricGroup

        LOG, parent, queryServiceScopeInfo, registry, variables
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.flink.runtime.metrics.dump.QueryScopeInfo createQueryServiceMetricInfo​(org.apache.flink.metrics.CharacterFilter filter)  
      protected java.lang.String getGroupName​(org.apache.flink.metrics.CharacterFilter filter)  
      protected void putVariables​(java.util.Map<java.lang.String,​java.lang.String> variables)  
      • Methods 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, meter
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.flink.metrics.MetricGroup

        addGroup, counter, counter, gauge, histogram, meter
    • Constructor Detail

      • KubernetesResourceMetricGroup

        protected KubernetesResourceMetricGroup​(org.apache.flink.runtime.metrics.MetricRegistry registry,
                                                KubernetesResourceNamespaceMetricGroup parent,
                                                java.lang.String[] scope,
                                                java.lang.String resourceName)
    • Method Detail

      • putVariables

        protected final void putVariables​(java.util.Map<java.lang.String,​java.lang.String> variables)
        Overrides:
        putVariables in class org.apache.flink.runtime.metrics.groups.AbstractMetricGroup<KubernetesResourceNamespaceMetricGroup>
      • getGroupName

        protected final java.lang.String getGroupName​(org.apache.flink.metrics.CharacterFilter filter)
        Specified by:
        getGroupName in class org.apache.flink.runtime.metrics.groups.AbstractMetricGroup<KubernetesResourceNamespaceMetricGroup>
      • createQueryServiceMetricInfo

        protected final org.apache.flink.runtime.metrics.dump.QueryScopeInfo createQueryServiceMetricInfo​(org.apache.flink.metrics.CharacterFilter filter)
        Specified by:
        createQueryServiceMetricInfo in class org.apache.flink.runtime.metrics.groups.AbstractMetricGroup<KubernetesResourceNamespaceMetricGroup>