Skip to content

Commit

Permalink
Enable Otel SDK loading by default (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
intuibase authored Sep 11, 2024
1 parent 2956254 commit a258331
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prod/php/ElasticOTel/PhpPartFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ public static function bootstrap(int $maxEnabledLogLevel, float $requestInitStar
__FILE__, __LINE__, __CLASS__, __FUNCTION__
);

putenv('OTEL_PHP_AUTOLOAD_ENABLED=true');

if (self::$singletonInstance !== null) {
BootstrapStageLogger::logCritical(
'bootstrap() is called even though singleton instance is already created'
Expand Down

0 comments on commit a258331

Please sign in to comment.