including-modules

This commit is contained in:
Kismet Hasanaj
2026-05-03 00:14:08 +02:00
parent ec83a0d879
commit 39a8a128be
20434 changed files with 3906546 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
/**
* Takes OpenTelemetry client trace data and the `clientTraceMetadata` option configured in the Next.js config (currently
* experimental) and returns a filtered/allowed list of client trace data entries.
*/ export function getTracedMetadata(traceData, clientTraceMetadata) {
if (!clientTraceMetadata) return undefined;
return traceData.filter(({ key })=>clientTraceMetadata.includes(key));
}
//# sourceMappingURL=utils.js.map