https://github.com/opentelemetry-php/contrib-auto-yii
[READONLY] Yii framework auto-instrumentation
https://github.com/opentelemetry-php/contrib-auto-yii
Last synced: 12 months ago
JSON representation
[READONLY] Yii framework auto-instrumentation
- Host: GitHub
- URL: https://github.com/opentelemetry-php/contrib-auto-yii
- Owner: opentelemetry-php
- Created: 2023-11-20T22:35:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-20T01:42:04.000Z (about 1 year ago)
- Last Synced: 2025-06-14T05:17:41.590Z (about 1 year ago)
- Language: PHP
- Size: 27.3 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/opentelemetry-php/contrib-auto-yii/releases)
[](https://github.com/open-telemetry/opentelemetry-php/issues)
[](https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/Instrumentation/Yii)
[](https://github.com/opentelemetry-php/contrib-auto-yii)
[](https://packagist.org/packages/open-telemetry/opentelemetry-auto-yii/)
[](https://packagist.org/packages/open-telemetry/opentelemetry-auto-yii/)
This is a read-only subtree split of https://github.com/open-telemetry/opentelemetry-php-contrib.
# OpenTelemetry Yii auto-instrumentation
Please read https://opentelemetry.io/docs/instrumentation/php/automatic/ for instructions on how to
install and configure the extension and SDK.
## Overview
Requires Yii 2.0.13+
## Configuration
The extension can be disabled via [runtime configuration](https://opentelemetry.io/docs/instrumentation/php/sdk/#configuration):
```shell
OTEL_PHP_DISABLED_INSTRUMENTATIONS=yii
```
## Examples
you can find examples on how to use the Yii auto-instrumentation in the [examples directory](/examples/instrumentation/yii/README.md).