Statistics
Diffusion™ provides statistics about the server, publishers, clients, and topics.
Statistics exposed by MBeans
Diffusion provides a set of statistics as MBeans. For more information about these statistics, see MBeans.
- Using a JMX tool, such as VisualVM or JConsole. For more information, see Using Java VisualVM or Using JConsole.
- Using the Diffusion monitoring console. For more information, see Diffusion monitoring console.
- Through topics under the topic Diffusion/Metrics.
You can configure whether these statistics are collected and how they are reported. For more information, see Configuring statistics.
You can configure Diffusion to report the top-level statistics through JMX. These statistics appear under com.pushtechnology.diffusion.metrics. Reporting statistics through JMX can have a significant performance impact. Ensure that you test how using MBeans for statistics affects your solution.
- clients.concurrent
- Count
- clients.concurrent_max
- Value
- client.connections
- RateUnit
- Count
- FifteenMinuteRate
- FiveMinuteRate
- MeanRate
- OneMinuteRate
- clients.disconnections
- RateUnit
- Count
- FifteenMinuteRate
- FiveMinuteRate
- MeanRate
- OneMinuteRate
- eventpublishers.concurrent
- Count
- eventpublishers.connections
- RateUnit
- Count
- FifteenMinuteRate
- FiveMinuteRate
- MeanRate
- OneMinuteRate
- eventpublishers.disconnections
- RateUnit
- Count
- FifteenMinuteRate
- FiveMinuteRate
- MeanRate
- OneMinuteRate
- publishers.loaded
- Count
- publishers.started
- Count
- topics.additions
- RateUnit
- Count
- FifteenMinuteRate
- FiveMinuteRate
- MeanRate
- OneMinuteRate
- topics.count
- Count
- topics.deletions
- RateUnit
- Count
- FifteenMinuteRate
- FiveMinuteRate
- MeanRate
- OneMinuteRate
- Count
- The total number of items or events of this type over the lifetime of the metric.
- RateUnit
- The unit for the various rates. Generally, this is events per second.
- MeanRate
- The count divided by the lifetime of the metric.
- OneMinuteRate, FiveMinuteRate, FifteenMinuteRate
- A moving average across the given time period that is exponentially weighted towards new data.
Statistics in the Publisher API
You can get some statistics from the Publisher API. For more information, see the Java Unified API documentation.
- PublisherStatistics
- InboundClientMessageStatistics
- AverageMessageSize
- BytesOnWire
- NumberOfMessages
- OutboundMessageStatistics
- AverageMessageSize
- BytesOnWire
- NumberOfMessages
- InboundClientMessageStatistics
- ClientStatistics
- InboundMessageStatistics
- AverageMessageSize
- BytesOnWire
- NumberOfMessages
- OutboundMessageStatistics
- AverageMessageSize
- BytesOnWire
- NumberOfMessages
- InboundMessageStatistics
- TopicStatistics
- InboundMessageStatistics
- AverageMessageSize
- BytesOnWire
- NumberOfMessages
- OutboundMessageStatistics
- AverageMessageSize
- BytesOnWire
- NumberOfMessages
- TotalNumberOfSubscribers
- InboundMessageStatistics
This page last modified: 2015/11/12