AI Impact: Add Code Suggestion Unique users tile
What does this MR do and why?
Introduces the Code suggestions unique users tile (last 30 days) to the the AI Impact dashboard.
This MR introduces the ai_impact_over_time.js
data source, which will be used for querying further ai impact metrics over time.
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
Feature.enable(:ai_impact_analytics_dashboard)
# enable clickhouse
Feature.enable(:clickhouse_data_collection)
Feature.enable(:event_sync_worker_for_click_house)
Validation Steps
- Please make sure you have a GitLab Ultimate license.
- Ensure you have Clickhouse configured
- Enable the feature flags above.
- Seed data for the table:
FILTER=ai_usage_stats bundle exec rake db:seed_fu
- Visit the groups analytics dashboard page: (ex. http://gdk.test:3000/groups/flightjs/-/analytics/dashboards)
- Visit the projects analytics dashboard page: (ex. http://gdk.test:3000/flightjs/Flight/-/analytics/dashboards)
Related to #460826 (closed)
Edited by Ezekiel Kigbo