Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-10471

Update Segment analytics provider to use recommended API

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • UI
    • None
    • RHDHPAI Sprint 3275

      Story (Required)

      The segment analytics provider doesn't use standard .fromConfig signature that backstage docs recommends - https://backstage.io/docs/plugins/analytics/

       
      SegmentAnalytics.fromConfig(configApi, identityApi)

      Background (Required)

      https://issues.redhat.com/browse/RHDHPAI-752 required us to create a new extension for Analytics APIs. For that we need all the analytics API using this extension to have a standard API signature where the class can be instantiated using .fromConfig static method. This static method needs to follow a signature like this - 
      SegmentAnalytics.fromConfig(configApi,

      { identityApi }

      )
      **

       

      Acceptance Criteria (Required)

      • Should update the Segment analytics plugin to use recommended API signature.

              rorai Rohit Rai
              rorai Rohit Rai
              RHIDP - Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: