Skip to content

Commit

Permalink
Use appropriate service name for Laravel queue integration
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomartinezbernardo committed Apr 29, 2024
1 parent 94c7e3a commit 21a31ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function (HookData $hook) use ($integration, $class, $method) {
$span = $hook->span();
$span->name = 'laravel.queue.action';
$span->type = 'queue';
$span->service = $integration->getName();
$span->service = $integration->getAppName();
$span->resource = $class . '@' . $method;
$span->meta[Tag::COMPONENT] = LaravelQueueIntegration::NAME;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,14 +289,13 @@
},
{
"name": "laravel.queue.action",
"service": "laravelqueue",
"service": "laravel_queue_test",
"resource": "Illuminate\\Broadcasting\\BroadcastEvent@handle",
"trace_id": 0,
"span_id": 24,
"parent_id": 21,
"type": "queue",
"meta": {
"_dd.base_service": "laravel_queue_test",
"component": "laravelqueue"
}
},
Expand Down

0 comments on commit 21a31ce

Please sign in to comment.