Interface ClientTelemetryExporter


public interface ClientTelemetryExporter
ClientTelemetryExporter defines the behavior for telemetry exporters on the broker side which receive and export client telemetry metrics and provides additional context including the push interval.
  • Method Details

    • exportMetrics

      void exportMetrics(ClientTelemetryContext context, ClientTelemetryPayload payload)
      Called by the broker when a client reports telemetry metrics. The telemetry context includes the push interval and authorization details which can be used by the metrics exporter to manage metric lifecycle and retrieval of additional client information.

      This method may be called from the request handling thread, and as such should avoid blocking.

      Parameters:
      context - the client telemetry context including push interval and request authorization context
      payload - the encoded telemetry payload as sent by the client