MCPcopy
hub / github.com/livekit/livekit / analyticsService

Struct analyticsService

pkg/telemetry/analyticsservice.go:56–64  ·  view source on GitHub ↗

----------------------------

Source from the content-addressed store, hash-verified

54// ----------------------------
55
56type analyticsService struct {
57 analyticsKey string
58 nodeID string
59 sequenceNumber atomic.Uint64
60
61 events rpc.AnalyticsRecorderService_IngestEventsClient
62 stats rpc.AnalyticsRecorderService_IngestStatsClient
63 nodeRooms rpc.AnalyticsRecorderService_IngestNodeRoomStatesClient
64}
65
66func NewAnalyticsService(_ *config.Config, currentNode routing.LocalNode) AnalyticsService {
67 return &analyticsService{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected