Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelStats ¶
type ChannelStats struct { Name string `json:"channel_name"` Depth int64 `json:"depth"` BackendDepth int64 `json:"backend_depth"` InFlightCount int64 `json:"in_flight_count"` DeferredCount int64 `json:"deferred_count"` MessageCount int64 `json:"message_count"` RequeueCount int64 `json:"requeue_count"` TimeoutCount int64 `json:"timeout_count"` Paused bool `json:"paused"` Clients []ClientStats `json:"clients"` }
e2e_processing_latency is not modeled
type ClientStats ¶
type ClientStats struct { Name string `json:"name"` // DEPRECATED 1.x+, still here as the structs are currently being shared for parsing v3.x and 1.x ID string `json:"client_id"` Hostname string `json:"hostname"` Version string `json:"version"` RemoteAddress string `json:"remote_address"` State int64 `json:"state"` ReadyCount int64 `json:"ready_count"` InFlightCount int64 `json:"in_flight_count"` MessageCount int64 `json:"message_count"` FinishCount int64 `json:"finish_count"` RequeueCount int64 `json:"requeue_count"` ConnectTime int64 `json:"connect_ts"` SampleRate int64 `json:"sample_rate"` Deflate bool `json:"deflate"` Snappy bool `json:"snappy"` UserAgent string `json:"user_agent"` TLS bool `json:"tls"` TLSCipherSuite string `json:"tls_cipher_suite"` TLSVersion string `json:"tls_version"` TLSNegotiatedProtocol string `json:"tls_negotiated_protocol"` TLSNegotiatedProtocolIsMutual bool `json:"tls_negotiated_protocol_is_mutual"` }
type NSQ ¶
type NSQ struct { Endpoints []string tls.ClientConfig // contains filtered or unexported fields }
Might add Lookupd endpoints for cluster discovery
func (*NSQ) Description ¶
func (*NSQ) SampleConfig ¶
type StatsData ¶ added in v0.0.12
type StatsData struct { Version string `json:"version"` Health string `json:"health"` StartTime int64 `json:"start_time"` Topics []TopicStats `json:"topics"` }
type TopicStats ¶
type TopicStats struct { Name string `json:"topic_name"` Depth int64 `json:"depth"` BackendDepth int64 `json:"backend_depth"` MessageCount int64 `json:"message_count"` Paused bool `json:"paused"` Channels []ChannelStats `json:"channels"` }
e2e_processing_latency is not modeled
Click to show internal directories.
Click to hide internal directories.