承接 open-telemetry/opentelemetry-auto-pdo 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

open-telemetry/opentelemetry-auto-pdo

最新稳定版本:0.3.0

Composer 安装命令:

composer require open-telemetry/opentelemetry-auto-pdo

包简介

OpenTelemetry auto-instrumentation for PDO

README 文档

README

Releases Issues Source Mirror Latest Version Stable

This is a read-only subtree split of https://github.com/open-telemetry/opentelemetry-php-contrib.

OpenTelemetry PDO (PHP DataObjects) auto-instrumentation

Please read https://opentelemetry.io/docs/instrumentation/php/automatic/ for instructions on how to install and configure the extension and SDK.

Overview

Auto-instrumentation hooks are registered via composer, and spans will automatically be created for selected PDO and PDOStatement methods.

Configuration

The extension can be disabled via runtime configuration:

OTEL_PHP_DISABLED_INSTRUMENTATIONS=pdo

In case UI used to view telemetry data does not support links between spans (for example newrelic), you can optionally enable setting db statements attribute to fetchAll and execute spans using configuration directive:

otel.instrumentation.pdo.distribute_statement_to_linked_spans = true

or environment variable:

OTEL_PHP_INSTRUMENTATION_PDO_DISTRIBUTE_STATEMENT_TO_LINKED_SPANS=true

Database Context Propagation

Enable context propagation for database queries (pdo_mysql, pdo_pgsql only) by installing the following packages:

composer require open-telemetry/opentelemetry-sqlcommenter

Currently, only the following functions support context propagation:

  • PDO::query
  • PDO::exec

统计信息

  • 总下载量: 918.96k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 10
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 1

GitHub 信息

  • Stars: 10
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固