From 8b1765834f77de0e30d082a96d2dbbebe1f867ab Mon Sep 17 00:00:00 2001 From: Miguel Fernandez Date: Fri, 27 Jan 2023 16:53:23 +0100 Subject: [PATCH] Export target param --- query-engine/core/src/telemetry/capturing/capturer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query-engine/core/src/telemetry/capturing/capturer.rs b/query-engine/core/src/telemetry/capturing/capturer.rs index 3c9d15b23db6..1b36626cd1fd 100644 --- a/query-engine/core/src/telemetry/capturing/capturer.rs +++ b/query-engine/core/src/telemetry/capturing/capturer.rs @@ -156,7 +156,7 @@ impl SpanProcessor for Processor { Ok(()) } } -const VALID_QUERY_ATTRS: [&str; 3] = ["query", "params", "duration_ms"]; +const VALID_QUERY_ATTRS: [&str; 4] = ["query", "params", "target", "duration_ms"]; /// A Candidate represents either a span or an event that is being considered for capturing. /// A Candidate can be converted into a [`Capture`]. #[derive(Debug, Clone)]