metrics

package
v0.0.190 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OLSRLinkAsymmetryTime = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_asymmetry_time",
		Help: "OLSR Link Asymmetry Time",
	}, []string{"device", "local_ip", "remote_ip"})
	OLSRLinkHelloTime = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_hello_time",
		Help: "OLSR Link Hello Time",
	}, []string{"device", "local_ip", "remote_ip"})
	OLSRLinkHysteresis = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_hysteresis",
		Help: "OLSR Link Hysteresis",
	}, []string{"device", "local_ip", "remote_ip"})
	OLSRLinkLastHelloTime = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_last_hello_time",
		Help: "OLSR Link Last Hello Time",
	}, []string{"device", "local_ip", "remote_ip"})
	OLSRLinkLinkCost = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_link_cost",
		Help: "OLSR Link Cost",
	}, []string{"device", "local_ip", "remote_ip"})
	OLSRLinkLinkQuality = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_link_quality",
		Help: "OLSR Link Quality",
	}, []string{"device", "local_ip", "remote_ip"})
	OLSRLinkLossHelloInterval = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_loss_hello_interval",
		Help: "OLSR Link Loss Hello Interval",
	}, []string{"device", "local_ip", "remote_ip"})
	OLSRLinkLossMultiplier = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_loss_multiplier",
		Help: "OLSR Link Loss Multiplier",
	}, []string{"device", "local_ip", "remote_ip"})
	OLSRLinkLossTime = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_loss_time",
		Help: "OLSR Link Loss Time",
	}, []string{"device", "local_ip", "remote_ip"})
	OLSRLinkLostLinkTime = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_lost_link_time",
		Help: "OLSR Link Lost Link Time",
	}, []string{"device", "local_ip", "remote_ip"})
	OLSRLinkNeighborLinkQuality = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_neighbor_link_quality",
		Help: "OLSR Link Neighbor Link Quality",
	}, []string{"device", "local_ip", "remote_ip"})
	OLSRLinkPending = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_pending",
		Help: "OLSR Link Pending",
	}, []string{"device", "local_ip", "remote_ip"})
	OLSRLinkSeqno = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_seqno",
		Help: "OLSR Link Seqno",
	}, []string{"device", "local_ip", "remote_ip"})
	OLSRLinkSeqnoValid = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_seqno_valid",
		Help: "OLSR Link Seqno Valid",
	}, []string{"device", "local_ip", "remote_ip"})
	OLSRLinkSymmetryTime = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_symmetry_time",
		Help: "OLSR Link Symmetry Time",
	}, []string{"device", "local_ip", "remote_ip"})
	OLSRLinkValidityTime = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_validity_time",
		Help: "OLSR Link Validity Time",
	}, []string{"device", "local_ip", "remote_ip"})
	OLSRLinkVTime = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_olsr_link_vtime",
		Help: "OLSR Link VTime",
	}, []string{"device", "local_ip", "remote_ip"})
)
View Source
var (
	AREDNMeshRF = promauto.NewGauge(prometheus.GaugeOpts{
		Name: "node_details_meshrf",
		Help: "AREDN Mesh RF Enabled",
	})
	AREDNInfo = promauto.NewGaugeVec(prometheus.GaugeOpts{
		Name: "node_aredn_info",
		Help: "AREDN Node Info",
	}, []string{
		"board_id",
		"description",
		"firmware_version",
		"gridsquare",
		"lat",
		"lon",
		"model",
		"node",
		"tactical",
	})
)

Functions

func CreateMetricsServer

func CreateMetricsServer(config *config.Config, version string)

func OLSRWatcher added in v0.0.53

func OLSRWatcher(db *gorm.DB)

Types

This section is empty.

Jump to

Keyboard shortcuts

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