Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-6670

Provide telemetry configuration as SERVER_FLAGS in console backend/bridge

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Critical Critical
    • openshift-4.11
    • None
    • UI
    • None
    • ODC Sprint 219, ODC Sprint 220

      Acceptance Criteria

      1. Extend console backend (bridge) to provide configuration as SERVER_FLAGS
        // JS type
        telemetry?: Record<string, string>
        
        1. Read the annotation of the cluster ConfigMap for telemetry data and pass them into the internal serverconfig.
        2. Pass through this internal serverconfig and export it as SERVER_FLAGS.
        3. Add a new --telemetry CLI option so that the telemetry options could be tested in a dev environment:
          ./bin/bridge --telemetry SEGMENT_API_KEY=a-key-123-xzy
          ./bin/bridge --telemetry CONSOLE_LOG=debug
          
      2. TBD: In best case the new annotation could be read from the cluster ConfigMap...
        1. Otherwise update the console-operator to pass the annotation from the console cluster configuration to the console ConfigMap.

      Additional Details:

      1. More information about the integration with the backend could be found in the Telemetry on OSD clusters Google Doc

            cjerolim Christoph Jerolimov
            cjerolim Christoph Jerolimov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: