Instana PHP Trace SDK stubs

v1.16.8 2021-04-19 13:42 UTC

This package is auto-updated.

Last update: 2024-02-15 18:44:04 UTC


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 | php

Install via composer:

composer require instana/instana-php-sdk


Please see our official documentation for the Instana PHP Tracer for a usage 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');