Skip to content
Snippets Groups Projects

usage-data: missing event cols

Merged Warren Gifford requested to merge usage-data/missing-event-cols into main

Created by: coury-clark

Closes https://github.com/sourcegraph/sourcegraph/issues/39391

Adds columns to the event_logs table to match what is being scraped and set in the usage data event stream. This is necessary since this new job will scrape directly from the buffer table instead of forwarding events from the browser directly.

Test plan

To test locally:

Set up gcp credentials

gcloud auth application-default login

Start sg

GOOGLE_APPLICATION_CREDENTIALS="$HOME/.config/gcloud/application_default_credentials.json" sg start ...

Add configuration to the site config

    "exportUsageTelemetry": {
      "enabled": true,
      "topicProjectName": "sourcegraph-dogfood",
      "topicName": "usage-data-testing"
    },

Merge request reports

Merged by avatar (Apr 21, 2025 9:48pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading