Uploaded image for project: 'OpenShift Container Platform (OCP) Strategy'
  1. OpenShift Container Platform (OCP) Strategy
  2. OCPSTRAT-1066

Enable seamless collection of OpenShift console user telemetry

XMLWordPrintable

    • BU Product Work
    • False
    • Hide

      None

      Show
      None
    • False
    • 0% To Do, 20% In Progress, 80% Done
    • 0
    • Program Call
    • Proposed

      Feature Overview (aka. Goal Summary)

      Enable the OCP Console to send back user analytics to our existing endpoints in console.redhat.com. Please refer to doc for details of what we want to capture in the future:

      Analytics Doc

      Collect desired telemetry of user actions within OpenShift console to improve knowledge of user behavior.

      Goals (aka. expected user outcomes)

      OpenShift console should be able to send telemetry to a pre-configured Red Hat proxy that can be forwarded to 3rd party services for analysis.

      Requirements (aka. Acceptance Criteria):

      User analytics should respect the existing telemetry mechanism used to disable data being sent back

      Need to update existing documentation with what we user data we track from the OCP Console: https://docs.openshift.com/container-platform/4.14/support/remote_health_monitoring/about-remote-health-monitoring.html

      Capture and send desired user analytics from OpenShift console to Red Hat proxy

      Red Hat proxy to forward telemetry events to appropriate Segment workspace and Amplitude destination

      Use existing setting to opt out of sending telemetry: https://docs.openshift.com/container-platform/4.14/support/remote_health_monitoring/opting-out-of-remote-health-reporting.html#opting-out-remote-health-reporting

      Also, allow just disabling user analytics without affecting the rest of telemetry: Add annotation to the Console to disbale just user analytics

      Update docs to show this method as well.

      We will require a mechanism to store all the segment values
      We need to be able to pass back orgID that we receive from the OCM subscription API call

      Use Cases (Optional):

       

      Questions to Answer (Optional):

       

      Out of Scope

      Sending telemetry from OpenShift cluster nodes

      Background

      Console already has support for sending analytics to segment.io in Dev Sandbox and OSD environments. We should reuse this existing capability, but default to http://console.redhat.com/connections/api for analytics and http://console.redhat.com/connections/cdn to load the JavaScript in other environments. We must continue to allow Dev Sandbox and OSD clusters a way to configure their own segment key, whether telemetry is enabled, segment API host, and other options currently set as annotations on the console operator configuration resource.

      Console will need a way to determine the org-id to send with telemetry events. Likely the console operator will need to read this from the cluster pull secret.

      Customer Considerations

       

      Documentation Considerations

       

      Interoperability Considerations

      Which other projects, including ROSA/OSD/ARO, and versions in our portfolio does this feature impact? What interoperability test scenarios should be factored by the layered products? Initial completion during Refinement status.

              amobrem Ali Mobrem
              pdave@redhat.com Parag Dave (Inactive)
              Sanket Pathak Sanket Pathak
              Olivia Payne Olivia Payne
              Parag Dave Parag Dave (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: