From 9f72a158adcbe0b1f0b8c1d7a23539660f32232f Mon Sep 17 00:00:00 2001 From: Asaf Ben Aharon Date: Fri, 9 Oct 2020 03:26:16 +0300 Subject: [PATCH] fix: correlation-context header (#1579) --- .../correlation-context/propagation/HttpCorrelationContext.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opentelemetry-core/src/correlation-context/propagation/HttpCorrelationContext.ts b/packages/opentelemetry-core/src/correlation-context/propagation/HttpCorrelationContext.ts index c2db665176..b46f6805a6 100644 --- a/packages/opentelemetry-core/src/correlation-context/propagation/HttpCorrelationContext.ts +++ b/packages/opentelemetry-core/src/correlation-context/propagation/HttpCorrelationContext.ts @@ -31,7 +31,7 @@ const PROPERTIES_SEPARATOR = ';'; const ITEMS_SEPARATOR = ','; // Name of the http header used to propagate the correlation context -export const CORRELATION_CONTEXT_HEADER = 'otcorrelations'; +export const CORRELATION_CONTEXT_HEADER = 'baggage'; // Maximum number of name-value pairs allowed by w3c spec export const MAX_NAME_VALUE_PAIRS = 180; // Maximum number of bytes per a single name-value pair allowed by w3c spec