Download the PHP package open-telemetry/opentelemetry-auto-mysqli without Composer
On this page you can find all versions of the php package open-telemetry/opentelemetry-auto-mysqli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download open-telemetry/opentelemetry-auto-mysqli
More information about open-telemetry/opentelemetry-auto-mysqli
Files in open-telemetry/opentelemetry-auto-mysqli
Package opentelemetry-auto-mysqli
Short Description OpenTelemetry auto-instrumentation for mysqli
License Apache-2.0
Homepage https://opentelemetry.io/docs/languages/php/
Informations about the package opentelemetry-auto-mysqli
This is a read-only subtree split of https://github.com/open-telemetry/opentelemetry-php-contrib.
OpenTelemetry mysqli 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 client kind spans will automatically be created when calling following functions or methods:
mysqli_connectmysqli::__constructmysqli::connectmysqli_real_connect-
mysqli::real_connect mysqli_querymysqli::querymysqli_real_querymysqli::real_querymysqli_execute_querymysqli::execute_querymysqli_multi_querymysqli::multi_querymysqli_next_result-
mysqli::next_result mysqli_begin_transactionmysqli::begin_transactionmysqli_rollbackmysqli::rollbackmysqli_commitmysqli::commitmysqli_stmt_executemysqli_stmt::executemysqli_stmt_next_resultmysqli_stmt::next_result
Configuration
Disabling mysqli instrumentation
The extension can be disabled via runtime configuration:
Database Context Propagation
Enable context propagation for database queries by installing the following packages:
Currently, only the following functions support context propagation:
mysqli::querymysqli_querymysqli::real_querymysqli_real_query
All versions of opentelemetry-auto-mysqli with dependencies
ext-mysqli Version *
ext-opentelemetry Version *
open-telemetry/api Version ^1.0
open-telemetry/sem-conv Version ^1.32
symfony/polyfill-mbstring Version ^1.31