Skip to content

Commit 87dde43

Browse files
authored
Added schema URL for all packages lower than 1.0.0 (#273)
1 parent 5295efc commit 87dde43

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/LaravelInstrumentation.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ class LaravelInstrumentation
1313

1414
public static function register(): void
1515
{
16-
$instrumentation = new CachedInstrumentation('io.opentelemetry.contrib.php.laravel');
16+
$instrumentation = new CachedInstrumentation(
17+
'io.opentelemetry.contrib.php.laravel',
18+
null,
19+
'https://opentelemetry.io/schemas/1.24.0'
20+
);
1721

1822
Hooks\Illuminate\Console\Command::hook($instrumentation);
1923
Hooks\Illuminate\Contracts\Console\Kernel::hook($instrumentation);

0 commit comments

Comments
 (0)