PHP code example of reactedge / widgets-open-telemetry
1. Go to this page and download the library: Download reactedge/widgets-open-telemetry 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/ */
reactedge / widgets-open-telemetry example snippets
$operation = $activity->startOperation('widget.render');
$activity->addEvent($operation, 'contract.loaded');
$activity->endOperation($operation);