From 4f93c3a024352f542274e7dcc10e59c511e5f3c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Granado?= Date: Thu, 4 May 2023 17:06:30 +0200 Subject: [PATCH] Update SpanContext.php --- src/Trace/SpanContext.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Trace/SpanContext.php b/src/Trace/SpanContext.php index 3bd9b9b03..8773cd4b3 100644 --- a/src/Trace/SpanContext.php +++ b/src/Trace/SpanContext.php @@ -51,6 +51,11 @@ class SpanContext * @var bool|null Whether or not tracing is enabled for this request. */ private $enabled; + + /** + * @var bool Whether or not the context was detected from an incoming header. + */ + private $fromHeader; /** * Creates a new SpanContext instance