collector

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Namespace = "frrk8s"
	Subsystem = "bgp"

	SessionUp = metric{
		Name: "session_up",
		Help: "BGP session state (1 is up, 0 is down)",
	}

	UpdatesSent = metric{
		Name: "updates_total",
		Help: "Number of BGP UPDATE messages sent",
	}

	Prefixes = metric{
		Name: "announced_prefixes_total",
		Help: "Number of prefixes currently being advertised on the BGP session",
	}

	ReceivedPrefixes = metric{
		Name: "received_prefixes_total",
		Help: "Number of prefixes currently being received on the BGP session",
	}
)

Functions

func NewBFD

func NewBFD(l log.Logger) prometheus.Collector

func NewBGP

func NewBGP(l log.Logger) prometheus.Collector

Types

This section is empty.

Jump to

Keyboard shortcuts

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