Object PingTelemetryHelper

  • All Implemented Interfaces:

    
    public class PingTelemetryHelper
    
                        

    PingTelemetryHelper is a utility class that helps in submitting telemetry events related to pings. It uses a sampling validator to determine whether to submit the event based on the configured sampling factor.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit submitEvent(String eventType, Map<String, Object> keyValueMap) Submits a telemetry event with the given event type and key-value map.
      final Unit setSamplingValidator(SamplingValidator samplingValidator)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait