https://github.com/opentelemetry-php/contrib-auto-io
[READONLY] OpenTelemetry i/o auto-instrumentation
https://github.com/opentelemetry-php/contrib-auto-io
Last synced: about 1 year ago
JSON representation
[READONLY] OpenTelemetry i/o auto-instrumentation
- Host: GitHub
- URL: https://github.com/opentelemetry-php/contrib-auto-io
- Owner: opentelemetry-php
- Created: 2023-02-13T22:46:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-12T10:20:04.000Z (over 1 year ago)
- Last Synced: 2025-04-15T01:39:47.594Z (about 1 year ago)
- Language: PHP
- Size: 28.3 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/opentelemetry-php/contrib-auto-io/releases)
[](https://github.com/open-telemetry/opentelemetry-php/issues)
[](https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/Io)
[](https://github.com/opentelemetry-php/contrib-auto-io)
[](https://packagist.org/packages/open-telemetry/opentelemetry-auto-io/)
[](https://packagist.org/packages/open-telemetry/opentelemetry-auto-io/)
This is a read-only subtree split of https://github.com/open-telemetry/opentelemetry-php-contrib.
# OpenTelemetry IO 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 the
following functions:
- `fopen`
- `fwrite`
- `fread`
- `file_get_contents`
- `file_put_contents`
- `curl_init`
- `curl_exec`
## Configuration
The extension can be disabled via [runtime configuration](https://opentelemetry.io/docs/instrumentation/php/sdk/#configuration):
```shell
OTEL_PHP_DISABLED_INSTRUMENTATIONS=io
```