Info available here. Make sure you extend the NewRelic tracer in your class:
extend ::NewRelic::Agent::MethodTracer
self.class.trace_execution_scoped("Custom/Some/TransactionName") do
# traced code
end
Developer from somewhere
Info available here. Make sure you extend the NewRelic tracer in your class:
extend ::NewRelic::Agent::MethodTracer
self.class.trace_execution_scoped("Custom/Some/TransactionName") do
# traced code
end