Skip to content

Commit

Permalink
NH-46935: update noop
Browse files Browse the repository at this point in the history
  • Loading branch information
xuan-cao-swi committed Jul 14, 2023
1 parent 9a43fea commit 1c36989
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/solarwinds_apm/api/transaction_name.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ module TransactionName
def set_transaction_name(custom_name=nil)

return false if custom_name.nil? || custom_name.empty?
return true if SolarWindsAPM::Context.toString == '00-00000000000000000000000000000000-0000000000000000-00' # noop

solarwinds_processor = SolarWindsAPM::OTelConfig.class_variable_get(:@@config)[:span_processor]
if solarwinds_processor.nil?
Expand Down

0 comments on commit 1c36989

Please sign in to comment.