pub fn set_default_transaction_source(event: &mut Event)
Expand description
Set a default transaction source if it is missing, but only if the transaction name was
extracted as a metrics tag.
This behavior makes it possible to identify transactions for which the transaction name was
not extracted as a tag on the corresponding metrics, because
source == null <=> transaction name == null
See relay_server::metrics_extraction::transactions::get_transaction_name
.