Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigNetDomain ¶ added in v1.3.0
type ConfigNodeGroup ¶ added in v1.3.0
type ConfigNodeGroup struct { Name string `json:"name"` GType GType `json:"type"` // 0 join 1 observe KeepConnectedPeers int `json:"keep-connected-peers"` KeepPingPeers int `json:"keep-ping-peers"` Nodes []boson.Address `json:"nodes,omitempty"` AgentHttp []ConfigNetDomain `json:"agent-http,omitempty"` AgentWS []ConfigNetDomain `json:"agent-ws,omitempty"` }
type ConnectedInfo ¶
type GroupInfo ¶
type GroupInfo struct { GroupID boson.Address `json:"gid"` Option ConfigNodeGroup `json:"option"` KeepPeers []boson.Address `json:"keepPeers"` KnowPeers []boson.Address `json:"knowPeers"` ConnectedInfo *ConnectedInfo `json:"connectedInfo"` // connected info }
type MetricSnapshotView ¶
type MetricSnapshotView struct { LastSeenTimestamp int64 `json:"lastSeenTimestamp"` SessionConnectionRetry uint64 `json:"sessionConnectionRetry"` ConnectionTotalDuration float64 `json:"connectionTotalDuration"` SessionConnectionDuration float64 `json:"sessionConnectionDuration"` SessionConnectionDirection string `json:"sessionConnectionDirection"` LatencyEWMA int64 `json:"latencyEWMA"` Reachability string `json:"reachability"` }
MetricSnapshotView represents snapshot of metrics counters in more human readable form.
Click to show internal directories.
Click to hide internal directories.