prometheus

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 10 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 added in v0.15.4

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

func IncrementBytes

func IncrementBytes(direction Direction, count uint64, retransmit bool)

func IncrementPackets

func IncrementPackets(direction Direction, count uint64, retransmit bool)

func IncrementParticipantJoin added in v1.1.0

func IncrementParticipantJoin(join uint32)

func IncrementRTCP added in v0.14.2

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

func Init added in v1.2.0

func Init(nodeID string)

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