Report number of times an exception happened #5813
-
I can't seem to find this anywhere. Sorry if it's a dup.. I want to do my own throttling and then report to sentry with the number of times an event/error/etc occurred so that this number from the Issues page goes up accordingly. Ideally the usage would be something like... Sentry.captureException(new Error("foo"), {count: 10}); Is this possible today? I can't seem to find any docs on the arguments for captureException. I started digging into the source code but honestly the closest thing I found was Halp? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is not a supported use case, as issues are entirely created and managed by the Sentry backend. SDKs are only responsible for sending individual events to Sentry, and include no metadata about the issue created. This is also because grouping/fingerprint controls are done server-side (the SDK does not create groupings of events -> issues ahead of time), that's done on the server. |
Beta Was this translation helpful? Give feedback.
This is not a supported use case, as issues are entirely created and managed by the Sentry backend. SDKs are only responsible for sending individual events to Sentry, and include no metadata about the issue created. This is also because grouping/fingerprint controls are done server-side (the SDK does not create groupings of events -> issues ahead of time), that's done on the server.