metrics

package
v0.0.0-...-83e20ab Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	// contains filtered or unexported fields
}

func NewPrometheusInstance

func NewPrometheusInstance(cfg *config.Config) *Instance

func (*Instance) Run

func (o *Instance) Run()

func (*Instance) UpdateHTTP

func (o *Instance) UpdateHTTP(time, bandwidth float64, destIP string)

func (*Instance) UpdatePING

func (o *Instance) UpdatePING(time, lost float64, destIP string)

Jump to

Keyboard shortcuts

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