atatus/atatus-octane
最新稳定版本:v1.0.4
Composer 安装命令:
composer require atatus/atatus-octane
包简介
Atatus APM monitoring for Octane
README 文档
README
The Atatus Laravel Octane Middleware enables the automatic instrumentation of API requests, capturing them and sending data to Atatus for analysis.
Requirements
- PHP >= 7.2.0
- Laravel >= 5.5
How to install
Via Composer
composer require atatus/atatus-octane
or add atatus/atatus-octane to your composer.json file accordingly.
How to use
Add to Middleware
To monitor web requests, you can attach the WebRequestMonitoring middleware within the web and api middleware groups in the App/Http/Kernel.php file as shown below:
// In App/Http/Kernel.php protected $middlewareGroups = [ 'web' => [ ..., \Atatus\Laravel\Octane\Middleware\WebRequestMonitoring::class, ], 'api' => [ ..., \Atatus\Laravel\Octane\Middleware\WebRequestMonitoring::class, ] ]
LICENSE
This package is licensed under the MIT license.
统计信息
- 总下载量: 21.34k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 未知