Uploaded image for project: 'Database as a Service'
  1. Database as a Service
  2. DBAAS-236

Explore Telemetry Plugin to Set User Email from operator addon parameter

XMLWordPrintable

      What:

      while installing the addon, the user is asked for sets an email address for notification, which is configured in the managed-tenants repo, for addon parameters "notification-email" for example for RHODS operator 

      https://gitlab.cee.redhat.com/service/managed-tenants/-/blob/main/addons/rhods/metadata/production/addon.yaml#L43-52

      The addon parameter saved in the cluster as secrete in the addon installed namespace see the addon params details for 

      https://gitlab.cee.redhat.com/service/managed-tenants/-/blob/main/docs/ocm/addon_parameters.md#accessing-parameter-values

       

      How :

      Explore console telemetry plugin code, if we can set email notification address into console telemetry plugin segment code, this can be done by reading parameter secret and getting the "notification-email" which was set from addon parameters. 

      setting Identity  https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/

      current code:

      https://github.com/RHEcosystemAppEng/console-telemetry-plugin/blob/master/src/telemetry.ts

      Telemetry installation from DBaaS

      https://github.com/RHEcosystemAppEng/dbaas-operator/blob/main/controllers/dbaasplatform_controller.go#L284-L288

       

      Done :

      Console Telemetry Plugin should expose the email address to the segment/Woopra.  

       

       

              jeremy1230 Jeremy Ary
              ahameed-redhat.com Abdul Hameed
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: