Skip to content

Conversation

@toshok
Copy link

@toshok toshok commented Oct 31, 2023

Depends on a fork of the honeycomb buildevents repo here (which adds a buildkite-specific version of the watch command.) and the buildkite plugin here.

No windows support yet (the ssm plugin has windows issues as well, but there are hamfisted batch files in the buildkite plugin) so those steps aren't instrumented.

Likewise the runtime e2e in the backend aren't instrumented currently, but there's a corresponding backend PR for that https://github.com/replayio/backend/pull/9038.

Both of those gaps in instrumentation are visible in build traces as .. big unexplained gaps in the root span.

@toshok toshok force-pushed the toshok/buildevents branch 5 times, most recently from 0daa536 to e52e355 Compare November 5, 2023 05:26
@toshok toshok force-pushed the toshok/buildevents branch 5 times, most recently from 12e2681 to 86d32de Compare November 10, 2023 20:33
@toshok toshok force-pushed the toshok/buildevents branch 2 times, most recently from 7c488f9 to 0e18cbe Compare November 21, 2023 03:46
@toshok toshok force-pushed the toshok/buildevents branch from 0e18cbe to e31da0a Compare November 21, 2023 05:32
@toshok toshok changed the title experiment with honeycomb buildevents instrument the build with honeycomb buildevents Nov 21, 2023
@toshok toshok requested a review from jazzdan November 21, 2023 05:36
@toshok toshok marked this pull request as ready for review November 21, 2023 05:37
Copy link

@jazzdan jazzdan left a comment

Choose a reason for hiding this comment

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

This LGTM! I have a change in #971 that will conflict with this but I think I can update it to match what you're doing here.

Just curious: where is be_cmd defined?

@jazzdan
Copy link

jazzdan commented Nov 21, 2023

Oh nvm I didn't look at the plugin.

@toshok
Copy link
Author

toshok commented Nov 21, 2023

oh yeah, I would also totally love some 👀 /opinions/bikeshedding on how things are done in the buildkite plugin. was mostly riffing off what I'd seen elsewhere, and things like be_cmd save a whole bunch of repetition in the pipeline.

@toshok toshok merged commit c9d4006 into master Nov 21, 2023
@toshok toshok deleted the toshok/buildevents branch November 21, 2023 14:15
@jazzdan
Copy link

jazzdan commented Nov 21, 2023

@toshok the plugin looks good to me but my bash knowledge is at like a 5th grade level 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants