Skip to content

Commit 5c53fbf

Browse files
authored
add core call observability (#1437)
1 parent a09c9a3 commit 5c53fbf

7 files changed

Lines changed: 200 additions & 8 deletions

File tree

observability/core_callobs/gen_reporter.go

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

observability/core_callobs/gen_reporter_noop.go

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

observability/core_callobs/gen_source.go

Lines changed: 44 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: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ import (
55

66
"github.com/livekit/protocol/logger"
77
"github.com/livekit/protocol/observability/agentsobs"
8+
"github.com/livekit/protocol/observability/core_callobs"
89
"github.com/livekit/protocol/observability/egressobs"
910
"github.com/livekit/protocol/observability/gatewayobs"
1011
"github.com/livekit/protocol/observability/ingressobs"
1112
"github.com/livekit/protocol/observability/roomobs"
1213
"github.com/livekit/protocol/observability/storageobs"
13-
"github.com/livekit/protocol/observability/telephonycallobs"
14+
"github.com/livekit/protocol/observability/telephony_callobs"
1415
"github.com/livekit/protocol/observability/telephonyobs"
1516
)
1617

@@ -26,7 +27,8 @@ type Reporter interface {
2627
Telephony() telephonyobs.Reporter
2728
Egress() egressobs.Reporter
2829
Ingress() ingressobs.Reporter
29-
TelephonyCall() telephonycallobs.Reporter
30+
TelephonyCall() telephony_callobs.Reporter
31+
CoreCall() core_callobs.Reporter
3032
Storage() storageobs.Reporter
3133
Close()
3234
}
@@ -65,8 +67,12 @@ func (reporter) Ingress() ingressobs.Reporter {
6567
return ingressobs.NewNoopReporter()
6668
}
6769

68-
func (reporter) TelephonyCall() telephonycallobs.Reporter {
69-
return telephonycallobs.NewNoopReporter()
70+
func (reporter) TelephonyCall() telephony_callobs.Reporter {
71+
return telephony_callobs.NewNoopReporter()
72+
}
73+
74+
func (reporter) CoreCall() core_callobs.Reporter {
75+
return core_callobs.NewNoopReporter()
7076
}
7177

7278
func (reporter) Storage() storageobs.Reporter { return storageobs.NewNoopReporter() }

observability/telephonycallobs/gen_reporter.go renamed to observability/telephony_callobs/gen_reporter.go

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

observability/telephonycallobs/gen_reporter_noop.go renamed to observability/telephony_callobs/gen_reporter_noop.go

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

observability/telephonycallobs/gen_source.go renamed to observability/telephony_callobs/gen_source.go

Lines changed: 17 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)