Class NoOpMetricRegistry

    • Constructor Detail

      • NoOpMetricRegistry

        public NoOpMetricRegistry()
    • Method Detail

      • getDelimiter

        public char getDelimiter()
        Description copied from interface: MetricRegistry
        Returns the global delimiter.
        Specified by:
        getDelimiter in interface MetricRegistry
        Returns:
        global delimiter
      • register

        public void register​(org.apache.flink.metrics.Metric metric,
                             String metricName,
                             AbstractMetricGroup group)
        Description copied from interface: MetricRegistry
        Registers a new Metric with this registry.
        Specified by:
        register in interface MetricRegistry
        Parameters:
        metric - the metric that was added
        metricName - the name of the metric
        group - the group that contains the metric
      • unregister

        public void unregister​(org.apache.flink.metrics.Metric metric,
                               String metricName,
                               AbstractMetricGroup group)
        Description copied from interface: MetricRegistry
        Un-registers the given Metric with this registry.
        Specified by:
        unregister in interface MetricRegistry
        Parameters:
        metric - the metric that should be removed
        metricName - the name of the metric
        group - the group that contains the metric
      • addSpan

        public void addSpan​(org.apache.flink.traces.SpanBuilder spanBuilder)
        Description copied from interface: MetricRegistry
        Add and log a Span.
        Specified by:
        addSpan in interface MetricRegistry