← Back to Pull requests

Add Google Analytics loader and event tracking for wizard #4721

Closed
unknown closed this pull request without merging on Apr 10, 2026 20:14 UTC
View on GitHub
unknown unknown commented on Apr 02, 2026 05:03 UTC
Author

Tracking user selections as wizard_feature_selection events with payload fields: resource_name, feature_name, version, and action (must_have or need_to_have).

<!-- Thanks for sending a pull request! Here are some tips for you:

1. If this is your first time contributing to Gateway API, please read our
developer guide (https://gateway-api.sigs.k8s.io/contributing/devguide/)
and our community page (https://gateway-api.sigs.k8s.io/contributing/).
2. If this is your first time contributing to a Kubernetes project, please read
our contributor guidelines:
https://git.k8s.io/community/contributors/guide/first-contribution.md#your-first-contribution
3. Please label this pull request according to what type of issue you are
addressing, especially if this is a release targeted pull request. For
reference on required PR/issue labels, read here:
https://git.k8s.io/community/contributors/devel/sig-release/release.md#issuepr-kind-label
4. If you want faster PR reviews, read how:
https://git.k8s.io/community/contributors/guide/pull-requests.md#best-practices-for-faster-reviews
5. If the PR is unfinished, see how to mark it:
https://git.k8s.io/community/contributors/guide/pull-requests.md#marking-unfinished-pull-requests
6. If this PR includes a new GEP please make sure you've followed the process
outlined in our GEP overview, as this will help the community to ensure the
best chance of positive outcomes for your proposal:
https://gateway-api.sigs.k8s.io/geps/overview/#process
-->

What type of PR is this?
/kind feature

What this PR does / why we need it:
Integration with Google Analytics for monitoring general engagement and collecting metrics on customer needs.

Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: Fixes #<issue number>, or Fixes (paste link of issue).
-->
Fixes #4626

Does this PR introduce a user-facing change?:
<!--
If no, just write "NONE" in the release-note block below.
If yes, please enter a release note below:
-->
NONE

Diff: 263 lines (+197 / -66) across 3 files Reviewer: bexxmodd Review duration: 12431m
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.39) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 263 lines diff across 3 files
0.39
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
56%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.334
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #4721"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 56.8% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 39.3% (MEDIUM) · Higher = larger blast radius
39.3%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 56.8% · Lower = rushed or shallow review
56.8%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 17.0% · Safe to merge
17.0%