PHP code example of stanbic-open-telemetry / sdk-one
1. Go to this page and download the library: Download stanbic-open-telemetry/sdk-one library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
stanbic-open-telemetry / sdk-one example snippets
$tracer = \OpenTelemetry\API\Globals::tracerProvider()->getTracer('example');
$meter = \OpenTelemetry\API\Globals::meterProvider()->getMeter('example');