diff --git a/src/ExcimerS3.php b/src/ExcimerS3.php index 8884ad2..55c4136 100644 --- a/src/ExcimerS3.php +++ b/src/ExcimerS3.php @@ -165,7 +165,7 @@ public function timer(string $profilePath = 'app/trace'): void $startTime = microtime(true); $this->s3Client->registerStreamWrapperV2(); $date = date(self::DATE_FORMAT_SHORT); - $stream = fopen("s3://{$this->bucketName}/{$profilePath}/{$date}.json", 'w'); + $stream = fopen("s3://{$this->bucketName}/{$profilePath}/{$date}.csv", 'w'); $timer->setCallback(function () use ($startTime, $stream) { $usage = sprintf("%.2f", memory_get_usage() / 1048576); // MB $interval = (microtime(true) - $startTime);