Skip to content

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

Merged
merged 6 commits into from
Jun 25, 2024

Conversation

austinrhode
Copy link
Contributor

  • Updated Telemetry data to also send a list of groups and a list of group members

@austinrhode austinrhode self-assigned this Jun 24, 2024
Copy link

github-actions bot commented Jun 24, 2024

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@austinrhode austinrhode changed the title Added Groups and Group Members to Telemetry Snapshot feat: add groups and group members to telemetry snapshot Jun 24, 2024
@@ -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
}
Copy link
Contributor

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

}
}

func ConvertGroupMember(group_member database.GroupMember) GroupMember {
Copy link
Contributor

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.

Suggested change
func ConvertGroupMember(group_member database.GroupMember) GroupMember {
func ConvertGroupMember(member database.GroupMember) GroupMember {

@austinrhode
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

cdrcommunity added a commit to coder/cla that referenced this pull request Jun 25, 2024
@austinrhode austinrhode merged commit 87ad560 into main Jun 25, 2024
27 checks passed
@austinrhode austinrhode deleted the austinrhode/groups branch June 25, 2024 18:01
@github-actions github-actions bot locked and limited conversation to collaborators Jun 25, 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.

2 participants