From 6b6cd4b60881a3e74363ac8a6b9c86b1331f68b1 Mon Sep 17 00:00:00 2001 From: Jamie King Date: Mon, 1 Apr 2024 12:37:09 -0700 Subject: [PATCH] feat(tracing): include B3 propagator (#1352) --- __tests__/integration/one-app.spec.js | 20 ++++++++++--- __tests__/server/utils/tracer.spec.js | 28 +++++++++++++++++-- package-lock.json | 1 + package.json | 1 + prod-sample/api/server.js | 3 ++ .../0.0.0/src/components/SsrFrank.jsx | 9 +++--- src/server/utils/tracer.js | 16 +++++++++-- 7 files changed, 66 insertions(+), 12 deletions(-) diff --git a/__tests__/integration/one-app.spec.js b/__tests__/integration/one-app.spec.js index c1533b812..c321da486 100644 --- a/__tests__/integration/one-app.spec.js +++ b/__tests__/integration/one-app.spec.js @@ -951,6 +951,7 @@ describe('Tests that require Docker setup', () => { ...defaultFetchOptions, }); const htmlData = await response.text(); + const traceId = response.headers.get('traceid'); const scriptContents = htmlData.match( /