Sentry only sends an error only one time #5613
-
Hi everyone, I am using Sentry for Javscript and I am executin a function that its called every X seconds of time. Inside that function, there is the following lines: Sentry.setTag('Test-1', 'test-value') So, when the code is executed, I see only one request of Sentry and If I go to the dashboard the message is only received once. Do you know which should be a better way to store this information at every X seconds? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @jrefusta. If you enable In this case, Sentry's Dedupe integration is making sure duplicate messages are not being sent to Sentry, to help save quota: sentry-javascript/packages/browser/src/integrations/dedupe.ts Lines 54 to 56 in f563eae Sentry is not built to be a logging platform, but if you want to make sure unique messages are captured you can disable the dedupe integration. |
Beta Was this translation helpful? Give feedback.
Hey @jrefusta. If you enable
debug: true
in yourSentry.init
, you can see debug logs on what is happening to the SDK.In this case, Sentry's Dedupe integration is making sure duplicate messages are not being sent to Sentry, to help save quota:
sentry-javascript/packages/browser/src/integrations/dedupe.ts
Lines 54 to 56 in f563eae
Sentry is not built to be a logging platform, but if you want to make sure unique messages are captured you can disable the dedupe integration.