book
Article ID: KB0089560
calendar_today
Updated On:
Description
Resolution:
In the "show server" output, Inbound Message Rate and Outbound Message Rate are calculated based on the server_rate_interval. In the "show stat topic topic.test" command output, the rates are calculated based on the rate_interval parameter.
server_rate_interval and rate_interval are the rate interval used for gathering overall server statistics and more specific statistics (such as routes, destinations, producers, consumers) respectively; in other words, between the "show server" output and any other "show" command output.
(a). server_rate_interval
server_rate_interval = seconds
Sets the interval (in seconds) over which overall server statistics are averaged. This parameter can be set to any positive integer. Server statistics are always gathered, so this parameter cannot be set to zero. By default, this parameter is set to 1. Setting this parameter allows you to average message rates and message size over the specified interval.
(b). rate_interval
rate_interval = seconds
Sets the interval (in seconds) over which statistics for routes, destinations, producers, and consumers are averaged. By default, this parameter is set to 3 seconds. Setting this parameter to zero disables the average calculation.
Issue/Introduction
What is the different usage for server_rate_interval and rate_interval parameters?