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:
-
Analytics dashboards
-
Configure product analytics
-
Instrumentation detailsbeing created in Add instrumentation details to General -> Setti... (#405368 - closed) • Elwyn Benson • 16.1:
Design
A standard accordion settings page:
Implementation plan
frontend -
- Add a new
Settings > Analyticspage to projects. - Move over the inner contents of
Analytics dashboardsto the new settings page and remove the wrappingAnalyticssection fromSettings > General. - Move over the
Configure product analyticsaccordion to the new settings page. - 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 applicationsection. - Update
Settings > Generalspecs if needed. - Add new spec of
Settings > Analytics.
Note: Self-managed and credentials rotation are both in-future features.


