Issue #3352459 follow-up by catch: Add OpenTelemetry Application Performance Monitoring to core performance tests

merge-requests/4274/merge
Alex Pott 2023-10-04 13:13:21 +01:00
parent cb55a3ae0b
commit e671a925b2
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ trait PerformanceTestTrait {
// Since chrome timestamps are since OS start, we take the first network
// request as '0' and calculate offsets against that.
if ($timestamp === NULL && $message['method'] === 'Network.requestWillBeSent') {
$url = $message['url'];
$url = $message['params']['request']['url'];
$timestamp = (int) ($message['params']['wallTime'] * $nanoseconds_per_second);
// Network timestamps are formatted as a second float with three point
// precision. Record this so it can be compared against other