Create configuration screen for configuring product analytics (Post initial set-up)

Problem to solve

For Product Analytics, we need to introduce a screen which gives users a way of setting the configuration of their product analytics instance, as well as retrieving the current values of the configuration. For instance:

  • Self-managed cluster details (read/edit)
  • Instrumentation details (read/edit)
  • Credentials rotation for instrumentation and other connections (read/edit)

Proposal

Add a configuration screen which can be added to the menu in Add configuration item to the Analytics submenu... (#388552 - closed) which allows the user to review and update their configuration details. This could look like a regular settings accordion or be more bespoke like our kubernetes setup process.

Questions to answer

  • Can we support settings override? - Yes
  • Can we selectively override some settings and use admin settings for others? - Yes
  • Should this be at the group level too? - Maybe later. Let's see if there is customer demand for this.

Proposed solution

Add a configuration screen called Analytics under Settings rather than under Analytics/Analyze. Each settings group will be shown under an accordion in the same manner as the direction laid out in #390109[dedicated-analytics-page.png].

Any new configuration (credential rotation…) would be added as its own accordion.

The two accordions to be shown with this issue are:

Design

A standard accordion settings page:

image

Implementation plan

frontend - 3️⃣

  1. Add a new Settings > Analytics page to projects.
  2. Move over the inner contents of Analytics dashboards to the new settings page and remove the wrapping Analytics section from Settings > General.
  3. Move over the Configure product analytics accordion to the new settings page.
  4. Move the work being done in Add instrumentation details to General -> Setti... (#405368 - closed) • Elwyn Benson • 16.1 over to the new settings page under the Instrument your application section.
  5. Update Settings > General specs if needed.
  6. Add new spec of Settings > Analytics.

Note: Self-managed and credentials rotation are both in-future features.

Edited by James Heimbuck