Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to remove the start offset when combining traces? #107

Closed
ghost opened this issue Apr 14, 2021 · 3 comments
Closed

Question: How to remove the start offset when combining traces? #107

ghost opened this issue Apr 14, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 14, 2021

Usually you combine traces from the same parallel execution run.
For comparison it could be useful to see different sequential runs below each other without a start offset.
How can I start every trace at 0 seconds with viztracer --combine?

@gaogaotiantian
Copy link
Owner

Currently it's not possible to do this(directly with VizTracer). Synchronizing traces from different run might be a useful feature. I'll see how I could proceed on this.

You can also change the timestamp of the json file by yourself(or even write a plugin for it) if you need this feature asap.

@gaogaotiantian
Copy link
Owner

Hi @kllp , I added the feature in master so you can combine reports with --align_combine and all the reports will be aligned from the start. I probably won't release it immediately, so you can install from git pip install git+https://github.com/gaogaotiantian/viztracer. Let me know if this works for you.

@ghost
Copy link
Author

ghost commented Apr 15, 2021

It works! Thank you so much @gaogaotiantian! You made my day!

@ghost ghost closed this as completed Apr 15, 2021
This issue was closed.
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

No branches or pull requests

1 participant