<commit_before>module Mnemosyne
  module Probes
    module ActionController
      class ProcessAction < ::Mnemosyne::Probe
        subscribe 'process_action.action_controller'

        def call(name, start, finish, id, payload)
          start  = ::Mnemosyne::Clock.to_tick(start)
          finish = ::Mnemosyne::Clock.to_tick(finish)

          span = ::Mnemosyne::Span.new(name, start: start, finish: finish, meta: payload)
          ::Mnemosyne.current_trace << span
        end
      end
    end

    register('ActionController::Base', 'action_controller', ActionController::ProcessAction.new)
  end
end<commit_msg>Prefix ActionController probe with "rails."<commit_after>module Mnemosyne
  module Probes
    module ActionController
      class ProcessAction < ::Mnemosyne::Probe
        subscribe 'process_action.action_controller'

        def call(name, start, finish, id, payload)
          start  = ::Mnemosyne::Clock.to_tick(start)
          finish = ::Mnemosyne::Clock.to_tick(finish)

          span = ::Mnemosyne::Span.new("rails.#{name}", start: start, finish: finish, meta: payload)
          ::Mnemosyne.current_trace << span
        end
      end
    end

    register('ActionController::Base', 'action_controller', ActionController::ProcessAction.new)
  end
end
{'fraction_non_alphanumeric': 0.10867865519937452, 'fraction_numerical': 0.0, 'mean_word_length': 3.3097643097643097, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1368352', 'n_tokens_mistral': 389, 'n_tokens_neox': 355, 'n_words': 81}