-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The default behaviour sets a fingerprint but that contradicts the documentation #1856
Comments
Thanks for the detailed description. We are aware of this, however, it's a breaking change, since it'd "de-group" quite a lot of errors for some high-volume users. Cheers! |
Is the current description as per: https://docs.sentry.io/data-management/rollups/?platform=csharp |
@jekusz Did you use to have multiple issues for what you consider the same error? Then setting a fingerprint that does not include Do you have a single issue that contains multiple unrelated events because our grouping heuristic is not considering a particular aspect (such as some data in extra) in the event data? Then you can set a fingerprint with |
@untitaker I am solving the first scenario in your response (i.e. many into one) and, because of a misunderstanding, have already produced plenty tickets with say {error, default} fingerprints. And it works perfectly fine, they all get grouped into one event group though previously they would not be. Technically I am fine, but as you noted, it's opposite to what the documentation says one should do, so would really want to understand what's the risk here. I.e. I can't fathom what does the {default} fingerprint change here ? |
@jekusz the documentation is supposed to be correct. Could you post links to the relevant (sentry-)issues here? |
Here's a link to a bunch of events that get grouped into a single collection, even though they all contain the default fingerprint: |
Could you tell me which events (by ID) you would not want to have in this group, and which events are correctly in this group? I am very confused about what you want to achieve. |
@untitaker let me reiterate: I am achieving exactly what I need to, this is not the problem. |
Your event appends |
This comment has been minimized.
This comment has been minimized.
So maybe the docs are not very good on this and we're actually working on visualizing what happens on grouping. This is what is supposed to happen:
The latter means that if you for instance have an event that looks completely the same as another they would normally end up in the same group. However if you add as last argument to Does that make more sense? And to clarify something: |
I can see much of the confusion here is on my misreading/mistyping of the "{{ default }}" fingerprint as "default", thanks for pointing that out. @mitsuhiko I like how you're breaking it down in your comment, it's clear, at least for me. |
Hi, so far all of the fingerprinting examples I have seen use an array of at most two values. I'm wondering, can the fingerprint be of arbitrary length? Let's say I would want to extend the default by two values. Can I set fingerprint to...
...or would I have to combine all of the additional values into one string?
Thanks Edit: I found an example with three values in the documentation, so I assume that it is indeed possible to supply more than two values. |
@OyvindSabo you are correct, length of fingerprints array is not restricted |
Package + Version
@sentry/browser
@sentry/node
raven-js
raven-node
(raven for node)Version:
Description
The documentation for grouping reads:
It took me some time to undestand that this isn't true anymore for the '@Sentry/node' (it was probably true for the old 'raven' package).
The following line currently sets a fingerprint for all exceptions that have a message:
sentry-javascript/packages/hub/src/scope.ts
Line 192 in 1d64ace
Here is an exemple of user code triggering this behaviour:
In this case Sentry will sadly not group exceptions for different values of
dateInput
.This is not easy to understand from a user's point of view, because the fingerprint information is hard to find on the Sentry website. You have to know how to download the JSON of events (click on "JSON" next to the event date), because it is the only place where the fingerprint is visible.
A quick fix for users is to unset the fingerprint before each
captureException
call:I believe that the documentation for grouping should be updated or the package behaviour changed to be explicit.
The text was updated successfully, but these errors were encountered: