Skip to content

Commit 2340187

Browse files
committed
Update snapshot with correct parenting
Just doing to this help with reviewers to see what changed / what it should be
1 parent d6395b4 commit 2340187

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

tracer/test/snapshots/OcelotDistributedTracingTests.verified.txt

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,6 @@
22
{
33
TraceId: Id_1,
44
SpanId: Id_2,
5-
Name: aspnet_core.request,
6-
Resource: GET /,
7-
Service: Samples.Ocelot.DistributedTracing,
8-
Type: web,
9-
ParentId: Id_3,
10-
Tags: {
11-
aspnet_core.endpoint: HTTP: GET /,
12-
aspnet_core.route: /,
13-
component: aspnet_core,
14-
env: integration_tests,
15-
http.method: GET,
16-
http.request.headers.host: localhost:00000,
17-
http.request.method: GET,
18-
http.route: /,
19-
http.status_code: 200,
20-
http.url: http://localhost:00000/,
21-
language: dotnet,
22-
network.protocol.version: 1.1,
23-
runtime-id: Guid_1,
24-
server.address: 127.0.0.1,
25-
span.kind: server,
26-
url.path: /,
27-
url.scheme: http,
28-
version: 1.0.0
29-
},
30-
Metrics: {
31-
process_id: 0,
32-
server.port: 00000,
33-
_dd.top_level: 1.0,
34-
_dd.tracer_kr: 1.0,
35-
_sampling_priority_v1: 1.0
36-
}
37-
},
38-
{
39-
TraceId: Id_1,
40-
SpanId: Id_4,
415
Name: http.request,
426
Resource: GET localhost:00000/proxy,
437
Service: Samples.Ocelot.DistributedTracing-http-client,
@@ -64,12 +28,12 @@
6428
},
6529
{
6630
TraceId: Id_1,
67-
SpanId: Id_5,
31+
SpanId: Id_3,
6832
Name: aspnet_core.request,
6933
Resource: GET /proxy,
7034
Service: Samples.Ocelot.DistributedTracing,
7135
Type: web,
72-
ParentId: Id_4,
36+
ParentId: Id_2,
7337
Tags: {
7438
component: aspnet_core,
7539
env: integration_tests,
@@ -97,12 +61,12 @@
9761
},
9862
{
9963
TraceId: Id_1,
100-
SpanId: Id_6,
64+
SpanId: Id_4,
10165
Name: http.request,
10266
Resource: GET localhost:00000/,
10367
Service: Samples.Ocelot.DistributedTracing-http-client,
10468
Type: http,
105-
ParentId: Id_5,
69+
ParentId: Id_3,
10670
Tags: {
10771
component: HttpMessageHandler,
10872
env: integration_tests,
@@ -119,5 +83,41 @@
11983
Metrics: {
12084
_dd.top_level: 1.0
12185
}
86+
},
87+
{
88+
TraceId: Id_1,
89+
SpanId: Id_5,
90+
Name: aspnet_core.request,
91+
Resource: GET /,
92+
Service: Samples.Ocelot.DistributedTracing,
93+
Type: web,
94+
ParentId: Id_4,
95+
Tags: {
96+
aspnet_core.endpoint: HTTP: GET /,
97+
aspnet_core.route: /,
98+
component: aspnet_core,
99+
env: integration_tests,
100+
http.method: GET,
101+
http.request.headers.host: localhost:00000,
102+
http.request.method: GET,
103+
http.route: /,
104+
http.status_code: 200,
105+
http.url: http://localhost:00000/,
106+
language: dotnet,
107+
network.protocol.version: 1.1,
108+
runtime-id: Guid_1,
109+
server.address: 127.0.0.1,
110+
span.kind: server,
111+
url.path: /,
112+
url.scheme: http,
113+
version: 1.0.0
114+
},
115+
Metrics: {
116+
process_id: 0,
117+
server.port: 00000,
118+
_dd.top_level: 1.0,
119+
_dd.tracer_kr: 1.0,
120+
_sampling_priority_v1: 1.0
121+
}
122122
}
123123
]

0 commit comments

Comments
 (0)