Class EventConverter


  • public class EventConverter
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      EventConverter​(com.newrelic.telemetry.Attributes commonAttributes, java.lang.String pattern)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BufferedTelemetry convert​(RecordedEventBuffer buffer)
      Drain the events from the buffer, and convert them according to the configured metric, event, and summary registries.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EventConverter

        public EventConverter​(com.newrelic.telemetry.Attributes commonAttributes,
                              java.lang.String pattern)
    • Method Detail

      • convert

        public BufferedTelemetry convert​(RecordedEventBuffer buffer)
        Drain the events from the buffer, and convert them according to the configured metric, event, and summary registries.
        Parameters:
        buffer - the buffer
        Returns:
        a buffered telemetry containing the converted events