Skip to content

Commit

Permalink
Added schema URL for all packages lower than 1.0.0 (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
weslenteche authored Jun 25, 2024
1 parent b704b09 commit bd4cf46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"php": "^8.0",
"ext-opentelemetry": "*",
"open-telemetry/api": "^1.0",
"open-telemetry/sem-conv": "^1.23",
"open-telemetry/sem-conv": "^1.24",
"psr/cache": "^1 || ^2 || ^3",
"composer-runtime-api": "^2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Psr6Instrumentation.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static function register(): void
$instrumentation = new CachedInstrumentation(
'io.opentelemetry.contrib.php.psr6',
InstalledVersions::getVersion('open-telemetry/opentelemetry-auto-psr6'),
'https://opentelemetry.io/schemas/1.25.0',
'https://opentelemetry.io/schemas/1.24.0',
);

$pre = static function (CacheItemPoolInterface $pool, array $params, string $class, string $function, ?string $filename, ?int $lineno) use ($instrumentation) {
Expand Down

0 comments on commit bd4cf46

Please sign in to comment.