system

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	BytesRecv           int64  `json:"bytes_recv"`           // the total number of bytes received in all packets.
	BytesSent           int64  `json:"bytes_sent"`           // the total number of bytes sent to clients.
	MessagesRecv        int64  `json:"messages_recv"`        // the total number of packets received.
	PublishRecv         int64  `json:"publish_recv"`         // the total number of received publish packets.
	PublishSent         int64  `json:"publish_sent"`         // the total number of sent publish packets.
	MessagesSent        int64  `json:"messages_sent"`        // the total number of packets sent.
	PublishDropped      int64  `json:"publish_dropped"`      // the number of in-flight publish messages which were dropped.
	Uptime              int64  `json:"uptime"`               // the number of seconds the server has been online.
	ClientsConnected    int64  `json:"clients_connected"`    // the number of currently connected clients.
	ClientsDisconnected int64  `json:"clients_disconnected"` // the number of disconnected non-cleansession clients.
	ClientsMax          int64  `json:"clients_max"`          // the maximum number of clients that have been concurrently connected.
	ClientsTotal        int64  `json:"clients_total"`        // the sum of all clients, connected and disconnected.
	ConnectionsTotal    int64  `json:"connections_total"`    // the sum number of clients which have ever connected.
	Retained            int64  `json:"retained"`             // the number of messages currently retained.
	Inflight            int64  `json:"inflight"`             // the number of messages currently in-flight.
	Subscriptions       int64  `json:"subscriptions"`        // the total number of filter subscriptions.
	Started             int64  `json:"started"`              // the time the server started in unix seconds.
	Version             string `json:"version"`              // the current version of the server.
}

Info contains atomic counters and values for various server statistics commonly found in $SYS topics.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL