Skip to content

Commit

Permalink
fix(ai-monitoring): Add ai.pipeline op to aggregate measurements (#70267
Browse files Browse the repository at this point in the history
)
  • Loading branch information
colin-sentry authored May 3, 2024
1 parent cb549b2 commit 343f3c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function SpanKeys({node}: {node: TraceTreeNode<TraceTree.Span>}) {
const items: SectionCardKeyValueList = [];

const aggregateMeasurements: SectionCardKeyValueList = useMemo(() => {
if (!node.value.op?.startsWith('ai.pipeline.')) {
if (!/^ai\.pipeline($|\.)/.test(node.value.op ?? '')) {
return [];
}

Expand Down

0 comments on commit 343f3c0

Please sign in to comment.