I’d like to add a unique transaction id generated within Rails to my application traces. It corresponds to other data we’re logging outside of New Relic.
I tried doing this in my
add_transaction_tracer on a method that’s called by all requests (
Unfortunately, this makes my transactions have names like
RealController::all_requests_method instead of
What is the best way to add this unique transaction id? Would overriding the bad naming with
set_transaction_name have any consequences for how the data is collected?
The only change I could see is that all transactions will now display Rack middleware data timing information which is annoying but could work.
Edit: My mistake, I put this in the wrong category