We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9daf6d3 commit c783032Copy full SHA for c783032
cni/telemetry/client/telemetry_client.go
@@ -93,7 +93,6 @@ func (c *TelemetryClient) sendLog(msg string) {
93
}
94
95
func (c *TelemetryClient) SendEvent(msg string) {
96
- c.sendLog(msg)
97
c.sendEvent(msg)
98
99
@@ -113,6 +112,6 @@ func (c *TelemetryClient) SendMetric(cniMetric *telemetry.AIMetric) {
113
112
114
err := telemetry.SendCNIMetric(cniMetric, c.tb)
115
if err != nil {
116
- c.logger.Error("Couldn't send metric", zap.Error(err))
+ c.sendLog("Couldn't send metric: " + err.Error())
117
118
0 commit comments