Skip to content

Commit 684bc66

Browse files
committed
wip
1 parent e9d78d5 commit 684bc66

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

observability/reporter.go

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ type Reporter interface {
2424
Agent() agentsobs.Reporter
2525
Gateway() gatewayobs.Reporter
2626
Telephony() telephonyobs.Reporter
27-
Connector() any // any is a placeholder for the connector type
2827
Egress() egressobs.Reporter
2928
Ingress() ingressobs.Reporter
30-
GatewayMetrics() any // any is a placeholder for the gateway metrics type
3129
TelephonyCall() telephonycallobs.Reporter
3230
Storage() storageobs.Reporter
3331
Close()
@@ -59,10 +57,6 @@ func (reporter) Telephony() telephonyobs.Reporter {
5957
return telephonyobs.NewNoopReporter()
6058
}
6159

62-
func (reporter) Connector() any {
63-
return nil
64-
}
65-
6660
func (reporter) Egress() egressobs.Reporter {
6761
return egressobs.NewNoopReporter()
6862
}
@@ -71,15 +65,13 @@ func (reporter) Ingress() ingressobs.Reporter {
7165
return ingressobs.NewNoopReporter()
7266
}
7367

74-
func (reporter) GatewayMetrics() any {
75-
return nil
76-
}
77-
7868
func (reporter) TelephonyCall() telephonycallobs.Reporter {
7969
return telephonycallobs.NewNoopReporter()
8070
}
8171

82-
func (reporter) Storage() storageobs.Reporter { return storageobs.NewNoopReporter() }
72+
func (reporter) Storage() storageobs.Reporter {
73+
return storageobs.NewNoopReporter()
74+
}
8375

8476
func (reporter) Close() {
8577
}

0 commit comments

Comments
 (0)