auxmoney/opentracing-bundle-php-http-httplug-bundle 问题修复 & 功能扩展

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

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

auxmoney/opentracing-bundle-php-http-httplug-bundle

Composer 安装命令:

composer require auxmoney/opentracing-bundle-php-http-httplug-bundle

包简介

Symfony Opentracing bundle extension for php-http/HttplugBundle

README 文档

README

test GitHub release (latest SemVer) Codacy Badge Code Climate maintainability Scrutinizer code quality (GitHub/Bitbucket) GitHub

This bundle adds automatic header injection for php-http/httplug-bundle clients to the OpentracingBundle.

Installation

Prerequisites

This bundle is only an additional plugin and should not be installed independently. See OpentracingBundle and HttplugBundle first prior to install this package.

Require dependencies

After you have installed the OpentracingBundle and HttplugBundle:

    composer req auxmoney/opentracing-bundle-php-http-httplug-bundle

Enable the bundle

If you are using Symfony Flex, you are all set!

If you are not using it, you need to manually enable the bundle:

    # Symfony 3: AppKernel.php
    $bundles[] = new Auxmoney\OpentracingHttplugBundle\OpentracingHttplugBundle();
    # Symfony 4+: bundles.php
    Auxmoney\OpentracingHttplugBundle\OpentracingHttplugBundle::class => ['all' => true],

Configuration

No configuration is necessary, the provided compiler pass will decorate PluginClientFactory in order to add the OpentracingPlugin (where tracing headers injection happens) to all existing Httplug clients.

Usage

When sending a request to other systems, the tracing headers are automatically injected into the requests, thus enabling the full power of distributed tracing.

Development

Be sure to run

    composer run-script quality

every time before you push code changes. The tools run by this script are also run in the CI pipeline.

统计信息

  • 总下载量: 842
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 6
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-10-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固