Skip to content

feat: Track quick chat telemetry

Description

Adds Quick chat telemetry

Can be merged only after upgrade of the LS with these changes

Related Issues

#1572 (closed)

How has this been tested?

  1. Link this LS MR to the extension from this branch
  2. Setup local Snowplow collector
  3. In VSCode settings.json set gitlab.trackingUrl to the host of your Snowplow micro e.g http://localhost:9090 if you did a default setup in step 2
  4. Open Quick Chat and try running different slash commands or just ask random questions. Go to the local collector and check that you have events with the following attributes.
   {
      "se_category": "gitlab_quick_chat",
      "se_action": "message_sent",
      "se_label": "/tests"
  }

se_label will depend on your message

message_sent

  1. Now try opening Quick Chat with the hotkeys alt+c or via the command palette. Depending on how you triggered the chat opening, you should see the event with the following payload where se_label will indicate the trigger

    {
        "se_category": "gitlab_quick_chat",
          "se_action": "open_quick_chat",
          "se_label": "click_button" // or "shortcut"
    }

Related Issues

Resolves #[issue_number]

How has this been tested?

Screenshots (if appropriate)

What CHANGELOG entry will this MR create?

  • fix: Bug fix fixes - a user-facing issue in production - included in changelog
  • feature: New feature - a user-facing change which adds functionality - included in changelog
  • BREAKING CHANGE: (fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog
  • None - other non-user-facing changes

Closes #1572 (closed)

Edited by Jacques Erasmus

Merge request reports

Loading