-
Notifications
You must be signed in to change notification settings - Fork 887
feat: adds device_id, device_os, and coder_desktop_version to telemetry #17086
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. |
1a803fe
to
dea30ba
Compare
dea30ba
to
91f5fba
Compare
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.
I don't have any blocking concerns, just some suggestions below.
func requireEqualOrBothNil[T any](t testing.TB, a, b *T) { | ||
t.Helper() | ||
if a != nil && b != nil { | ||
require.Equal(t, *a, *b) | ||
return | ||
} | ||
require.Equal(t, a, b) | ||
} |
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.
suggestion: potentially useful tesutil
candidate?
Merge activity
|
👀 |
Records the Device ID, Device OS and Coder Desktop version to telemetry.
These values are provided by the Coder Desktop client in the StartRequest method of the VPN protocol. We render them as an HTTP header to transmit to Coderd, where they are decoded and added to telemetry.