RUM: sourcemap.error
on and sourcemap.updated
are set overzealously
#4958
Labels
sourcemap.error
on and sourcemap.updated
are set overzealously
#4958
We currently store
sourcemap.error
andsourcemap.updated
on every stack frame in RUM spans and errors if no matching sourcemaps have been uploaded. This will bloat documents considerably. I would like to revisit this decision, and only set these fields under certain conditions. Specifically:sourcemap.error
if a matching sourcemap is found and some error occurred while attempting to match and update frames. Not matching a sourcemap to a frame is not an error. For now we'll continue to setsourcemap.error
at the per-frame level, but later it might make sense to set at the document level when performing sourcemapping in ingest node -- this would be more natural since we can use anon_failure
handler.sourcemap.updated
(to true) when a frame is matched and updated. Non-presence of this field means the frame has not been updated.The text was updated successfully, but these errors were encountered: