Skip to content

ESPRMAdminMQTTStatistics

Defined in: src/ESPRMAdminMQTTStatistics.ts:11

Shell class for admin MQTT statistics operations. Methods are added via prototype augmentation in methods/ESPRMAdminMQTTStatistics/*.

new ESPRMAdminMQTTStatistics(): ESPRMAdminMQTTStatistics

ESPRMAdminMQTTStatistics

getMQTTStatistics<TResponse>(params?): Promise<TResponse>

Defined in: src/methods/ESPRMAdminMQTTStatistics/GetMQTTStatistics.ts:25

Retrieves MQTT broker usage statistics for the admin deployment.

TResponse extends GetMQTTStatisticsResponse | GetMQTTStatisticsRawResponse = GetMQTTStatisticsResponse

GetMQTTStatisticsParams

Optional filtering parameters for the MQTT statistics query. Use aggregate=raw to retrieve message payload rows with message_data.

Promise<TResponse>

MQTT statistics response. Provide a generic type argument when expecting raw message rows (example: getMQTTStatistics<GetMQTTStatisticsRawResponse>(...)).