Skip to content

Commit a0ccdf0

Browse files
findleyrgopherbot
authored andcommitted
internal/chartconfig: add collection for gopls/telemetryprompt/accepted
To help evaluate the efficacy of prompting users to enable telemetry from gopls, collect a counter that is incremented at gopls startup if the user has accepted the telemetry prompt. This will help us estimate what fraction of new telemetry participants are due to prompting. Of course, we cannot know how many users to not accept the prompt. Additional counters were added in CL 607758, but are not yet collected as they were not covered in the proposal. Fixes golang/go#68770 Change-Id: I8cb75a2399ffee8a15bfdb634b8200cb097e4ace Reviewed-on: https://go-review.googlesource.com/c/telemetry/+/603936 Auto-Submit: Robert Findley <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent f29ab53 commit a0ccdf0

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

config/config.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,10 @@
626626
{
627627
"Name": "gopls/gotoolchain:{auto,path,local,other}",
628628
"Rate": 1
629+
},
630+
{
631+
"Name": "gopls/telemetryprompt/accepted",
632+
"Rate": 1
629633
}
630634
],
631635
"Stacks": [

internal/chartconfig/config.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,3 +146,11 @@ type: partition
146146
issue: https://go.dev/issue/68771
147147
program: golang.org/x/tools/gopls
148148
version: v0.16.0
149+
---
150+
counter: gopls/telemetryprompt/accepted
151+
title: Count of Telemetry Prompt Acceptances
152+
description: measure how often the gopls prompt to enable telemetry is accepted
153+
type: partition
154+
issue: https://go.dev/issue/68770
155+
program: golang.org/x/tools/gopls
156+
version: v0.16.0

0 commit comments

Comments
 (0)