Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BrokerStatsTopicResult ¶
type Client ¶
func (*Client) BrokerStatsTopics ¶
func (c *Client) BrokerStatsTopics() (BrokerStatsTopicResult, error)
type ErrorResult ¶
type ErrorResult struct {
Error string `json:"error"`
}
ErrorResult is the result when an error occurs
type Namespace ¶
type Namespace map[string]NamespaceBundle
type NamespaceBundle ¶
type TopicStats ¶
type TopicStats struct {
AverageMsgSize float64 `json:"averageMsgSize"`
MsgRateIn float64 `json:"msgRateIn"`
MsgRateOut float64 `json:"msgRateOut"`
MsgThroughputIn float64 `json:"msgThroughputIn"`
MsgThroughputOut float64 `json:"msgThroughputOut"`
PendingAddEntriesCount int64 `json:"pendingAddEntriesCount"`
ProducerCount int64 `json:"producerCount"`
Publishers []struct {
Address string `json:"address"`
AverageMsgSize float64 `json:"averageMsgSize"`
ClientVersion string `json:"clientVersion"`
ConnectedSince string `json:"connectedSince"`
Metadata struct {
} `json:"metadata"`
MsgRateIn float64 `json:"msgRateIn"`
MsgThroughputIn float64 `json:"msgThroughputIn"`
ProducerId int64 `json:"producerId"`
ProducerName string `json:"producerName"`
} `json:"publishers"`
Replication struct {
} `json:"replication"`
StorageSize int64 `json:"storageSize"`
Subscriptions struct {
Subscription struct {
BlockedSubscriptionOnUnackedMsgs bool `json:"blockedSubscriptionOnUnackedMsgs"`
Consumers []struct {
Address string `json:"address"`
AvailablePermits int64 `json:"availablePermits"`
BlockedConsumerOnUnackedMsgs bool `json:"blockedConsumerOnUnackedMsgs"`
ClientVersion string `json:"clientVersion"`
ConnectedSince string `json:"connectedSince"`
ConsumerName string `json:"consumerName"`
Metadata struct {
} `json:"metadata"`
MsgRateOut float64 `json:"msgRateOut"`
MsgRateRedeliver float64 `json:"msgRateRedeliver"`
MsgThroughputOut float64 `json:"msgThroughputOut"`
UnackedMessages int64 `json:"unackedMessages"`
} `json:"consumers"`
MsgBacklog int64 `json:"msgBacklog"`
MsgRateExpired float64 `json:"msgRateExpired"`
MsgRateOut float64 `json:"msgRateOut"`
MsgRateRedeliver float64 `json:"msgRateRedeliver"`
MsgThroughputOut float64 `json:"msgThroughputOut"`
NumberOfEntriesSinceFirstNotAckedMessage int64 `json:"numberOfEntriesSinceFirstNotAckedMessage"`
TotalNonContiguousDeletedMessagesRange int64 `json:"totalNonContiguousDeletedMessagesRange"`
Type string `json:"type"`
UnackedMessages int64 `json:"unackedMessages"`
} `json:"subscription"`
} `json:"subscriptions"`
}
type TopicType ¶
type TopicType map[string]TopicStats
Click to show internal directories.
Click to hide internal directories.