Skip to content

Commit

Permalink
Fix laravel 10 snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
estringana committed Feb 8, 2024
1 parent 2513f56 commit 0c7a6c2
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 56 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,19 @@
"resource": "App\\Http\\Controllers\\CommonSpecsController@simple simple_route",
"trace_id": 0,
"span_id": 1,
"parent_id": 5443607902760525034,
"parent_id": 7827933312769294179,
"type": "web",
"meta": {
"_dd.p.dm": "-0",
"_dd.p.tid": "65c4f3a100000000",
"component": "laravel",
"http.method": "GET",
"http.route": "simple",
"http.status_code": "200",
"http.url": "http://localhost:9999/simple?key=value&<redacted>",
"laravel.route.action": "App\\Http\\Controllers\\CommonSpecsController@simple",
"laravel.route.name": "simple_route",
"runtime-id": "eea35813-af37-4c9a-9e17-f960bf660b54",
"runtime-id": "9aa7572a-b652-4cc5-8a09-d4ae1150d865",
"span.kind": "server"
},
"metrics": {
Expand Down Expand Up @@ -170,7 +171,7 @@
{
"name": "laravel.event.handle",
"service": "my_service",
"resource": "bootstrapped: Illuminate\\Foundation\\Bootstrap\\BootProviders",
"resource": "Illuminate\\Database\\Events\\ConnectionEstablished",
"trace_id": 0,
"span_id": 14,
"parent_id": 1,
Expand All @@ -182,7 +183,7 @@
{
"name": "laravel.event.handle",
"service": "my_service",
"resource": "Illuminate\\Routing\\Events\\Routing",
"resource": "bootstrapped: Illuminate\\Foundation\\Bootstrap\\BootProviders",
"trace_id": 0,
"span_id": 15,
"parent_id": 1,
Expand All @@ -194,7 +195,7 @@
{
"name": "laravel.event.handle",
"service": "my_service",
"resource": "Illuminate\\Routing\\Events\\RouteMatched",
"resource": "Illuminate\\Routing\\Events\\Routing",
"trace_id": 0,
"span_id": 16,
"parent_id": 1,
Expand All @@ -203,12 +204,24 @@
"component": "laravel"
}
},
{
"name": "laravel.event.handle",
"service": "my_service",
"resource": "Illuminate\\Routing\\Events\\RouteMatched",
"trace_id": 0,
"span_id": 17,
"parent_id": 1,
"type": "web",
"meta": {
"component": "laravel"
}
},
{
"name": "laravel.action",
"service": "my_service",
"resource": "simple",
"trace_id": 0,
"span_id": 17,
"span_id": 18,
"parent_id": 1,
"type": "web",
"meta": {
Expand All @@ -220,7 +233,7 @@
"service": "my_service",
"resource": "Illuminate\\Routing\\Events\\PreparingResponse",
"trace_id": 0,
"span_id": 18,
"span_id": 19,
"parent_id": 1,
"type": "web",
"meta": {
Expand All @@ -232,7 +245,7 @@
"service": "my_service",
"resource": "Illuminate\\Routing\\Events\\ResponsePrepared",
"trace_id": 0,
"span_id": 19,
"span_id": 20,
"parent_id": 1,
"type": "web",
"meta": {
Expand All @@ -244,7 +257,7 @@
"service": "my_service",
"resource": "Illuminate\\Routing\\Events\\PreparingResponse",
"trace_id": 0,
"span_id": 20,
"span_id": 21,
"parent_id": 1,
"type": "web",
"meta": {
Expand All @@ -256,7 +269,7 @@
"service": "my_service",
"resource": "Illuminate\\Routing\\Events\\ResponsePrepared",
"trace_id": 0,
"span_id": 21,
"span_id": 22,
"parent_id": 1,
"type": "web",
"meta": {
Expand All @@ -268,7 +281,7 @@
"service": "my_service",
"resource": "Illuminate\\Foundation\\Http\\Events\\RequestHandled",
"trace_id": 0,
"span_id": 22,
"span_id": 23,
"parent_id": 1,
"type": "web",
"meta": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@
"resource": "GET /does_not_exist",
"trace_id": 0,
"span_id": 1,
"parent_id": 4578985128299749382,
"parent_id": 18025102726851271444,
"type": "web",
"meta": {
"_dd.p.dm": "-0",
"_dd.p.tid": "65c4f49400000000",
"component": "laravel",
"http.method": "GET",
"http.status_code": "404",
"http.url": "http://localhost:9999/does_not_exist?key=value&<redacted>",
"runtime-id": "eea35813-af37-4c9a-9e17-f960bf660b54"
"runtime-id": "be6d5800-3923-47c3-98a5-fa26dbc94d4f"
},
"metrics": {
"_sampling_priority_v1": 1.0
Expand Down Expand Up @@ -166,7 +167,7 @@
{
"name": "laravel.event.handle",
"service": "my_service",
"resource": "bootstrapped: Illuminate\\Foundation\\Bootstrap\\BootProviders",
"resource": "Illuminate\\Database\\Events\\ConnectionEstablished",
"trace_id": 0,
"span_id": 14,
"parent_id": 1,
Expand All @@ -178,7 +179,7 @@
{
"name": "laravel.event.handle",
"service": "my_service",
"resource": "Illuminate\\Routing\\Events\\Routing",
"resource": "bootstrapped: Illuminate\\Foundation\\Bootstrap\\BootProviders",
"trace_id": 0,
"span_id": 15,
"parent_id": 1,
Expand All @@ -190,7 +191,7 @@
{
"name": "laravel.event.handle",
"service": "my_service",
"resource": "creating: errors::404",
"resource": "Illuminate\\Routing\\Events\\Routing",
"trace_id": 0,
"span_id": 16,
"parent_id": 1,
Expand All @@ -199,12 +200,24 @@
"component": "laravel"
}
},
{
"name": "laravel.event.handle",
"service": "my_service",
"resource": "creating: errors::404",
"trace_id": 0,
"span_id": 17,
"parent_id": 1,
"type": "web",
"meta": {
"component": "laravel"
}
},
{
"name": "laravel.view.render",
"service": "my_service",
"resource": "errors::404",
"trace_id": 0,
"span_id": 17,
"span_id": 18,
"parent_id": 1,
"type": "web",
"meta": {
Expand All @@ -216,8 +229,8 @@
"service": "my_service",
"resource": "composing: errors::404",
"trace_id": 0,
"span_id": 19,
"parent_id": 17,
"span_id": 20,
"parent_id": 18,
"type": "web",
"meta": {
"component": "laravel"
Expand All @@ -228,8 +241,8 @@
"service": "my_service",
"resource": "/home/circleci/datadog/tests/Frameworks/Laravel/Version_10_x/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/views/404.blade.php",
"trace_id": 0,
"span_id": 20,
"parent_id": 17,
"span_id": 21,
"parent_id": 18,
"type": "web",
"meta": {
"component": "laravel"
Expand All @@ -240,8 +253,8 @@
"service": "my_service",
"resource": "creating: errors::minimal",
"trace_id": 0,
"span_id": 21,
"parent_id": 20,
"span_id": 22,
"parent_id": 21,
"type": "web",
"meta": {
"component": "laravel"
Expand All @@ -252,8 +265,8 @@
"service": "my_service",
"resource": "composing: errors::minimal",
"trace_id": 0,
"span_id": 22,
"parent_id": 20,
"span_id": 23,
"parent_id": 21,
"type": "web",
"meta": {
"component": "laravel"
Expand All @@ -264,7 +277,7 @@
"service": "my_service",
"resource": "Illuminate\\Foundation\\Http\\Events\\RequestHandled",
"trace_id": 0,
"span_id": 18,
"span_id": 19,
"parent_id": 1,
"type": "web",
"meta": {
Expand Down
Loading

0 comments on commit 0c7a6c2

Please sign in to comment.