Skip to content
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

How to disable Consecutive HTTP errors? #3072

Closed
Bardiamist opened this issue May 16, 2023 · 6 comments
Closed

How to disable Consecutive HTTP errors? #3072

Bardiamist opened this issue May 16, 2023 · 6 comments

Comments

@Bardiamist
Copy link

How to disable Consecutive HTTP?

I don't need to collect this information

@krystofwoldrich
Copy link
Member

krystofwoldrich commented May 16, 2023

Hi, this is one of the current limitations of Performance Issues. They are enabled only for early adopters at the moment. We are working on removing the limitations.

Is there a specific reason why you don't want to collect the information? Is it not actionable?

At the moment you can ignore the created issues or if alerts are your concern you can create a custom rule not to be notified about these issues.

@krystofwoldrich krystofwoldrich changed the title Consecutive HTTP Can Consecutive HTTP be disabled? May 16, 2023
@krystofwoldrich krystofwoldrich changed the title Can Consecutive HTTP be disabled? How to disable Consecutive HTTP errors? May 16, 2023
@Bardiamist
Copy link
Author

@krystofwoldrich

Is there a specific reason why you don't want to collect the information? Is it not actionable?

API which I use required Consecutive HTTP

Now same situation happened with Android. I receiving many Consecutive HTTP reports from androids with @sentry/react-native@5.6.0

@Bardiamist
Copy link
Author

I see it should be fixed in 5.7.0

@krystofwoldrich
Copy link
Member

We haven't made any changes regarding Consecutive HTTP in the SDK. Can you be more specific?

@Bardiamist
Copy link
Author

@krystofwoldrich
As I see:

@sentry/react-native@5.6.0 uses Android SDK 6.22.0 where performance enabled

@sentry/react-native@5.7.0 uses Android SDK 6.25.0
In Android SDK 6.25.0 Performance is disabled by default again https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6250

I don't want to receive Consecutive HTTP, is it right that @sentry/react-native@5.7.0 and later will not send Consecutive HTTP?

@krystofwoldrich
Copy link
Member

@Bardiamist Yes, I see what you mean. The Android SDK Performance API is not used in React Native SDK.

The Consecutive HTTP errors are created in the Sentry backend based on the recorded spans in your React Native Transactions. At the moment you can change the settings but you can ignore the current and future errors.

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

No branches or pull requests

2 participants