grouping messages and additional data #6

Closed
kof opened this Issue May 18, 2012 · 4 comments

Comments

Projects
None yet
2 participants

kof commented May 18, 2012

Hi,

If we add user information like userId to the message of the error, event will never be grouped, because of different ids, so I started to write common messages and pass additional data like userId in 2. parameter of .captureError or .captureMessage. It works fine, the only problem is sentry interface doesn't displays this data, so I need to look for it in "RAW JSON Data", this is not very convinent. Is there any way to push additional data object to sentry, which will be nicely displayed?

Best,
Oleg

Owner

mattrobenolt commented May 19, 2012

Let me look into Sentry's protocol and see what the options are.

kof commented May 24, 2012

I also already found how to pass the additional data around

http://sentry.readthedocs.org/en/latest/developer/client/index.html#building-the-json-packet

see extra

It will be also nicely formatted in the UI.

@kof kof closed this May 24, 2012

Owner

mattrobenolt commented May 25, 2012

Maybe this should be documented? I'll admit, I'm not the best at documentation. Care to add it and submit a pull request?

@kof kof reopened this May 25, 2012

kof commented May 25, 2012

You are right. I am sure I am even worse at it, but I will try.

kof added a commit to skimcom/raven-node that referenced this issue May 25, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment