monitor

package
v0.0.0-...-29c3169 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckHost

func CheckHost(ctx context.Context, ip *netip.Addr, cfg *pb.Config, traceAttributes ...attribute.KeyValue) (*pb.ServerStatus, *ntp.Response, error)

CheckHost runs the configured queries to the IP and returns one ServerStatus

func NewMQClient

func NewMQClient(log *slog.Logger, topics *mqttcm.MQTTTopics, conf config.ConfigUpdater, promreg prometheus.Gatherer) *mqclient

Types

This section is empty.

Jump to

Keyboard shortcuts

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