You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While instrumenting one of my projects I wrapped JSON.parse and JSON.stringify so they would be automatically included in traces so I could see their impact in requests. Then today I saw @anonrig post this.
Since these are synchronous I guess they have quite an impact if they're blocking for a long time.
Solution Brainstorm
Wrap parse and maybe even stringify with proxies that automatically add spans.
The text was updated successfully, but these errors were encountered:
We could make an integration with a configurable threshold and then only enable it be default for Node? Or enabled by default for all SDKs and vary the threshold by SDK?
Problem Statement
While instrumenting one of my projects I wrapped
JSON.parse
andJSON.stringify
so they would be automatically included in traces so I could see their impact in requests. Then today I saw @anonrig post this.Since these are synchronous I guess they have quite an impact if they're blocking for a long time.
Solution Brainstorm
Wrap
parse
and maybe evenstringify
with proxies that automatically add spans.The text was updated successfully, but these errors were encountered: