Skip to content

Commit

Permalink
[PHP] Documenting the option to disable all auto-instrumentations (op…
Browse files Browse the repository at this point in the history
…en-telemetry#3864)

Co-authored-by: Phillip Carter <[email protected]>
  • Loading branch information
2 people authored and jaydeluca committed Jan 31, 2024
1 parent cacdde4 commit 96b0f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/docs/languages/php/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ There are also a number of PHP-specific configurations:
| `OTEL_PHP_AUTOLOAD_ENABLED` | `false` | `true`, `false` | `true` | Enable/disable SDK autoloading |
| `OTEL_PHP_LOG_DESTINATION` | `default` | `error_log`, `stderr`, `stdout`, `psr3`, `none` | `stderr` | Where internal errors and warnings will be sent |
| `OTEL_PHP_INTERNAL_METRICS_ENABLED` | `false` | `true`, `false` | `true` | Whether the SDK should emit metrics about its internal state (eg batch processors) |
| `OTEL_PHP_DISABLED_INSTRUMENTATIONS` | `[]` | Instrumentation name(s) | `psr15,psr18` | Disable one or more installed auto-instrumentations |
| `OTEL_PHP_DISABLED_INSTRUMENTATIONS` | `[]` | Instrumentation name(s), or `all` | `psr15,psr18` | Disable one or more installed auto-instrumentations |

Configurations can be provided as environment variables, or via `php.ini` (or a
file included by `php.ini`)

0 comments on commit 96b0f0f

Please sign in to comment.