Download the PHP package murderxchip/trace without Composer
On this page you can find all versions of the php package murderxchip/trace. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download murderxchip/trace
More information about murderxchip/trace
Files in murderxchip/trace
Download murderxchip/trace
More information about murderxchip/trace
Files in murderxchip/trace
Vendor murderxchip
Package trace
Short Description 基于HTTP的链路日志跟踪Laravel/Lumen插件,A trace logger SDK for http request between Laravel/Lumen apps by supplying enhanced GuzzleClient implementation
License
Package trace
Short Description 基于HTTP的链路日志跟踪Laravel/Lumen插件,A trace logger SDK for http request between Laravel/Lumen apps by supplying enhanced GuzzleClient implementation
License
Please rate this library. Is it a good library?
Informations about the package trace
Lumen/Laravel 服务链路日志跟踪,采用header传递自定义trace信息方式聚合请求链路日志,本地json结构化存储方便elk采集。
使用方法:
-
安装 项目composer.json中引入
"require" 字段增加
-
注册provider
-
引入middleware 在bootstrap/app.php 增加
-
日志路径 日志默认存储位置为 storage/logs 下 json 目录为json格式输出
-
微服务中 guzzle 默认 Client替换为 \Cactus\Trace\HttpClient 实例
或者直接使用 app('rpcClient') 此为GuzzleClient扩展客户端,接口方法保持一直
- 输出示例
Trace信息会通过header进行传递
ChangeLog
1.2.1 版本变更
- trace id 精度提高
- 修复trace index无效问题
- response增加traceid返回
All versions of trace with dependencies
PHP Build Version
Package Version
Requires
laravel/lumen-framework Version
5.5.*
guzzlehttp/guzzle Version ~6.0
illuminate/support Version 5.5.*
monolog/monolog Version ~1.24
guzzlehttp/guzzle Version ~6.0
illuminate/support Version 5.5.*
monolog/monolog Version ~1.24
The package murderxchip/trace contains the following files
Loading the files please wait ....