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

Details

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

    Description

      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

      Attachments

        Activity

          Public project attachment banner

            context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
            current Project key: ODC

            People

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

              Dates

                Created:
                Updated:
                Resolved: