Skip to content

Commit c171320

Browse files
authored
update reporter interface (#1312)
* update reporter interface Signed-off-by: shishir gowda <shishir@livekit.io>
1 parent 9e4acca commit c171320

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

observability/reporter.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ type Reporter interface {
1414
Agent() agentsobs.Reporter
1515
Gateway() gatewayobs.Reporter
1616
Telephony() telephonyobs.Reporter
17+
Connector() any // any is a placeholder for the connector type
1718
Close()
1819
}
1920

@@ -39,4 +40,9 @@ func (reporter) Telephony() telephonyobs.Reporter {
3940
return telephonyobs.NewNoopReporter()
4041
}
4142

42-
func (reporter) Close() {}
43+
func (reporter) Connector() any {
44+
return nil
45+
}
46+
47+
func (reporter) Close() {
48+
}

0 commit comments

Comments
 (0)