humanmade / aws-xray

HM Platform AWS X-Ray Integration
23 stars 4 forks source link

Improve timings by using headers #98

Closed joehoyle closed 5 months ago

joehoyle commented 1 year ago

By using timings from the request start from PHP we can get a more accurate picture of the PHP request time. We can also use the NGINX request start time (custom header we set in nginx) to calculate how long the request has had been waiting before PHP started processing it.

This will lead to a more accurate (but increased) measure of PHP processing / responce times.

owaincuvelier commented 5 months ago

We can also use the NGINX request start time (custom header we set in nginx) to calculate how long the request has had been waiting before PHP started processing it.

Could be very useful!