-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
None
-
3
-
False
-
None
-
False
-
OCPSTRAT-1066 - Enable seamless collection of OpenShift console user telemetry
-
-
-
OEX OCP Console - Sprint 253
We want to enable segment analytics by default on all (incl. self-managed) OCP clusters using a known segment API key and the console.redhat.com proxy. We'll still want to allow to honor the segment-related annotations on the console operator config for overriding these values.
Most likely the segment key should be defaulted in the console operator, otherwise we would need a separate console flag for disabling analytics. If the operator provides the key, then the console backend can use the presence of the key to determine when to enable analytics. We can likely change the segment URL and CDN default values directly in the console code, however.
ODC-7517 tracks disabling segment analytics when cluster telemetry is disabled, which is a separate change, but required for this work.
OpenShift UI Telemetry Implementation details
This three keys should have new default values:
- SEGMENT_API_KEY
- SEGMENT_API_HOST
- SEGMENT_JS_HOST OR SEGMENT_JS_URL
Defaults:
stringData: SEGMENT_API_KEY: BnuS1RP39EmLQjP21ko67oDjhbl9zpNU SEGMENT_API_HOST: console.redhat.com/connections/api/v1 SEGMENT_JS_HOST: console.redhat.com/connections/cdn
AC:
- Add default values for telemetry annotations into a CM in the openshift-console-operator NS.
- Add and update unit tests and add e2e tests