metrics

package
v1.11.0-cni-plu...-aa3fb74 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Port = 9091

Functions

func GetFelixMetric

func GetFelixMetric(felixIP, name string) (metric string, err error)

func GetFelixMetricFloat

func GetFelixMetricFloat(felixIP, name string) (metric float64, err error)

func GetFelixMetricInt

func GetFelixMetricInt(felixIP, name string) (metric int, err error)

func GetFelixMetricIntFn

func GetFelixMetricIntFn(felixIP, name string) func() (metric int, err error)

func GetMetric

func GetMetric(ip string, port int, name, caFile, certFile, keyFile string) (metric string, err error)

func GetRawMetrics

func GetRawMetrics(ip string, port int, name, caFile, certFile, keyFile string) (out string, err error)

func PortString

func PortString() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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