Documentation ¶
Index ¶
- func GetTopicNameList(rocketmqConsoleIPAndPort string) []string
- type ConsumerListByTopic
- type Instance
- type MsgDiff
- type MsgDiffBroker
- type MsgDiffClientInfo
- type MsgDiffConsumerGroup
- type MsgDiffDetail
- type MsgDiffQueue
- type MsgDiffTopic
- type MsgDiffTopicConsumerGroup
- type QueueStatInfoList
- type RocketMQ
- type TopicGroup
- type TopicList
- type TopicListData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTopicNameList ¶
Types ¶
type ConsumerListByTopic ¶
type ConsumerListByTopic struct { Status int `json:"status"` ErrMsg string `json:"errMsg"` Data map[string]TopicGroup `json:"data"` }
func GetConsumerListByTopic ¶
func GetConsumerListByTopic(rocketmqConsoleIPAndPort string, topicName string) *ConsumerListByTopic
type Instance ¶
type Instance struct { config.InstanceConfig IgnoredTopics []string `toml:"ignored_topics"` RocketMQConsoleIPAndPort string `toml:"rocketmq_console_ip_port"` }
func (*Instance) Gather ¶
func (ins *Instance) Gather(slist *types.SampleList)
type MsgDiff ¶
type MsgDiff struct { MsgDiffDetails []*MsgDiffDetail `json:"msg_diff_details"` MsgDiffTopics map[string]*MsgDiffTopic `json:"msg_diff_topics"` MsgDiffConsumerGroups map[string]*MsgDiffConsumerGroup `json:"msg_diff_consumergroups"` MsgDiffTopics_ConsumerGroups map[string]*MsgDiffTopicConsumerGroup `json:"msg_diff_topics_consumergroups"` MsgDiffBrokers map[string]*MsgDiffBroker `json:"msg_diff_brokers"` MsgDiffQueues map[string]*MsgDiffQueue `json:"msg_diff_queues"` MsgDiffClientInfos map[string]*MsgDiffClientInfo `json:"msg_diff_clientinfos"` }
type MsgDiffBroker ¶
type MsgDiffClientInfo ¶
type MsgDiffConsumerGroup ¶
type MsgDiffDetail ¶
type MsgDiffQueue ¶
type MsgDiffTopic ¶
type QueueStatInfoList ¶
type RocketMQ ¶
type RocketMQ struct { config.PluginConfig Instances []*Instance `toml:"instances"` }
func (*RocketMQ) GetInstances ¶
type TopicGroup ¶
type TopicGroup struct { Topic string `json:"topic"` DiffTotal int `json:"diffTotal"` LastTimestamp int64 `json:"lastTimestamp"` QueueStatInfoList []QueueStatInfoList `json:"queueStatInfoList"` }
type TopicList ¶
type TopicList struct { Status int `json:"status"` Data TopicListData `json:"data"` ErrMsg string `json:"errMsg"` }
type TopicListData ¶
Click to show internal directories.
Click to hide internal directories.