Slow Subscriptions

View slow subs settings

get/slow_subscriptions/settings

Request

  • Base URL: https://docs.emqx.com/api/v5
  • URL: https://docs.emqx.com/api/v5/slow_subscriptions/settings
  • Auth: one of:
    • HTTP basic
    • bearerAuth (a scheme the document does not define)

Response

enableboolean

Enable this feature

thresholdstring

The latency threshold for statistics

expire_intervalstring

The eviction time of the record, which in the statistics record table

top_k_numinteger

The maximum number of records in the slow subscription statistics record table

stats_type'whole' | 'internal' | 'response'

The method to calculate the latency

Example response

{
  "threshold": "32s",
  "expire_interval": "32s"
}

Changes

No recorded changes to this operation across all 1 revision of this API.