Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

dev/sg/check: fix Runner tracing#39197

Merged
bobheadxi merged 4 commits into
mainfrom
check-runner-tracing-fix
Jul 26, 2022
Merged

dev/sg/check: fix Runner tracing#39197
bobheadxi merged 4 commits into
mainfrom
check-runner-tracing-fix

Conversation

@bobheadxi

@bobheadxi bobheadxi commented Jul 21, 2022

Copy link
Copy Markdown
Member

Noticed some funky data in Honeycomb, this improves the tracing in check.Runner a bit:

  • categories are spans
  • ensure fix spans are ended
  • each Runner entrypoint has a top-level span

Test plan

image

@cla-bot cla-bot Bot added the cla-signed label Jul 21, 2022
@sourcegraph-bot

sourcegraph-bot commented Jul 21, 2022

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in OWNERS files for diff d75a373...813d94e.

Notify File(s)
@mrnugget dev/sg/internal/analytics/analytics.go
dev/sg/internal/analytics/context.go
dev/sg/internal/analytics/tracer.go
dev/sg/internal/check/runner.go
@sourcegraph/dev-experience dev/sg/internal/analytics/analytics.go
dev/sg/internal/analytics/context.go
dev/sg/internal/analytics/tracer.go
dev/sg/internal/check/runner.go

@bobheadxi bobheadxi force-pushed the check-runner-tracing-fix branch from 841c2ac to f7fe020 Compare July 21, 2022 01:36
@bobheadxi bobheadxi force-pushed the check-runner-tracing-fix branch from f7fe020 to f9c7591 Compare July 21, 2022 01:46
@bobheadxi bobheadxi requested review from a team and marekweb July 21, 2022 01:47
@jhchabran

jhchabran commented Jul 25, 2022

Copy link
Copy Markdown
Contributor

@bobheadxi this PR may be a good opportunity to fix the typo the instrumentation in https://sourcegraph.sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/dev/sg/internal/analytics/tracer.go?L25:52 !

@bobheadxi

Copy link
Copy Markdown
Member Author

Ah good catch @jhchabran , fixed!

@bobheadxi bobheadxi requested a review from jhchabran July 25, 2022 23:39

@jhchabran jhchabran left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@bobheadxi bobheadxi merged commit 1da629b into main Jul 26, 2022
@bobheadxi bobheadxi deleted the check-runner-tracing-fix branch July 26, 2022 16:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants