-
Notifications
You must be signed in to change notification settings - Fork 927
chore: add DRPC tailnet & cli network telemetry #13687
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @ethanndickson and the rest of your teammates on |
937bf83
to
479df1f
Compare
c4b57b9
to
09f375b
Compare
9482c1c
to
b9cd8fb
Compare
@@ -108,8 +108,7 @@ message IPFields { | |||
PUBLIC = 0; | |||
PRIVATE = 1; | |||
LINK_LOCAL = 2; | |||
UNIQUE_LOCAL = 3; | |||
LOOPBACK = 4; | |||
LOOPBACK = 3; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per Slack discussion, UNIQUE_LOCAL
was removed in favor of { v=4, class=PRIVATE }
meaning "ipv4 private range" and { v=6, class=PRIVATE }
meaning unique local.
|
||
message NetcheckIP { | ||
string hash = 1; | ||
IPFields fields = 2; | ||
} | ||
NetcheckIP GlobalV4 = 17; | ||
NetcheckIP GlobalV6 = 18; | ||
|
||
google.protobuf.BoolValue CaptivePortal = 19; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was removed because captive portal checks are disabled in Coder's tailscale fork anyways
TelemetrySink
interface totailnet.Conn
to support sending network telemetry events regardless of source.TelemetrySink
implemention fortailnetApiConnector
, to be used by the CLI.TelemetryStore
to atailnet.Conn
to store and scrub PII from any data used to construct network telemetry events.coder speedtest
,coder ping
, when a workspace agent is reachable, and when an ssh connection session ends.A future PR will implement the plumbing necessary to record: