Skip to content

Add analytics setting at admin panel for enabling ClickHouse

What does this MR do and why?

Allow to enable/disable ClickHouse for analytics reports metrics, like Contribution Analytics and Value Streams Dashboard Contributors counts.

related to #432191 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

When ClickHouse is configured

configuration_enabled

When ClickHouse is not configured

configuration_disabled

How to set up and validate locally

  1. Enable clickhouse_data_collection feature flag
  2. Go to Admin -> Settings -> General -> Analytics

A checkbox to enable ClickHouse should appear, but be disabled. To enable the checkbox [configure CLickHouse] on your localhost and refresh the page.

Edited by Felipe Artur

Merge request reports