Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(coderd): add enabled experiments to telemetry#12656

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

dannykopping
Copy link
Contributor

Relates to#12070

This is PR 1 of 2 to complete this feature.
I'll be preparing a separate PR to add the receiver on the telemetry server.

Signed-off-by: Danny Kopping <danny@coder.com>
@dannykoppingdannykopping changed the titlefeat(telemetry): add enabled experiments to telemetryfeat(coderd): add enabled experiments to telemetryMar 19, 2024
Signed-off-by: Danny Kopping <danny@coder.com>
require.Equal(t, "aws_marketplace", deployment.InstallSource)
}

func collectSnapshot(t *testing.T, db database.Store) (*telemetry.Deployment, *telemetry.Snapshot) {
func collectSnapshot(t *testing.T, db database.Store, addOptionsFn func(opts telemetry.Options) telemetry.Options) (*telemetry.Deployment, *telemetry.Snapshot) {
Copy link
Member

Choose a reason for hiding this comment

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

suggestion, nonblocking: if you makeaddOptionsFn variadic you can avoid the need for changes on line 88 and 113

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

It's an interesting idea, but I think it'd change the semantics a bit.

@dannykoppingdannykopping merged commitab95ae8 intocoder:mainMar 19, 2024
@dannykoppingdannykopping deleted the dk/experiments-telemetry branchMarch 19, 2024 09:05
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsMar 19, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@johnstcnjohnstcnjohnstcn approved these changes

Assignees

@dannykoppingdannykopping

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@dannykopping@johnstcn

[8]ページ先頭

©2009-2025 Movatter.jp