Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-4014

Pass OCM organization ID to Segment


    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Console Operator
    • None
    • OEX OCP Console - Sprint 253

      Currently, we can get the organization ID from the OCM server by querying subscription and adding the fetchOrganization=true query parameter based on the comment.

      We should be passing this ID as SERVER_FLAG.telemetry.ORGANIZATION_ID to the frontend, and as organizationId to Segment.io

      Fetching should be done by the console-operator due to its RBAC permissions. Once the Organization_ID is retrieved, console operator should set it on the console-config.yaml, together with other telemetry variables.



      • Update console-operator's main controller to check if the telemeter client is available on the cluster, which signalises that its a customer/pro cluster
      • Consume the telemetry parameter ORG_ID and pass it as parameter to segment in the console

            jhadvig@redhat.com Jakub Hadvig
            jhadvig@redhat.com Jakub Hadvig
            YaDan Pei YaDan Pei
            0 Vote for this issue
            2 Start watching this issue