metricshelper

package
v0.36.5 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 6 Imported by: 50

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDirection

func GetDirection(dir network.Direction) string

func GetIPVersion added in v0.28.0

func GetIPVersion(addr ma.Multiaddr) string

func GetStringSlice

func GetStringSlice() *[]string

func GetTransport added in v0.28.0

func GetTransport(a ma.Multiaddr) string

func PutStringSlice

func PutStringSlice(s *[]string)

func RegisterCollectors added in v0.26.0

func RegisterCollectors(reg prometheus.Registerer, collectors ...prometheus.Collector)

RegisterCollectors registers the collectors with reg ignoring reregistration error and panics on any other error

Types

This section is empty.

Jump to

Keyboard shortcuts

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