Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf36b816

Browse files
chore: add coder version to network telemetry events (#13871)
1 parentb2dab33 commitf36b816

File tree

4 files changed

+97
-86
lines changed

4 files changed

+97
-86
lines changed

‎coderd/telemetry/telemetry.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,14 +1174,11 @@ type Netcheck struct {
11741174

11751175
PreferredDERPint64`json:"preferred_derp"`
11761176

1177-
RegionLatencymap[int64]time.Duration`json:"region_latency"`
11781177
RegionV4Latencymap[int64]time.Duration`json:"region_v4_latency"`
11791178
RegionV6Latencymap[int64]time.Duration`json:"region_v6_latency"`
11801179

11811180
GlobalV4NetcheckIP`json:"global_v4"`
11821181
GlobalV6NetcheckIP`json:"global_v6"`
1183-
1184-
CaptivePortal*bool`json:"captive_portal"`
11851182
}
11861183

11871184
funcprotoBool(b*wrapperspb.BoolValue)*bool {
@@ -1237,6 +1234,7 @@ type NetworkEvent struct {
12371234
Statusstring`json:"status"`// connected, disconnected
12381235
DisconnectionReasonstring`json:"disconnection_reason"`
12391236
ClientTypestring`json:"client_type"`// cli, agent, coderd, wsproxy
1237+
ClientVersionstring`json:"client_version"`
12401238
NodeIDSelfuint64`json:"node_id_self"`
12411239
NodeIDRemoteuint64`json:"node_id_remote"`
12421240
P2PEndpointNetworkEventP2PEndpoint`json:"p2p_endpoint"`

‎tailnet/proto/tailnet.pb.go

Lines changed: 93 additions & 83 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎tailnet/proto/tailnet.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ message TelemetryEvent {
166166
Statusstatus=4;
167167
stringdisconnection_reason=5;
168168
ClientTypeclient_type=6;
169+
stringclient_version=19;
169170
uint64node_id_self=7;
170171
uint64node_id_remote=8;
171172
P2PEndpointp2p_endpoint=9;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp