You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
telmetry: show collected data under the disable option
Currently, The service ping can be disabled by going into the
admin settings. Users are more likely to do that if they have
no clue what is being sent.
This PR tries to improve this experience, by showcasing the
exact data that is being sent below the option. This is possible
by creating a new TelemetryDataProvider and injecting that
both in the `installation-admin-collector` controller
and the `gitpod-service` (`getTelemetryData` func is added here
that can be used).
This PR also adds a gaurd to the `/admin/settings` page which
was missing previously
Signed-off-by: Tarun Pothulapati <[email protected]>
replace cluster with gitpod instance in desc
Signed-off-by: Tarun Pothulapati <[email protected]>
easy nits around design and TelemetryData naming
Signed-off-by: Tarun Pothulapati <[email protected]>
gaurd telemetry method with admin access
Signed-off-by: Tarun Pothulapati <[email protected]>
replace TelemetryData at more places
Signed-off-by: Tarun Pothulapati <[email protected]>
gaurd access to `admin/settings` like other admin settings
Signed-off-by: Tarun Pothulapati <[email protected]>
call useEffect hook early
Signed-off-by: Tarun Pothulapati <[email protected]>
@@ -26,12 +43,13 @@ export default function Settings() {
26
43
<h3>Usage Statistics</h3>
27
44
<CheckBox
28
45
title="Enable Service Ping"
29
-
desc={<span>This is used to provide insights on how you use your cluster so we can provide a better overall experience. <aclassName="gp-link"href="https://www.gitpod.io/privacy">Read our Privacy Policy</a></span>}
46
+
desc={<span>The following usage data is sent to provide insights on how you use your Gitpod instance, so we can provide a better overall experience. <aclassName="gp-link"href="https://www.gitpod.io/privacy">Read our Privacy Policy</a></span>}
exportconsttraceWI=(ctx: TraceContext,wi: Omit<LogContext,"userId">)=>TraceContext.setOWI(ctx,wi);// userId is already taken care of in WebsocketConnectionManager
0 commit comments