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.
Click to show internal directories.
Click to hide internal directories.