Class MetricRegistryConfiguration

java.lang.Object
org.apache.flink.runtime.metrics.MetricRegistryConfiguration

public class MetricRegistryConfiguration extends Object
Configuration object for MetricRegistryImpl.
  • Constructor Details

    • MetricRegistryConfiguration

      public MetricRegistryConfiguration(ScopeFormats scopeFormats, char delimiter, long queryServiceMessageSizeLimit)
  • Method Details

    • getScopeFormats

      public ScopeFormats getScopeFormats()
    • getDelimiter

      public char getDelimiter()
    • getQueryServiceMessageSizeLimit

      public long getQueryServiceMessageSizeLimit()
    • fromConfiguration

      public static MetricRegistryConfiguration fromConfiguration(org.apache.flink.configuration.Configuration configuration, long maximumFrameSize)
      Create a metric registry configuration object from the given Configuration.
      Parameters:
      configuration - to generate the metric registry configuration from
      maximumFrameSize - the maximum message size that the RPC system supports
      Returns:
      Metric registry configuration generated from the configuration