Help us shape the future of Go! Take the 2026 Go Developer Survey

observability

package
v1.50.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

View Source
const Project = "livekit"

Variables

This section is empty.

Functions

This section is empty.

Types

type Reporter

type Reporter interface {
	Logger(name, projectID string) (logger.Logger, error)
	Room() roomobs.Reporter
	Agent() agentsobs.Reporter
	AgentV3() agentsv3obs.Reporter
	Gateway() gatewayobs.Reporter
	Telephony() telephonyobs.Reporter
	Egress() egressobs.Reporter
	Ingress() ingressobs.Reporter
	SIPCall() sipcallobs.Reporter
	CoreCall() corecallobs.Reporter
	Storage() storageobs.Reporter
	Close()
}

func NewReporter

func NewReporter() Reporter

type SessionTimer

type SessionTimer struct {
	// contains filtered or unexported fields
}

func NewSessionTimer

func NewSessionTimer(startTime time.Time, opts ...SessionTimerOption) *SessionTimer

func (*SessionTimer) Advance

func (h *SessionTimer) Advance(now time.Time) (millis, secs, mins int64)

func (*SessionTimer) Reset added in v1.46.7

func (h *SessionTimer) Reset(startTime time.Time)

Reset re-anchors the timer to startTime so that subsequent Advance calls measure elapsed time from startTime.

type SessionTimerOption added in v1.45.7

type SessionTimerOption func(*SessionTimer)

func WithMinMinutes added in v1.45.7

func WithMinMinutes(n int64) SessionTimerOption

WithMinMinutes ensures the first Advance that produces a non-zero mins return reports at least n minutes. Subsequent advances behave normally.

func WithMinSeconds added in v1.45.7

func WithMinSeconds(n int64) SessionTimerOption

WithMinSeconds ensures the first Advance that produces a non-zero secs return reports at least n seconds. Subsequent advances behave normally.

Directories

Path Synopsis
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.
Code generated by cloud-observability; DO NOT EDIT.

Jump to

Keyboard shortcuts

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