Module: Kubelink::Sentrylink::Controller

Extended by:
ActiveSupport::Concern
Defined in:
lib/kubelink/sentry.rb

Instance Method Summary collapse

Instance Method Details

#set_sentry_contextObject



60
61
62
63
# File 'lib/kubelink/sentry.rb', line 60

def set_sentry_context
  Sentry.set_extras(params: params.dup.permit!.to_hash, url: request.url)
  Sentry.set_user(ip_address: request.remote_ip)
end