Use ClickHouse for analytics reports

Tier: Premium, Ultimate Offering: GitLab.com, Self-managed
History
  • ClickHouse data collector introduced in GitLab 16.3 with a flag named clickhouse_data_collection. Disabled by default.
  • Feature flag clickhouse_data_collection removed in GitLab 17.0 and replaced with an application setting.

The contribution analytics report and Value Streams Dashboard contributors count metric can use ClickHouse as a data source.

Prerequisites:

To enable ClickHouse:

  1. On the left sidebar, at the bottom, select Admin Area.
  2. Select Settings > General.
  3. In the Analytics section, select the Enable ClickHouse checkbox.