-
Notifications
You must be signed in to change notification settings - Fork 71
Topic stats Add more field, base pulsar 2.10.0 #809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
liangyuanpeng
wants to merge
1
commit into
streamnative:master
Choose a base branch
from
yunhorn:Topic_stats_field
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -193,29 +193,62 @@ type TopicStats struct { | |||||
| Subscriptions map[string]SubscriptionStats `json:"subscriptions"` | ||||||
| Replication map[string]ReplicatorStats `json:"replication"` | ||||||
| DeDuplicationStatus string `json:"deduplicationStatus"` | ||||||
|
|
||||||
| PublishRateLimitedTimes int64 `json:"publishRateLimitedTimes"` | ||||||
| EarliestMsgPublishTimeInBacklogs int64 `json:"earliestMsgPublishTimeInBacklogs"` | ||||||
| MsgChunkPublished bool `json:"msgChunkPublished"` | ||||||
| OffloadedStorageSize int64 `json:"offloadedStorageSize"` | ||||||
| LastOffloadLedgerID int64 `json:"lastOffloadLedgerId"` | ||||||
| LastOffloadSuccessTimeStamp int64 `json:"lastOffloadSuccessTimeStamp"` | ||||||
| LastOffloadFailureTimeStamp int64 `json:"lastOffloadFailureTimeStamp"` | ||||||
| WaitingPublishers int64 `json:"waitingPublishers"` | ||||||
| NonContiguousDeletedMessagesRanges int64 `json:"nonContiguousDeletedMessagesRanges"` | ||||||
| NonContiguousDeletedMessagesRangesSS int64 `json:"nonContiguousDeletedMessagesRangesSerializedSize"` | ||||||
| Compaction TopicCompaction `json:"compaction"` | ||||||
| } | ||||||
|
|
||||||
| type PublisherStats struct { | ||||||
| ProducerID int64 `json:"producerId"` | ||||||
| MsgRateIn float64 `json:"msgRateIn"` | ||||||
| MsgThroughputIn float64 `json:"msgThroughputIn"` | ||||||
| AverageMsgSize float64 `json:"averageMsgSize"` | ||||||
| Metadata map[string]string `json:"metadata"` | ||||||
| ProducerID int64 `json:"producerId"` | ||||||
| ProducerName string `json:"producerName"` | ||||||
| MsgRateIn float64 `json:"msgRateIn"` | ||||||
| MsgThroughputIn float64 `json:"msgThroughputIn"` | ||||||
| AverageMsgSize float64 `json:"averageMsgSize"` | ||||||
| Metadata map[string]string `json:"metadata"` | ||||||
| ClientVersion string `json:"clientVersion"` | ||||||
| ConnectedSince string `json:"connectedSince"` | ||||||
| Address string `json:"address"` | ||||||
| SupportsPartialProducer bool `json:"supportsPartialProducer"` | ||||||
| ChunkedMessageRate float64 `json:"chunkedMessageRate"` | ||||||
| } | ||||||
|
|
||||||
| type SubscriptionStats struct { | ||||||
| BlockedSubscriptionOnUnackedMsgs bool `json:"blockedSubscriptionOnUnackedMsgs"` | ||||||
| IsReplicated bool `json:"isReplicated"` | ||||||
| MsgRateOut float64 `json:"msgRateOut"` | ||||||
| MsgThroughputOut float64 `json:"msgThroughputOut"` | ||||||
| MsgRateRedeliver float64 `json:"msgRateRedeliver"` | ||||||
| MsgRateExpired float64 `json:"msgRateExpired"` | ||||||
| MsgBacklog int64 `json:"msgBacklog"` | ||||||
| MsgDelayed int64 `json:"msgDelayed"` | ||||||
| UnAckedMessages int64 `json:"unackedMessages"` | ||||||
| SubType string `json:"type"` | ||||||
| ActiveConsumerName string `json:"activeConsumerName"` | ||||||
| Consumers []ConsumerStats `json:"consumers"` | ||||||
| BlockedSubscriptionOnUnackedMsgs bool `json:"blockedSubscriptionOnUnackedMsgs"` | ||||||
| IsReplicated bool `json:"isReplicated"` | ||||||
| MsgRateOut float64 `json:"msgRateOut"` | ||||||
| MsgThroughputOut float64 `json:"msgThroughputOut"` | ||||||
| MsgRateRedeliver float64 `json:"msgRateRedeliver"` | ||||||
| MsgRateExpired float64 `json:"msgRateExpired"` | ||||||
| MsgBacklog int64 `json:"msgBacklog"` | ||||||
| MsgDelayed int64 `json:"msgDelayed"` | ||||||
| UnAckedMessages int64 `json:"unackedMessages"` | ||||||
| SubType string `json:"type"` | ||||||
| ActiveConsumerName string `json:"activeConsumerName"` | ||||||
| Consumers []ConsumerStats `json:"consumers"` | ||||||
| TotalMsgExpired int64 `json:"totalMsgExpired"` | ||||||
| BacklogSize int64 `json:"backlogSize"` | ||||||
| EarliestMsgPublishTimeInBacklog int64 `json:"earliestMsgPublishTimeInBacklog"` | ||||||
| MsgBacklogNoDelayed int64 `json:"msgBacklogNoDelayed"` | ||||||
| LastExpireTimestamp int64 `json:"lastExpireTimestamp"` | ||||||
| LastConsumedFlowTimestamp int64 `json:"lastConsumedFlowTimestamp"` | ||||||
| LastConsumedTimestamp int64 `json:"lastConsumedTimestamp"` | ||||||
| LastAckedTimestamp int64 `json:"lastAckedTimestamp"` | ||||||
| LastMarkDeleteAdvancedTimestamp int64 `json:"lastMarkDeleteAdvancedTimestamp"` | ||||||
| IsDurable bool `json:"isDurable"` | ||||||
| AllowOutOfOrderDelivery bool `json:"allowOutOfOrderDelivery"` | ||||||
| NonContiguousDeletedMessagesRanges int64 `json:"nonContiguousDeletedMessagesRanges"` | ||||||
| NonContiguousDeletedMessagesRangesSS int64 `json:"nonContiguousDeletedMessagesRangesSerializedSize"` | ||||||
| Durable bool `json:"durable"` | ||||||
| Replicated bool `json:"replicated"` | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| } | ||||||
|
|
||||||
| type ConsumerStats struct { | ||||||
|
|
@@ -227,6 +260,9 @@ type ConsumerStats struct { | |||||
| MsgRateRedeliver float64 `json:"msgRateRedeliver"` | ||||||
| ConsumerName string `json:"consumerName"` | ||||||
| Metadata map[string]string `json:"metadata"` | ||||||
| Address string `json:"address"` | ||||||
| ConnectedSince string `json:"connectedSince"` | ||||||
| ClientVersion string `json:"clientVersion"` | ||||||
| } | ||||||
|
|
||||||
| type ReplicatorStats struct { | ||||||
|
|
@@ -318,6 +354,25 @@ type PartitionedTopicStats struct { | |||||
| DeDuplicationStatus string `json:"deduplicationStatus"` | ||||||
| Metadata PartitionedTopicMetadata `json:"metadata"` | ||||||
| Partitions map[string]TopicStats `json:"partitions"` | ||||||
|
|
||||||
| PublishRateLimitedTimes int64 `json:"publishRateLimitedTimes"` | ||||||
| EarliestMsgPublishTimeInBacklogs int64 `json:"earliestMsgPublishTimeInBacklogs"` | ||||||
| MsgChunkPublished bool `json:"msgChunkPublished"` | ||||||
| OffloadedStorageSize int64 `json:"offloadedStorageSize"` | ||||||
| LastOffloadLedgerID int64 `json:"lastOffloadLedgerId"` | ||||||
| LastOffloadSuccessTimeStamp int64 `json:"lastOffloadSuccessTimeStamp"` | ||||||
| LastOffloadFailureTimeStamp int64 `json:"lastOffloadFailureTimeStamp"` | ||||||
| WaitingPublishers int64 `json:"waitingPublishers"` | ||||||
| NonContiguousDeletedMessagesRanges int64 `json:"nonContiguousDeletedMessagesRanges"` | ||||||
| NonContiguousDeletedMessagesRangesSS int64 `json:"nonContiguousDeletedMessagesRangesSerializedSize"` | ||||||
| Compaction TopicCompaction `json:"compaction"` | ||||||
| } | ||||||
|
|
||||||
| type TopicCompaction struct { | ||||||
| LastCompactionRemovedEventCount int64 `json:"lastCompactionRemovedEventCount"` | ||||||
| LastCompactionSucceedTimestamp int64 `json:"lastCompactionSucceedTimestamp"` | ||||||
| LastCompactionFailedTimestamp int64 `json:"lastCompactionFailedTimestamp"` | ||||||
| LastCompactionDurationTimeInMills int64 `json:"lastCompactionDurationTimeInMills"` | ||||||
| } | ||||||
|
|
||||||
| type SchemaData struct { | ||||||
|
|
||||||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicated.