From 9815ffc8c5dda1acc7dc1199e93089058bdb8f00 Mon Sep 17 00:00:00 2001 From: Guido Leenders Date: Fri, 21 Jun 2024 20:08:05 +0200 Subject: [PATCH] Highlight that it is solely an exact match in the example --- docs/distributed-tracing-guide.asciidoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/distributed-tracing-guide.asciidoc b/docs/distributed-tracing-guide.asciidoc index 95ced9e2a..850dcad71 100644 --- a/docs/distributed-tracing-guide.asciidoc +++ b/docs/distributed-tracing-guide.asciidoc @@ -29,6 +29,7 @@ var apm = initApm({ This effectively tells the agent to add the distributed tracing HTTP header (`traceparent`) to requests made to `https://api.example.com`. +Note that when an item in the array is a string, an exact match will be performed. If it’s a RegExp object, its test function will be called with the request origin. [float] [[enable-tracestate]]