prometheus

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MessageCounter          *prometheus.CounterVec
	ServiceOperationCounter *prometheus.CounterVec
)

Functions

func AddParticipant

func AddParticipant()

func AddPublishedTrack

func AddPublishedTrack(kind string)

func AddSubscribedTrack

func AddSubscribedTrack(kind string)

func IncrementBytes

func IncrementBytes(direction Direction, count uint64)

func IncrementPackets

func IncrementPackets(direction Direction, count uint64)

func IncrementRTCP added in v0.14.2

func IncrementRTCP(direction Direction, nack, pli, fir int32)

func RoomEnded

func RoomEnded(startedAt time.Time)

func RoomStarted

func RoomStarted()

func SubParticipant

func SubParticipant()

func SubPublishedTrack

func SubPublishedTrack(kind string)

func SubSubscribedTrack

func SubSubscribedTrack(kind string)

func UpdateCurrentNodeStats

func UpdateCurrentNodeStats(nodeStats *livekit.NodeStats) error

Types

type Direction

type Direction string
const (
	Incoming Direction = "incoming"
	Outgoing Direction = "outgoing"
)

Jump to

Keyboard shortcuts

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