pccomponentes/apm-redis-reporter
最新稳定版本:0.3.4
Composer 安装命令:
composer require pccomponentes/apm-redis-reporter
包简介
Elastic APM Redis Reporter
README 文档
README
This library supports the report of traces from the APM Agent to Redis.
Installation
-
Install via composer
composer require pccomponentes/apm-redis-reporter
Usage
Native PHP
<?php declare(strict_types=1); $redisClient = new Predis\Client('tcp://redis:6379?database=0'); $key = 'apm'; $reporter = new PcComponentes\ElasticAPM\Reporter\RedisReporter( $redisClient, $key ); $apmTracer = new ZoiloMora\ElasticAPM\ElasticApmTracer( // ZoiloMora\ElasticAPM\Configuration\CoreConfiguration::class $reporter, // ZoiloMora\ElasticAPM\Pool\PoolFactory::class ); /** ... Use the connection in your project */
License
Licensed under the MIT license
Read LICENSE for more information
统计信息
- 总下载量: 14.7k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-06-03