cmd

package
v0.0.0-...-f3b18db Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func HostList

func HostList(s kingpin.Settings) (target *[]string)

Types

type SmokepingCollector

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

SmokepingCollector collects metrics from the pinger.

func NewSmokepingCollector

func NewSmokepingCollector(pingers *[]*probing.Pinger, pingResponseSeconds prometheus.HistogramVec) *SmokepingCollector

func (*SmokepingCollector) Collect

func (s *SmokepingCollector) Collect(ch chan<- prometheus.Metric)

func (*SmokepingCollector) Describe

func (s *SmokepingCollector) Describe(ch chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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