Skip to content

Commit

Permalink
Enable Otel SDK loading by default
Browse files Browse the repository at this point in the history
  • Loading branch information
intuibase committed Sep 11, 2024
1 parent 2956254 commit 7d9ac15
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 7d9ac15

Please sign in to comment.