ApplicationInsights-PHP icon indicating copy to clipboard operation
ApplicationInsights-PHP copied to clipboard

Use batching and retries when sending to backend (was: 503 Service Unavailable)

Open rogerywoo opened this issue 6 years ago • 1 comments

I often get 503 Service Unavailable from Microsoft ApplicationInsight. So, you should send the telemetry data asynchronously. To get around it I am using Laravel's queues.

Also from Microsoft:

"Officially supported SDKs have retry mechanism, and proper back-off logic, which would mitigate the impact on the app and ingestion issues. "

rogerywoo avatar Jun 01 '18 12:06 rogerywoo

PHP SDK is not officially supported. We definitely need to add retry mechanism. Marking as an enhancement. I'd be happy to assist and accept PR if you are willing to contribute

SergeyKanzhelev avatar Jun 06 '18 16:06 SergeyKanzhelev