Replies: 1 comment 3 replies
-
Hi what's the name of the library again? I couldn't find it, as you mention it |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
The library I am using to add traceparent headers,
traceparent/tctx
, does not work with cacheComponents on due toused require('node:crypto').randomBytes(size) before accessing either uncached data
. I assume this would happen with most any library generating a random ID for this purpose. While I understand the reason behind this error - we shouldn't be relying on random data in pre-rendering - this feels like an exception? I want to send trace headers with this request used during pre-rendering, and I am aware obviously it will be pre-rendered so it won't fire again but I still want to be able to trace that original pre-render request it on my monitoring platform.Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions