Telemetry test (#258)
* Add first test for telemetry - First test for telemetry package that tests totalBytes field in downstream stats. - Add fake_analytics_service
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
||||
"github.com/livekit/livekit-server/pkg/routing"
|
||||
)
|
||||
|
||||
//go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 . AnalyticsService
|
||||
type AnalyticsService interface {
|
||||
SendStats(ctx context.Context, stats []*livekit.AnalyticsStat)
|
||||
SendEvent(ctx context.Context, events *livekit.AnalyticsEvent)
|
||||
|
||||
Reference in New Issue
Block a user