bavix / laravel-prof
This package is abandoned and no longer maintained.
No replacement package was suggested.
Code profiling made easy for Laravel
2.0.0
2020-09-24 07:45 UTC
Requires
- php: >=7.2
- ext-json: *
- bavix/laravel-entry: ^1.0|^2.0
README
Laravel Prof
Laravel Prof - Code profiling made easy in production.
Mark code snippets using services and see profiling results in grafana
, redash
and other analytical systems.
- Vendor: bavix
- Package: Laravel Prof
- Version:
- Laravel Version:
6.x
,7.x
,8.x
- PHP Version: 7.2+
- Composer:
composer require bavix/laravel-prof
Usage
Add profile_logs
table to clickhouse...
create table profile_logs ( hostname String, project String, version String, userId Nullable(String), sessionId Nullable(String), requestId String, requestIp String, eventName String, target String, latency Float32, memoryPeak Int32, date Date, created DateTime ) engine = MergeTree(date, (date, project, eventName), 8192);
Run the consumer
./artisan queue:work
Set up grafana / redash and enjoy.
Supported by