The returned telemetry event will not have it's status set.
()
| 887 | |
| 888 | // The returned telemetry event will not have it's status set. |
| 889 | func (c *Conn) newTelemetryEvent() *proto.TelemetryEvent { |
| 890 | event := c.telemetryStore.newEvent() |
| 891 | event.ClientType = c.clientType |
| 892 | event.Id = c.id[:] |
| 893 | event.ConnectionAge = durationpb.New(time.Since(c.createdAt)) |
| 894 | return event |
| 895 | } |
| 896 | |
| 897 | func (c *Conn) sendTelemetryBackground(e *proto.TelemetryEvent) { |
| 898 | c.mutex.Lock() |
no test coverage detected