1
0
Fork 0
mirror of synced 2024-07-05 14:31:17 +12:00

add the column into the processStringSync span

This commit is contained in:
Sam Rose 2023-12-14 17:10:09 +00:00
parent 0d3ea23301
commit 899b6707e7
No known key found for this signature in database

View file

@ -76,9 +76,10 @@ export function processFormulas<T extends Row | Row[]>(
let formula = schema.formula
rows[i] = {
...row,
[column]: tracer.trace("processStringSync", {}, () =>
processStringSync(formula, context)
),
[column]: tracer.trace("processStringSync", {}, span => {
span?.addTags({ column })
return processStringSync(formula, context)
}),
}
}
}