-
Notifications
You must be signed in to change notification settings - Fork 848
Instrumentation for trace profiling #5260
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
Conversation
05551ec
to
284c2bb
Compare
I'm not familiar with opentelemetery. Is there some impact of this on normal users of Stack? Also, there's a merge conflict with |
There should be none. Time overhead from this instrumentation is on an order of microsecond per instrumented span. |
Looks like some stack.yaml updates are needed, please see the build failures. |
There are still build failures from stack.yaml issues |
@ethercrow, are you able to get this pull request to pass the CI checks? |
I am not, sorry. |
With these changes you can run stack with
+RTS -l
and then inspect the produced eventlog in trace profiling tools, it looks like this:or this:
The second picture makes you wonder why there is a 85 millisecond long GC before even starting the build.