定制 jerrytfleung/opentelemetry-instrumentation-installer 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

jerrytfleung/opentelemetry-instrumentation-installer

最新稳定版本:1.0.1

Composer 安装命令:

composer require jerrytfleung/opentelemetry-instrumentation-installer

包简介

OpenTelemetry auto-instrumentation installer

README 文档

README

This directory contains two scripts that helps install auto-instrumentation support and run application.

First script install-otel-instrumentation will install all needed dependencies for auto-instrumentation. Second run-with-otel-instrumentation is responsible for setting few environment variables (that are needed to export traces into backend) and running application.

Install script works in two modes:

  • basic (will install defaults)
  • advanced (interactive mode, you will control whole process)

Example workflow

This section shows how to install and run auto-instrumented application which uses Slim framework. To generate application, we follow steps described here: https://www.slimframework.com/.

    composer create-project slim/slim-skeleton:dev-master slimauto
    cd slimauto
    composer require jerrytfleung/opentelemetry-instrumentation-installer
    ./vendor/bin/install-otel-instrumentation basic beta
    ./vendor/bin/run-with-otel-instrumentation php -S localhost:8080 -t public public/index.php

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2025-06-03