Backend: Expose IDE metadata for code suggestions events, with filtering
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
Add IDE-specific breakdowns to code suggestions metrics.
- Expose the IDE data in
aiMetrics.codeSuggestions
- Add the ability to filter by IDE name.
We can use the same pattern as we have for language
data i.e. we need to be able to query for the list of IDE names and then query to filter by IDE name.
Current State
Code suggestions metrics provide language breakdowns but no IDE breakdowns.
Proposed Metrics
Add metrics for code suggestions by IDE:
- List of IDEs with suggestion activity
- Accepted count per IDE
- Shown count per IDE
Related Tracking Events
These metrics should be derived from:
-
code_suggestion_shown_in_ide
(event ID: 2) withide_name
context -
code_suggestion_accepted_in_ide
(event ID: 3) withide_name
context
Implementation
To be refined by backend team
-
Graphql attribute for ide_name -
Filtering by ide_name
Dashboard Visualizations Enabled
This will support:
Related
Edited by 🤖 GitLab Bot 🤖