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

Flame graph time axis offset (perhaps due to timezone) #591

Open
1 task done
braingram opened this issue May 6, 2024 · 1 comment · May be fixed by #611
Open
1 task done

Flame graph time axis offset (perhaps due to timezone) #591

braingram opened this issue May 6, 2024 · 1 comment · May be fixed by #611
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@braingram
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I generated a profile and flamegraph on a remote machine (that uses UTC). The flamegraph page stats include:

Start time: 2024-05-03 12:35:24.695000
End time: 2024-05-06 02:40:31.130000

However, when I view the page on my laptop (ET) the first point on the graph reports a time of May 3rd, 2024, 08:35.

Is there an option to set maybe the timezone of the graph so it will match the times reported in the stats (and in my case times from other logs generated by the program, which are all in the system UTC time)?

Thanks and let me know if any more information is helpful. Also, memray is awesome :)

Expected Behavior

No response

Steps To Reproduce

I think this could be reproduced by generating a log on a system using UTC then viewing it on a system uses a different timezone.

Memray Version

1.12.0

Python Version

3.12

Operating System

Linux

Anything else?

No response

@braingram braingram added the bug Something isn't working label May 6, 2024
@sarahmonod sarahmonod added the good first issue Good for newcomers label May 20, 2024
@vitimm144
Copy link

I can try to help on this issue

@vitimm144 vitimm144 linked a pull request May 21, 2024 that will close this issue
@sarahmonod sarahmonod linked a pull request May 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants