From 343f3c0dc0cccaa47129016bd3a60385adf6b1cf Mon Sep 17 00:00:00 2001 From: colin-sentry <161344340+colin-sentry@users.noreply.github.com> Date: Fri, 3 May 2024 14:57:42 -0400 Subject: [PATCH] fix(ai-monitoring): Add ai.pipeline op to aggregate measurements (#70267) --- .../newTraceDetails/traceDrawer/details/span/sections/keys.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/app/views/performance/newTraceDetails/traceDrawer/details/span/sections/keys.tsx b/static/app/views/performance/newTraceDetails/traceDrawer/details/span/sections/keys.tsx index 4e9a201b3c2a31..54aa5f5d34eb76 100644 --- a/static/app/views/performance/newTraceDetails/traceDrawer/details/span/sections/keys.tsx +++ b/static/app/views/performance/newTraceDetails/traceDrawer/details/span/sections/keys.tsx @@ -73,7 +73,7 @@ export function SpanKeys({node}: {node: TraceTreeNode}) { const items: SectionCardKeyValueList = []; const aggregateMeasurements: SectionCardKeyValueList = useMemo(() => { - if (!node.value.op?.startsWith('ai.pipeline.')) { + if (!/^ai\.pipeline($|\.)/.test(node.value.op ?? '')) { return []; }