@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | */ |
41 | 41 | 'http' => [ |
42 | 42 | 'span_name' => Configurations\Http\SpanNameResolver::class, |
43 | - 'tags' => fn (Request $request, Response $response) => [ |
|
43 | + 'tags' => fn(Request $request, Response $response) => [ |
|
44 | 44 | 'type' => 'http', |
45 | 45 | 'request_host' => $request->getHost(), |
46 | 46 | 'request_path' => $request->path(), |
@@ -54,9 +54,9 @@ discard block |
||
54 | 54 | * Describes configuration for console commands |
55 | 55 | */ |
56 | 56 | 'console' => [ |
57 | - 'span_name' => fn (string $command, ?InputInterface $input = null) => 'Console: ' . $command, |
|
58 | - 'filter_commands' => ['schedule:run', 'horizon', 'queue:'], |
|
59 | - 'tags' => fn (string $command, int $exitCode, ?InputInterface $input = null, ?OutputInterface $output = null) => [ |
|
57 | + 'span_name' => fn(string $command, ?InputInterface $input = null) => 'Console: ' . $command, |
|
58 | + 'filter_commands' => [ 'schedule:run', 'horizon', 'queue:' ], |
|
59 | + 'tags' => fn(string $command, int $exitCode, ?InputInterface $input = null, ?OutputInterface $output = null) => [ |
|
60 | 60 | 'type' => 'console', |
61 | 61 | 'console_command' => $command, |
62 | 62 | 'console_exit_code' => $exitCode, |
@@ -67,8 +67,8 @@ discard block |
||
67 | 67 | * Describes configuration for queued jobs |
68 | 68 | */ |
69 | 69 | 'job' => [ |
70 | - 'span_name' => fn ($realJob, ?Job $job) => 'Job: ' . get_class($realJob), |
|
71 | - 'tags' => fn ($realJob, ?Job $job) => [ |
|
70 | + 'span_name' => fn($realJob, ?Job $job) => 'Job: ' . get_class($realJob), |
|
71 | + 'tags' => fn($realJob, ?Job $job) => [ |
|
72 | 72 | 'type' => 'job', |
73 | 73 | 'job_class' => get_class($realJob), |
74 | 74 | 'job_id' => optional($job) |