Skip to content

dev/sg: log linter events, add more docs to LogEvent

Warren Gifford requested to merge linter-analytics into main

Created by: bobheadxi

Logs linter durations and whether they get cancelled or not. Inspired by https://github.com/sourcegraph/sourcegraph/pull/36250

Thought: maybe we can submit events in CI? 😲 Part of https://github.com/sourcegraph/sourcegraph/issues/33447, maybe related to https://github.com/sourcegraph/sourcegraph/issues/32562

Test plan

go run ./dev/sg --disable-analytics=false lint

image

Merge request reports

Loading