fix: set network telemetry client version on server (#14376)

This commit is contained in:
Ethan
2024-08-23 16:17:28 +10:00
committed by GitHub
parent 5710a98714
commit 4cc26be5ec
5 changed files with 151 additions and 162 deletions

View File

@ -733,6 +733,7 @@ func (c *Conn) SendConnectedTelemetry(ip netip.Addr, application string) {
c.telemetryStore.markConnected(&ip, application)
e := c.newTelemetryEvent()
e.Status = proto.TelemetryEvent_CONNECTED
e.ConnectionSetup = durationpb.New(time.Since(c.createdAt))
c.sendTelemetryBackground(e)
}