instana/instana-php-sdk
最新稳定版本:v1.16.8
Composer 安装命令:
composer require instana/instana-php-sdk
包简介
Instana PHP Trace SDK stubs
README 文档
README
Warning:
Instana PHP SDK is deprecated. One year from today May 30, 2025 we will officially end support and declare it End of Life (EOL).
We strongly encourage all SDK users to migrate their applications to the OpenTelemetry SDK Instana exporter. Please refer to our OTel SDK exporter documentation for guidance on the usage process.
Instana PHP SDK stubs
This repo provide stubs for the Instana PHP SDK. You can use the stubs for adding autocompletion to your IDE. In addition, the stubs serve as a no-op fallback in case the Instana PHP SDK is unavailable in your code. The stubs provide no other functionality. The actual Instana PHP SDK is bundled with the Instana PHP Tracing extension.
Installing via Composer
Install Composer in a common location or in your project:
curl -s http://getcomposer.org/installer | php
Install via composer:
composer require instana/instana-php-sdk
Usage
Please see our official documentation for the Instana PHP Tracer for a usage example.
Example
To annotate custom information about a http-endpoint, you can use the available Tags for processing.
$tracer = new \Instana\Tracer(); $entry = $tracer->getEntrySpan(); $entry->annotate('http.path_tpl', '/articles/{article}/comments');
统计信息
- 总下载量: 534.56k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-09-18