Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@coadler
Copy link
Contributor

@coadler coadler commented Jun 20, 2024

No description provided.

Copy link
Contributor Author

coadler commented Jun 20, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @coadler and the rest of your teammates on Graphite Graphite

@coadler coadler force-pushed the colin/chore_add_protobuf_types_for_tailnet_telemetry branch 3 times, most recently from 8ebc909 to 82a7c4c Compare June 20, 2024 21:25
@coadler coadler force-pushed the colin/chore_add_protobuf_types_for_tailnet_telemetry branch from 82a7c4c to 48009a2 Compare June 20, 2024 21:29
@coadler coadler marked this pull request as ready for review June 20, 2024 21:29
@coadler coadler requested a review from spikecurtis June 20, 2024 21:29
google.protobuf.BoolValue CaptivePortal = 19;
}

message TelemetryRequest {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the RFC, this was a list of Events, which I liked. It allows us to post multiple events in one RPC call, and gives us flexibility to add non-event-based telemetry in future

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I was kinda debating back and forth with this when porting it to protobuf. I felt that since this is over DRPC anyways, the overhead of calling multiple times is more negligable than if this were an HTTP API like I originially thought. You're right though that the array is more flexible. I'll switch it back to that.

string home_derp = 11;
Measurements measurements = 12;
repeated string logs = 13;
DERPMap derp_map = 14;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we may also need to redact hostnames and region names from the derp map. Maybe only if they're not Tailscale public DERPs or Google public STUNs, as it would be nice to know how often users are running their own DERP servers vs. using embedded and public DERPs/STUNS.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that's a good idea. Do you think it'd be better if we create our own telemetry specific derp map here? Or is it just fine to obfuscate in place.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's fine to obfuscate in place

@coadler coadler requested a review from spikecurtis June 24, 2024 06:05
@coadler coadler merged commit 3dec6ff into main Jun 24, 2024
@coadler coadler deleted the colin/chore_add_protobuf_types_for_tailnet_telemetry branch June 24, 2024 17:13
@github-actions github-actions bot locked and limited conversation to collaborators Jun 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants