Sha256: 22f1a9d53aa299d77d8b93e1a54d37fd04697ebcbc4ede299bd40a7cb689cfb9
Contents?: true
Size: 430 Bytes
Versions: 19
Compression:
Stored size: 430 Bytes
Contents
module Skylight module Normalizers class ProcessAction < Normalizer register "process_action.action_controller" def normalize(trace, name, payload) trace.endpoint = controller_action(payload) [ "app.controller.request", trace.endpoint, nil, payload ] end private def controller_action(payload) "#{payload[:controller]}##{payload[:action]}" end end end end
Version data entries
19 entries across 19 versions & 1 rubygems