Skip to content

DRAFT: AI Impact: Add Code Suggestion Unique users tile

What does this MR do and why?

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

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Feature Flags

# enables the UI table

# enable clickhouse

# enable the worker to sync code suggestions events to clickhouse

Validation Steps

  1. Please make sure you have a GitLab Ultimate license.
  2. Ensure you have Clickhouse configured
  3. Enable the feature flags above.
  4. Seed data for the table: FILTER=ai_usage_stats bundle exec rake db:seed_fu
  5. Visit the groups analytics dashboard page: (ex. http://gdk.test:3000/groups/flightjs/-/analytics/dashboards)
  6. Click the AI impact dashboard, hover over the values in the Code suggestions usage row and verify that the tooltips appear
  7. Visit the projects analytics dashboard page: (ex. http://gdk.test:3000/flightjs/Flight/-/analytics/dashboards)
  8. Repeat step 6

Related to #460826

Edited by Ezekiel Kigbo

Merge request reports