performance

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: AGPL-3.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	WebSocketConnections   *prometheus.GaugeVec
	WebSocketEventCounters *prometheus.CounterVec
	ClusterEventCounters   *prometheus.CounterVec
	StoreOpCounters        *prometheus.CounterVec
	// contains filtered or unexported fields
}

func NewMetrics

func NewMetrics() *Metrics

func (*Metrics) DecWebSocketConn added in v0.4.9

func (m *Metrics) DecWebSocketConn(callID string)

func (*Metrics) Handler

func (m *Metrics) Handler() http.Handler

func (*Metrics) IncClusterEvent added in v0.4.9

func (m *Metrics) IncClusterEvent(evType string)

func (*Metrics) IncStoreOp added in v0.4.9

func (m *Metrics) IncStoreOp(op string)

func (*Metrics) IncWebSocketConn added in v0.4.9

func (m *Metrics) IncWebSocketConn(callID string)

func (*Metrics) IncWebSocketEvent added in v0.4.9

func (m *Metrics) IncWebSocketEvent(direction, evType string)

func (*Metrics) RTCMetrics added in v0.4.9

func (m *Metrics) RTCMetrics() rtc.Metrics

Jump to

Keyboard shortcuts

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