metricshelper

package
v0.0.0-...-08de2ff Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDirection

func GetDirection(dir network.Direction) string

func GetIPVersion

func GetIPVersion(addr ma.Multiaddr) string

func GetStringSlice

func GetStringSlice() *[]string

func GetTransport

func GetTransport(a ma.Multiaddr) string

func PutStringSlice

func PutStringSlice(s *[]string)

func RegisterCollectors

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