Skip to content

http lag/wait from Sentry SDK on Laravel on every API call #1295

@amitkoth

Description

@amitkoth

We use Tideways to log performance/stats for our Laravel and PHP stack - which we use to run our REST API.

We've noticed this large issue on all API calls - they are all blocked by Sentry/http waits:

156193820-647eabf6-c9fe-4d88-95c6-bda7b84cb961

How do we make this SDK non-blocking, async and completely de-coupled from our Laravel codebase? We really don't need errors logged to Sentry in real-time - they can wait a little bit before they push from our EC2 instances into Sentry.

We're very concerned about this because:

  1. If Sentry is down - we go down as well, probably
  2. If Sentry is slow in responses, etc. - we suffer a backlog of requests that are served slowly and eventually, traffic surges could cause a crash on our side.

I'm open to switching out entirely to another collector/method instead of the PHP SDK. Our aim is to fully de-couple our main codebase from Sentry.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions