prometheus

package
v0.0.0-...-4d7396a Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 7 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 GetUpdatedNodeStats

func GetUpdatedNodeStats(prev *livekit.NodeStats) (*livekit.NodeStats, error)

func IncrementBytes

func IncrementBytes(direction Direction, count uint64)

func IncrementPackets

func IncrementPackets(direction Direction, count uint64)

func IncrementRTCP

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

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)

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