Download the PHP package topthink/think-tracing without Composer
On this page you can find all versions of the php package topthink/think-tracing. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download topthink/think-tracing
More information about topthink/think-tracing
Files in topthink/think-tracing
Download topthink/think-tracing
More information about topthink/think-tracing
Files in topthink/think-tracing
Vendor topthink
Package think-tracing
Short Description Distributed tracing for ThinkPHP made easy
License MIT
Package think-tracing
Short Description Distributed tracing for ThinkPHP made easy
License MIT
Please rate this library. Is it a good library?
Informations about the package think-tracing
ThinkPHP链路追踪组件
安装
composer require topthink/think-tracing
支持两种驱动zipkin、jaeger 分别需要安装
composer require jcchavezs/zipkin-opentracing
composer require jonahgeorge/jaeger-client-php
使用
1. 中间件
扩展内提供了think\tracing\middleware\TraceRequests
中间,配置到路由里或者全局中间件
2. 错误处理
使用了中间件后,该组件默认会跟踪到错误
配置文件里errors设置为false可以关闭
3.异步上报数据
配置
async
,数据临时存储到redis,单独起一个进程php think tracing:report
来上报数据
4. 其他使用方法参考 opentracing
All versions of think-tracing with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
topthink/framework Version ^6.0 || ^8.0
opentracing/opentracing Version ^1.0
guzzlehttp/guzzle Version ^7.0
topthink/framework Version ^6.0 || ^8.0
opentracing/opentracing Version ^1.0
guzzlehttp/guzzle Version ^7.0
The package topthink/think-tracing contains the following files
Loading the files please wait ....