PHP code example of uru / opentelemetry-auto-slim-legacy

1. Go to this page and download the library: Download uru/opentelemetry-auto-slim-legacy 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/ */

    

uru / opentelemetry-auto-slim-legacy example snippets

shell
OTEL_PHP_DISABLED_INSTRUMENTATIONS=slim