metrics

package
v0.0.0-...-686509f Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCollector

func RegisterCollector(nodeName string, neighbors []*net.IP, bgpServer *bgp.Server)

RegisterCollector registers a new Prometheus metrics collector.

func ServeMetrics

func ServeMetrics(host net.IP, port int, wg *sync.WaitGroup, stop <-chan struct{})

ServeMetrics starts the Prometheus metrics collector.

Types

This section is empty.

Jump to

Keyboard shortcuts

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