Download the PHP package open-telemetry/opentelemetry-exporter-instana without Composer
On this page you can find all versions of the php package open-telemetry/opentelemetry-exporter-instana. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download open-telemetry/opentelemetry-exporter-instana
More information about open-telemetry/opentelemetry-exporter-instana
Files in open-telemetry/opentelemetry-exporter-instana
Package opentelemetry-exporter-instana
Short Description Instana exporter implementation for OpenTelemetry PHP.
License Apache-2.0
Informations about the package opentelemetry-exporter-instana
This is a read-only subtree split of https://github.com/open-telemetry/opentelemetry-php-contrib.
Instana OpenTelemetry PHP Exporter
Instana exporter for OpenTelemetry.
Documentation
https://www.ibm.com/docs/en/instana-observability/current?topic=php-opentelemetry-exporter
Installing via Composer
Install Composer in a common location or in your project
Install via Composer
Usage
Utilizing the OpenTelemetry PHP SDK, we can send spans natively to Instana, by providing an OpenTelemetry span processor our SpanExporterInterface
.
This can be manually constructed, or created from the SpanExporterFactory
. See the factory implementation for how to manually construct the SpanExporter
. The factory reads from two environment variables which can be set according, else will fallback onto the following defaults
The service name that is visible in the Instana UI can be configured with the following environment variables. OpenTelemetry provides OTEL_SERVICE_NAME
(see documentation here) as a way to customize this within the SDK. We also provide INSTANA_SERVICE_NAME
which will be taken as the highest precedence.
Example
Issues
This exporter is primarily maintained by contributors from IBM. Issues should be reported as part of standard Instana product support.