Skip to content

Commit 8e6fc46

Browse files
Factory for egress observability
1 parent fa169ac commit 8e6fc46

File tree

4 files changed

+181
-1
lines changed

4 files changed

+181
-1
lines changed

observability/egressobs/gen_reporter.go

Lines changed: 58 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

observability/egressobs/gen_reporter_noop.go

Lines changed: 76 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

observability/egressobs/gen_source.go

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

observability/reporter.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package observability
22

33
import (
44
"github.com/livekit/protocol/observability/agentsobs"
5+
"github.com/livekit/protocol/observability/egressobs"
56
"github.com/livekit/protocol/observability/gatewayobs"
67
"github.com/livekit/protocol/observability/roomobs"
78
"github.com/livekit/protocol/observability/telephonyobs"
@@ -47,7 +48,7 @@ func (reporter) Connector() any {
4748
}
4849

4950
func (reporter) Egress() any {
50-
return nil
51+
return egressobs.NewNoopReporter()
5152
}
5253

5354
func (reporter) Ingress() any {

0 commit comments

Comments
 (0)