toolchainlabs / issues

Public repo just for filing bugs and feature requests
0 stars 0 forks source link

Feature: BuildSense add trace visualization #5

Open yoav-orca opened 2 years ago

yoav-orca commented 2 years ago

Today, in order to visualize a trace from pants I need to download the trace, trim it with a custom jq command and load it into zipkin. It makes debugging the build very cumbersome.

I would like to be able to visualize the trace within BuildSense

stuhood commented 2 years ago

@yoav-orca : Thanks for the feedback!

What kind of usecases are you imagining for visualizing traces? There are a few different ways that we might be able to visualize this data depending on how it will be used. In particular, it's possible that rather than a tracing view, flamegraphs of subgraphs (or even just aggregates rather than traces) will make more sense for performance work, whereas traces might still be best for debugging.

yoav-orca commented 2 years ago

I had two scenarios in mind:

  1. Flaky test debugging, I would like to see which tests were run at the same time so I could correlate bad tests that are running concurrently
  2. Test performance work, some tests perform worse concurrently