prom

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectForVRFRouter

func CollectForVRFRouter(ch chan<- prometheus.Metric, sysName string, agentAddress string, v *metrics.VRFMetrics)

CollectForVRFRouter collects metrics for a certain router (used by BMP Server)

func DescribeRouter

func DescribeRouter(ch chan<- *prometheus.Desc)

DescribeRouter conforms to the prometheus collector interface (used by BMP Server)

func NewCollector

func NewCollector(r *vrf.VRFRegistry) prometheus.Collector

NewCollector creates a new collector instance for the given BGP server

Types

This section is empty.

Jump to

Keyboard shortcuts

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