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

add start_time_nsecs to profile info #229

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

manuelfelipe
Copy link

Extends the profile data structure with a new start_time_nsecs field holding a timestamp (in nanos) since EPOCH

Right now, it is impossible to tell when a profile was really capture, and while that is not really relevant when inspecting individual profiles, it definite is when it comes to usage in aggregates when performing any sort of 'continuous' profiling.

For most Shopify apps, we initially resorted to encode and try to parse the time from generated objects after capturing the profile, but that is turning out to be too brittle and hard to maintain due to the amount of workloads we have around

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.

1 participant