profiler

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GatewayRequests = prometheus.NewCounterVec(prometheus.CounterOpts{
		Namespace: "t",
		Subsystem: "server",
		Help:      "Count of all requests made to the gateway",
		Name:      "gateway_requests_total",
	}, []string{"status", "type"})

	GatewayReqsType = prometheus.NewCounterVec(prometheus.CounterOpts{
		Namespace: "t",
		Subsystem: "server",
		Help:      "Count of all forwarded tunnel types",
		Name:      "gateway_tunnel_type",
	}, []string{"type"})

	ConnectionStats = prometheus.NewCounterVec(prometheus.CounterOpts{
		Namespace: "t",
		Subsystem: "server",
		Help:      "Stats on multiplexer connections",
		Name:      "multiplexer_stats",
	}, []string{"desc", "type"})

	PeerLatencyHist = prometheus.NewHistogram(prometheus.HistogramOpts{
		Namespace: "t",
		Subsystem: "server",
		Help:      "Histogram of peers latency via gossip",
		Name:      "peer_rtt_ms",
	})
)

Functions

func StartProfiler

func StartProfiler(addr string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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