metrics

package
v0.0.99 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearNetworkMetrics

func ClearNetworkMetrics()

func DecrRelayConns

func DecrRelayConns(rmaddr string)

func GetHostDataPoint

func GetHostDataPoint(n *network.Node) *metrics.DataPoint

func GetHostMetrics

func GetHostMetrics() *metrics.HostMetrics

func GetNetDataPoint

func GetNetDataPoint(n *network.Node) *metrics.DataPoint

func GetRelayMetrics

func GetRelayMetrics() map[string]*metrics.RelayMetrics

func IncrRelayConns

func IncrRelayConns(rmaddr string)

func UpdateHostMetrics

func UpdateHostMetrics()

func UpdateNetworkMetric

func UpdateNetworkMetric(addr string, tx, rx uint64, droppedPkt bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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