momo-jun commented on code in PR #18564:
URL: https://github.com/apache/pulsar/pull/18564#discussion_r1033082238
##########
site2/docs/administration-stats.md:
##########
@@ -4,60 +4,167 @@ title: Pulsar stats
sidebar_label: "Pulsar statistics"
---
-## Partitioned topics
+## Topic stats
+
+The following table outlines the stats of a topic. For more details about how
to get these stats, see [Get stats](admin-api-topics.md#get-stats).
+
+| Stat | Description
|
+|--------------------------------------------------|----------------------------------------------------------------------------------------------------------|
+| msgRateIn | The sum of all local and
replication publishers' publish rates (message per second).
|
+| msgThroughputIn | The sum of all local and
replication publishers' publish rates (byte per second).
|
+| msgRateOut | The sum of all local and
replication consumers' dispatch rates (message per second).
|
+| msgThroughputOut | The sum of all local and
replication consumers' dispatch rates (byte per second).
|
+| averageMsgSize | The average size (bytes)
of messages published within the last interval.
|
+| storageSize | The sum of the ledgers'
storage size for this topic. The space used to store the messages for the
topic. |
+| earliestMsgPublishTimeInBacklogs | The publish time of the
earliest message in the backlog (in milliseconds).
|
+| bytesInCounter | The total bytes published
to the topic. |
+| msgInCounter | The total messages
published to the topic.
|
+| bytesOutCounter | The total bytes delivered
to consumers. |
+| msgOutCounter | The total messages
delivered to consumers.
|
+| msgChunkPublished | The topics that have
chunked messages published on it.
|
+| backlogSize | The estimated total
unconsumed or backlog size (in bytes).
|
+| offloadedStorageSize | Space that is used to
store the offloaded messages for the topic (in bytes).
|
+| waitingPublishers | The number of publishers
waiting in a queue in exclusive access mode.
|
+| deduplicationStatus | The status of message
deduplication for the topic.
|
+| topicEpoch | The topic epoch or empty
if not set.
|
+| filteredEntriesCount | The count of skipped
entries for the topic.
|
+| nonContiguousDeletedMessagesRanges | The number of
non-contiguous deleted messages ranges.
|
+| nonContiguousDeletedMessagesRangesSerializedSize | The serialized size of
non-contiguous deleted messages ranges.
|
+| ownerBroker | The broker that owns this
topic. |
+| [publishers](#producer-stats) | The list of all local
publishers on the topic, ranging from zero to thousands.
|
+| [subscriptions](#subscription-stats) | The list of all local
subscriptions to the topic.
|
+| [replication](#replication-stats) |
This section gives the stats for cross-colo replication of this topic.
|
Review Comment:
Done:) The table has been auto-formatted.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]