@InterfaceStability.Evolving public interface ClientTelemetryReceiver
ClientTelemetryReceiver
defines the behaviour for telemetry receiver on the broker side
which receives client telemetry metrics.Modifier and Type | Method and Description |
---|---|
void |
exportMetrics(AuthorizableRequestContext context,
ClientTelemetryPayload payload)
Called by the broker when a client reports telemetry metrics.
|
void exportMetrics(AuthorizableRequestContext context, ClientTelemetryPayload payload)
This method may be called from the request handling thread, and as such should avoid blocking.
context
- the client request context for the corresponding PushTelemetryRequest
api call.payload
- the encoded telemetry payload as sent by the client.