sethtrain / raven-clj

A Clojure interface to Sentry
84 stars 29 forks source link

Support user event payload with ring middleware #37

Open devurandom opened 1 year ago

devurandom commented 1 year ago

Sentry supports a user key on the event payload:

raven-clj.ring/wrap-sentry supports a http-alter-fn to amend the sentry.interfaces.Http event payload. There is currently no way to amend the event as a whole, i.e. there is no way to insert a user key into the event (outside the request / HTTP payload).