Class KubernetesResourceNamespaceMetricGroup

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

    public class KubernetesResourceNamespaceMetricGroup
    extends org.apache.flink.runtime.metrics.groups.AbstractMetricGroup<KubernetesOperatorMetricGroup>
    Base metric group for Flink Operator Resource namespace 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)  
      KubernetesResourceMetricGroup createResourceNamespaceGroup​(org.apache.flink.configuration.Configuration config, java.lang.String resourceName)  
      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, 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

      • KubernetesResourceNamespaceMetricGroup

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

      • createResourceNamespaceGroup

        public KubernetesResourceMetricGroup createResourceNamespaceGroup​(org.apache.flink.configuration.Configuration config,
                                                                          java.lang.String resourceName)
      • 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<KubernetesOperatorMetricGroup>
      • 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<KubernetesOperatorMetricGroup>
      • 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<KubernetesOperatorMetricGroup>