metrics

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collect

func Collect(network string, peerMap models.PeerMap, metricPort int) (*models.Metrics, error)

Collect - collects metrics

func ExtPeerConnStatus added in v1.1.0

func ExtPeerConnStatus(address string, count int) (bool, int64)

func PeerConnStatus added in v0.21.2

func PeerConnStatus(address string, port, counter int) (connected bool, latency int64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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