Class KubernetesOperatorScopeFormat


  • public class KubernetesOperatorScopeFormat
    extends org.apache.flink.runtime.metrics.scope.ScopeFormat
    Format for metrics. *
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NAME  
      static java.lang.String NAMESPACE  
      • Fields inherited from class org.apache.flink.runtime.metrics.scope.ScopeFormat

        SCOPE_HOST, SCOPE_INHERIT_PARENT, SCOPE_JOB_ID, SCOPE_JOB_NAME, SCOPE_OPERATOR_ID, SCOPE_OPERATOR_NAME, SCOPE_SEPARATOR, SCOPE_TASK_ATTEMPT_ID, SCOPE_TASK_ATTEMPT_NUM, SCOPE_TASK_NAME, SCOPE_TASK_SUBTASK_INDEX, SCOPE_TASK_VERTEX_ID, SCOPE_TASKMANAGER_ID
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] formatScope​(java.lang.String namespace, java.lang.String name, java.lang.String hostname)  
      static KubernetesOperatorScopeFormat fromConfig​(org.apache.flink.configuration.Configuration config)  
      • Methods inherited from class org.apache.flink.runtime.metrics.scope.ScopeFormat

        arrayToMap, asVariable, bindVariables, concat, copyTemplate, format, toString, valueOrNull
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • NAMESPACE

        public static final java.lang.String NAMESPACE
      • NAME

        public static final java.lang.String NAME
    • Constructor Detail

      • KubernetesOperatorScopeFormat

        public KubernetesOperatorScopeFormat​(java.lang.String format)
    • Method Detail

      • formatScope

        public java.lang.String[] formatScope​(java.lang.String namespace,
                                              java.lang.String name,
                                              java.lang.String hostname)