15.3. Statistics Collected by JMX


Broker statistics

Table 15.2, “Broker JMX Statistics” describes the statistics collected for a broker.
Table 15.2. Broker JMX Statistics
NameDescription
BrokerIdSpecifies the broker's unique ID.
BrokerNameSpecifies the broker's name.
BrokerVersionSpecifies the version of the broker.
DataDirectorySpecifies the pathname of the broker's data directory.
TotalEnqueueCountSpecifies the total number of messages that have been sent to the broker.
TotalDequeueCountSpecifies the number of messages that have been acknowledged on the broker.
TotalConsumerCountSpecifies the number of message consumers subscribed to destinations on the broker.
TotalProducerCountSpecifies the number of message producers active on destinations on the broker.
TotalMessageCountSpecifies the number of unacknowledged messages on the broker.
MemoryLimitSpecifies the memory limit, in bytes, used for holding undelivered messages before paging to temporary storage.
MemoryPercentageUsedSpecifies the percentage of available memory in use.
StoreLimitSpecifies the disk space limit, in bytes, used for persistent messages before producers are blocked.
StorePercentageUsedSpecifies the percentage of the store space in use.
TempLimitSpecifies the disk space limit, in bytes, used for non-persistent messages and temporary data before producers are blocked.
TempPercentageUsedSpecifies the percentage of available temp space in use.

Destination statistics

Table 15.3, “Destination JMX Statistics” describes the statistics collected for a destination.
Table 15.3. Destination JMX Statistics
NameDescription
BlockedProducerWarningIntervalSpecifies, in milliseconds, the interval between warnings issued when a producer is blocked from adding messages to the destination.
MemoryLimitSpecifies the memory limit, in bytes, used for holding undelivered messages before paging to temporary storage.
MemoryPercentageUsedSpecifies the percentage of available memory in use.
MaxPageSizeSpecifies the maximum number of messages that can be paged into the destination.
CursorFullSpecifies if the cursor has reached its memory limit for paged messages.
CursorMemoryUsageSpecifies, in bytes, the amount of memory the cursor is using.
CursorPercentUsageSpecifies the percentage of the cursor's available memory is in use.
EnqueueCountSpecifies the number of messages that have been sent to the destination.
DequeueCountSpecifies the number of messages that have been acknowledged and removed from the destination.
DispatchCountSpecifies the number of messages that have been delivered to consumers, but not necessarily acknowledged by the consumer.
InFlightCountSpecifies the number of dispatched to, but not acknowledged by, consumers.
ExpiredCountSpecifies the number of messages that have expired in the destination.
ConsumerCountSpecifies the number of consumers that are subscribed to the destination.
QueueSizeSpecifies the number of messages in the destination that are waiting to be consumed.
AverageEnqueueTimeSpecifies the average amount of time, in milliseconds, that messages sat in the destination before being consumed.
MaxEnqueueTimeSpecifies the longest amount of time, in milliseconds, that a message sat in the destination before being consumed.
MinEnqueueTimeSpecifies the shortest amount of time, in milliseconds, that a message sat in the destination before being consumed.
MemoryUsagePortionSpecifies the portion of the broker's memory limit used by the destination.
ProducerCountSpecifies the number of producers connected to the destination.

Subscription statistics

Table 15.4, “Connection JMX Statistics” describes the statistics collected for a subscription.
Table 15.4. Connection JMX Statistics
NameDescription
EnqueueCounterCounts the number of messages that matched the subscription.
DequeueCounterCounts the number of messages were sent to and acknowledge by the client.
DispatchedQueueSizeSpecifies the number of messages dispatched to the client and are awaiting acknowledgement.
DispatchedCounterCounts the number of messages that have been sent to the client.
MessageCountAwaitingAcknowledgeSpecifies the number of messages dispatched to the client and are awaiting acknowledgement.
ActiveSpecifies if the subscription is active.
PendingQueueSizeSpecifies the number of messages pending delivery.
PrefetchSizeSpecifies the number of messages to pre-fetch and dispatch to the client.
MaximumPendingMessageLimitSpecifies the maximum number of pending messages allowed.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.