monitoring

package
v0.0.0-...-80a2c53 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CurrentConnections = promauto.NewGauge(prometheus.GaugeOpts{
		Name: "tobw_current_connections",
		Help: "The number of current connections/players on all protocols",
	})

	CurrentTelnetConnections = promauto.NewGauge(prometheus.GaugeOpts{
		Name: "tobw_current_connections_telnet",
		Help: "The number of current connections over telnet",
	})

	CurrentSSHConnections = promauto.NewGauge(prometheus.GaugeOpts{
		Name: "tobw_current_connections_ssh",
		Help: "The number of current connections over SSH",
	})
	CurrentRawConnections = promauto.NewGauge(prometheus.GaugeOpts{
		Name: "tobw_current_connections_raw",
		Help: "The number of current connections over raw tcp",
	})
)

Functions

func StartMetricsEndpoint

func StartMetricsEndpoint(config config.PrometheusConfig)

Types

This section is empty.

Jump to

Keyboard shortcuts

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