-
Notifications
You must be signed in to change notification settings - Fork 881
feat: add groups and group members to telemetry snapshot #13655
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
austinrhode
commented
Jun 24, 2024
- Updated Telemetry data to also send a list of groups and a list of group members
…gic to ignore non-active users when creating a snapshot
All contributors have signed the CLA ✍️ ✅ |
@@ -353,9 +353,6 @@ func (r *remoteReporter) createSnapshot() (*Snapshot, error) { | |||
users := database.ConvertUserRows(userRows) | |||
var firstUser database.User | |||
for _, dbUser := range users { | |||
if dbUser.Status != database.UserStatusActive { | |||
continue | |||
} |
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.
It looks like this is from your previous pr #13613
coderd/telemetry/telemetry.go
Outdated
} | ||
} | ||
|
||
func ConvertGroupMember(group_member database.GroupMember) GroupMember { |
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.
Don't use underscores in go vars.
func ConvertGroupMember(group_member database.GroupMember) GroupMember { | |
func ConvertGroupMember(member database.GroupMember) GroupMember { |
I have read the CLA Document and I hereby sign the CLA |