Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
Version string `json:"version" msg:"version"` // the current version of the server.
Started int64 `json:"started" msg:"started"` // the time the server started in unix seconds.
Uptime int64 `json:"uptime" msg:"uptime"` // the number of seconds the server has been online.
BytesRecv int64 `json:"bytes_recv" msg:"bytes_recv"` // the total number of bytes received in all packets.
BytesSent int64 `json:"bytes_sent" msg:"bytes_sent"` // the total number of bytes sent to clients.
ClientsConnected int64 `json:"clients_connected" msg:"clients_connected"` // the number of currently connected clients.
ClientsDisconnected int64 `json:"clients_disconnected" msg:"clients_disconnected"` // the number of disconnected non-cleansession clients.
ClientsMax int64 `json:"clients_max" msg:"clients_max"` // the maximum number of clients that have been concurrently connected.
ClientsTotal int64 `json:"clients_total" msg:"clients_total"` // the sum of all clients, connected and disconnected.
ConnectionsTotal int64 `json:"connections_total" msg:"connections_total"` // the sum number of clients which have ever connected.
MessagesRecv int64 `json:"messages_recv" msg:"messages_recv"` // the total number of packets received.
MessagesSent int64 `json:"messages_sent" msg:"messages_sent"` // the total number of packets sent.
PublishDropped int64 `json:"publish_dropped" msg:"publish_dropped"` // the number of in-flight publish messages which were dropped.
PublishRecv int64 `json:"publish_recv" msg:"publish_recv"` // the total number of received publish packets.
PublishSent int64 `json:"publish_sent" msg:"publish_sent"` // the total number of sent publish packets.
Retained int64 `json:"retained" msg:"retained"` // the number of messages currently retained.
Inflight int64 `json:"inflight" msg:"inflight"` // the number of messages currently in-flight.
Subscriptions int64 `json:"subscriptions" msg:"subscriptions"` // the total number of filter subscriptions.
}
Info contains atomic counters and values for various server statistics commonly found in $SYS topics.
Click to show internal directories.
Click to hide internal directories.