open-telemetry/sdk-configuration
最新稳定版本:0.4.0
Composer 安装命令:
composer require open-telemetry/sdk-configuration
包简介
SDK configuration for OpenTelemetry PHP.
README 文档
README
Installation
composer require open-telemetry/sdk-configuration
Usage
Initialization from configuration file
$configuration = Configuration::parseFile(__DIR__ . '/kitchen-sink.yaml'); $sdkBuilder = $configuration->create();
Performance considerations
Parsing and processing the configuration is rather expensive. It is highly recommended to provide the $cacheFile
parameter when running in a shared-nothing setup.
$configuration = Configuration::parseFile( __DIR__ . '/kitchen-sink.yaml', __DIR__ . '/var/cache/opentelemetry.php', ); $sdkBuilder = $configuration->create();
Contributing
This repository is a read-only git subtree split. To contribute, please see the main OpenTelemetry PHP monorepo.
统计信息
- 总下载量: 35.7k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 5
- 推荐数: 1
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2024-07-01