traceguide/api-php
最新稳定版本:1.0.44
Composer 安装命令:
composer require traceguide/api-php
包简介
Traceguide instrumentation API
README 文档
README
Install with Composer
composer require traceguide/api-php
Instrumentation Example
<?php require __DIR__ . '/vendor/autoload.php'; Traceguide::initialize('examples/trivial_process', '{{access_token_goes_here}}'); Traceguide::infof("The current unix time = %d", time()); $span = Traceguide::startSpan(); $span->setOperation("trivial/loop"); for ($i = 0; $i < 10; $i++) { $span->infof("Loop iteration %d", $i); echo "The current unix time is " . time() . "\n"; sleep(1); } $span->finish();
License
Copyright (c) 2015, Resonance Labs.
统计信息
- 总下载量: 33.34k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-09-02