Interface MetricsProcessor

All Known Implementing Classes:
ClusterIdDimensionProcessor, PublicDimensionsProcessor, ServiceIdDimensionProcessor

public interface MetricsProcessor
Interface for classes that make amendments to a metrics packet builder. Includes a utility method to apply a list of processors to a metrics packet.
Author:
gjoranv
  • Method Details

    • process

      void process(MetricsPacket.Builder builder)
      Processes the metrics packet builder in-place.
    • applyProcessors

      static MetricsPacket.Builder applyProcessors(MetricsPacket.Builder builder, MetricsProcessor... processors)
      Helper method to apply a list of processors to a metrics packet builder. Returns the metrics packet builder (which has been processed in-place) for convenient use in stream processing.