pccomponentes/apm-redis-reporter 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

  1. 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

GitHub 信息

  • Stars: 0
  • Watchers: 5
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-06-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固