From 09c559b4284d885991763cf35f28851dd34d0958 Mon Sep 17 00:00:00 2001 From: Andrew Lock Date: Tue, 18 Nov 2025 15:05:47 +0000 Subject: [PATCH 1/6] Add spans to Wcf service endpoints --- .../WcfTests.cs | 14 +- .../WcfTests.WebHttp_v0.disabled.verified.txt | 232 ++++- .../WcfTests.WebHttp_v0.webHttp.verified.txt | 236 ++++- .../WcfTests.WebHttp_v1.disabled.verified.txt | 200 +++- .../WcfTests.WebHttp_v1.webHttp.verified.txt | 228 ++++- ...se_enableWcfObfuscation=False.verified.txt | 708 +++++++++++-- ...lse_enableWcfObfuscation=True.verified.txt | 708 +++++++++++-- ...ue_enableWcfObfuscation=False.verified.txt | 822 ++++++++++++++-- ...rue_enableWcfObfuscation=True.verified.txt | 822 ++++++++++++++-- ...rue_enableWcfObfuscation=True.verified.txt | 377 +++++++ ...se_enableWcfObfuscation=False.verified.txt | 366 ++++++- ...lse_enableWcfObfuscation=True.verified.txt | 366 ++++++- ...ue_enableWcfObfuscation=False.verified.txt | 450 ++++++++- ...rue_enableWcfObfuscation=True.verified.txt | 450 ++++++++- ...se_enableWcfObfuscation=False.verified.txt | 806 +++++++++++++-- ...lse_enableWcfObfuscation=True.verified.txt | 806 +++++++++++++-- ...ue_enableWcfObfuscation=False.verified.txt | 926 ++++++++++++++++-- ...rue_enableWcfObfuscation=True.verified.txt | 926 ++++++++++++++++-- ...se_enableWcfObfuscation=False.verified.txt | 682 +++++++++++-- ...lse_enableWcfObfuscation=True.verified.txt | 682 +++++++++++-- ...ue_enableWcfObfuscation=False.verified.txt | 794 +++++++++++++-- ...rue_enableWcfObfuscation=True.verified.txt | 794 +++++++++++++-- ...rue_enableWcfObfuscation=True.verified.txt | 351 +++++++ ...se_enableWcfObfuscation=False.verified.txt | 366 ++++++- ...lse_enableWcfObfuscation=True.verified.txt | 366 ++++++- ...ue_enableWcfObfuscation=False.verified.txt | 450 ++++++++- ...rue_enableWcfObfuscation=True.verified.txt | 450 ++++++++- ...se_enableWcfObfuscation=False.verified.txt | 776 +++++++++++++-- ...lse_enableWcfObfuscation=True.verified.txt | 776 +++++++++++++-- ...ue_enableWcfObfuscation=False.verified.txt | 890 +++++++++++++++-- ...rue_enableWcfObfuscation=True.verified.txt | 890 +++++++++++++++-- .../Samples.Wcf/Server/CalculatorService.cs | 6 + .../Samples.Wcf/Server/HttpCalculator.cs | 1 + 33 files changed, 16008 insertions(+), 1709 deletions(-) diff --git a/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/WcfTests.cs b/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/WcfTests.cs index 29932ddd47eb..3f0d69d8fb51 100644 --- a/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/WcfTests.cs +++ b/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/WcfTests.cs @@ -5,6 +5,7 @@ #if NETFRAMEWORK +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; @@ -98,8 +99,11 @@ public async Task SubmitsTraces(string metadataSchemaVersion, string binding, bo var expectedSpanCount = binding switch { - "Custom" => 1, - _ => 14, + "Custom" => 14, + "NetTcpBinding" => 32, + "BasicHttpBinding" => 45, + "WSHttpBinding" => 49, + _ => throw new InvalidOperationException("Unknown binding " + binding), }; using var telemetry = this.ConfigureTelemetry(); @@ -113,7 +117,7 @@ public async Task SubmitsTraces(string metadataSchemaVersion, string binding, bo agent.SpanFilters.Add(s => !s.Resource.Contains("schemas.xmlsoap.org") && !s.Resource.Contains("www.w3.org")); // The test adds a custom span to show that propagation works with WCF headers - agent.SpanFilters.Add(s => s.Type == SpanTypes.Web || s.Type == SpanTypes.Custom); + // agent.SpanFilters.Add(s => s.Type == SpanTypes.Web || s.Type == SpanTypes.Custom); var spans = await agent.WaitForSpansAsync(expectedSpanCount); ValidateIntegrationSpans(spans.Where(s => s.Type == SpanTypes.Web), metadataSchemaVersion, expectedServiceName: "Samples.Wcf", isExternalSpan: false); @@ -143,7 +147,7 @@ public async Task WebHttp(string metadataSchemaVersion, bool enableNewWcfInstrum Output.WriteLine("Starting WcfTests.SubmitsTraces. Starting the Samples.Wcf requires ADMIN privileges"); - var expectedSpanCount = 5; + var expectedSpanCount = 13; using var telemetry = this.ConfigureTelemetry(); int wcfPort = 8585; @@ -155,7 +159,7 @@ public async Task WebHttp(string metadataSchemaVersion, bool enableNewWcfInstrum // so we can wait on the exact number of spans we expect. agent.SpanFilters.Add(s => !s.Resource.Contains("schemas.xmlsoap.org") && !s.Resource.Contains("www.w3.org")); // The test adds a custom span to show that propagation works with WCF headers - agent.SpanFilters.Add(s => s.Type == SpanTypes.Web || s.Type == SpanTypes.Custom); + // agent.SpanFilters.Add(s => s.Type == SpanTypes.Web || s.Type == SpanTypes.Custom); var spans = await agent.WaitForSpansAsync(expectedSpanCount); ValidateIntegrationSpans(spans.Where(s => s.Type == SpanTypes.Web), metadataSchemaVersion, expectedServiceName: "Samples.Wcf", isExternalSpan: false); diff --git a/tracer/test/snapshots/WcfTests.WebHttp_v0.disabled.verified.txt b/tracer/test/snapshots/WcfTests.WebHttp_v0.disabled.verified.txt index c789eb9a30ca..b65164c221a4 100644 --- a/tracer/test/snapshots/WcfTests.WebHttp_v0.disabled.verified.txt +++ b/tracer/test/snapshots/WcfTests.WebHttp_v0.disabled.verified.txt @@ -2,21 +2,13 @@ { TraceId: Id_1, SpanId: Id_2, - Name: wcf.request, - Resource: /ServerSyncAddJson/?/n2=2, + Name: ServerSyncAddJson, + Resource: ServerSyncAddJson, Service: Samples.Wcf, - Type: web, - ParentId: Id_3, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: GET, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -27,20 +19,197 @@ } }, { - TraceId: Id_1, + TraceId: Id_3, SpanId: Id_4, + Name: ServerSyncAddWrapped, + Resource: ServerSyncAddWrapped, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: ServerSyncAddXml, + Resource: ServerSyncAddXml, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: ServerTaskAddPost, + Resource: ServerTaskAddPost, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: internal, + Resource: WebClient, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, + runtime-id: Guid_1, + span.kind: internal, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_11, + Name: http.request, + Resource: GET localhost:00000/ServerSyncAddJson/?/n2=2, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: GET, + http.status_code: 200, + http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_12, + Name: http.request, + Resource: GET localhost:00000/ServerSyncAddXml/?/n2=2, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: GET, + http.status_code: 200, + http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_13, + Name: http.request, + Resource: POST localhost:00000/ServerTaskAddPost, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/ServerTaskAddPost, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_14, + Name: http.request, + Resource: POST localhost:00000/ServerSyncAddWrapped, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/ServerSyncAddWrapped, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_15, Name: wcf.request, - Resource: /ServerSyncAddWrapped, + Resource: /ServerSyncAddJson/?/n2=2, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, + http.method: GET, http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddWrapped, + http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, runtime-id: Guid_1, span.kind: server, @@ -54,13 +223,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_9, + SpanId: Id_16, Name: wcf.request, Resource: /ServerSyncAddXml/?/n2=2, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_12, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,13 +250,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_9, + SpanId: Id_17, Name: wcf.request, Resource: /ServerTaskAddPost, Service: Samples.Wcf, Type: web, - ParentId: Id_9, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -108,20 +277,23 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, - Name: internal, - Resource: WebClient, + TraceId: Id_9, + SpanId: Id_18, + Name: wcf.request, + Resource: /ServerSyncAddWrapped, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_14, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/ServerSyncAddWrapped, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { diff --git a/tracer/test/snapshots/WcfTests.WebHttp_v0.webHttp.verified.txt b/tracer/test/snapshots/WcfTests.WebHttp_v0.webHttp.verified.txt index ea5642f7d705..f011c0f7770b 100644 --- a/tracer/test/snapshots/WcfTests.WebHttp_v0.webHttp.verified.txt +++ b/tracer/test/snapshots/WcfTests.WebHttp_v0.webHttp.verified.txt @@ -2,21 +2,13 @@ { TraceId: Id_1, SpanId: Id_2, - Name: wcf.request, - Resource: GET /ServerSyncAddJson/{n1}/n2={n2}, + Name: ServerSyncAddJson, + Resource: ServerSyncAddJson, Service: Samples.Wcf, - Type: web, - ParentId: Id_3, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: GET, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -27,20 +19,197 @@ } }, { - TraceId: Id_1, + TraceId: Id_3, SpanId: Id_4, + Name: ServerSyncAddWrapped, + Resource: ServerSyncAddWrapped, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: ServerSyncAddXml, + Resource: ServerSyncAddXml, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: ServerTaskAddPost, + Resource: ServerTaskAddPost, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: internal, + Resource: WebClient, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, + runtime-id: Guid_1, + span.kind: internal, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_11, + Name: http.request, + Resource: GET localhost:00000/ServerSyncAddJson/?/n2=2, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: GET, + http.status_code: 200, + http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_12, + Name: http.request, + Resource: GET localhost:00000/ServerSyncAddXml/?/n2=2, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: GET, + http.status_code: 200, + http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_13, + Name: http.request, + Resource: POST localhost:00000/ServerTaskAddPost, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/ServerTaskAddPost, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_14, + Name: http.request, + Resource: POST localhost:00000/ServerSyncAddWrapped, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/ServerSyncAddWrapped, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_15, Name: wcf.request, - Resource: GET /ServerSyncAddXml/{n1}/n2={n2}, + Resource: GET /ServerSyncAddJson/{n1}/n2={n2}, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.method: GET, http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, + http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, runtime-id: Guid_1, span.kind: server, @@ -54,20 +223,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_9, + SpanId: Id_16, Name: wcf.request, - Resource: POST /ServerSyncAddWrapped, + Resource: GET /ServerSyncAddXml/{n1}/n2={n2}, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_12, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, + http.method: GET, http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddWrapped, + http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, runtime-id: Guid_1, span.kind: server, @@ -81,13 +250,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_9, + SpanId: Id_17, Name: wcf.request, Resource: POST /ServerTaskAddPost, Service: Samples.Wcf, Type: web, - ParentId: Id_9, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -108,20 +277,23 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, - Name: internal, - Resource: WebClient, + TraceId: Id_9, + SpanId: Id_18, + Name: wcf.request, + Resource: POST /ServerSyncAddWrapped, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_14, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/ServerSyncAddWrapped, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { diff --git a/tracer/test/snapshots/WcfTests.WebHttp_v1.disabled.verified.txt b/tracer/test/snapshots/WcfTests.WebHttp_v1.disabled.verified.txt index 83d9d2a29a6e..77053f663577 100644 --- a/tracer/test/snapshots/WcfTests.WebHttp_v1.disabled.verified.txt +++ b/tracer/test/snapshots/WcfTests.WebHttp_v1.disabled.verified.txt @@ -2,21 +2,18 @@ { TraceId: Id_1, SpanId: Id_2, - Name: http.server.request, - Resource: /ServerSyncAddJson/?/n2=2, + Name: internal, + Resource: WebClient, Service: Samples.Wcf, - Type: web, - ParentId: Id_3, + Type: custom, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: GET, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, - runtime-id: Guid_1, - span.kind: server, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_1, + runtime-id: Guid_2, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -26,23 +23,111 @@ _sampling_priority_v1: 1.0 } }, + { + TraceId: Id_1, + SpanId: Id_3, + Name: http.client.request, + Resource: GET localhost:00000/ServerSyncAddJson/?/n2=2, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: GET, + http.status_code: 200, + http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, { TraceId: Id_1, SpanId: Id_4, + Name: http.client.request, + Resource: GET localhost:00000/ServerSyncAddXml/?/n2=2, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: GET, + http.status_code: 200, + http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_5, + Name: http.client.request, + Resource: POST localhost:00000/ServerTaskAddPost, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/ServerTaskAddPost, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_6, + Name: http.client.request, + Resource: POST localhost:00000/ServerSyncAddWrapped, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/ServerSyncAddWrapped, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_7, Name: http.server.request, - Resource: /ServerSyncAddWrapped, + Resource: /ServerSyncAddJson/?/n2=2, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_3, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, + http.method: GET, http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddWrapped, + http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -55,12 +140,12 @@ }, { TraceId: Id_1, - SpanId: Id_6, + SpanId: Id_8, Name: http.server.request, Resource: /ServerSyncAddXml/?/n2=2, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_4, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -69,7 +154,7 @@ http.request.headers.host: localhost:00000, http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -82,12 +167,12 @@ }, { TraceId: Id_1, - SpanId: Id_8, + SpanId: Id_9, Name: http.server.request, Resource: /ServerTaskAddPost, Service: Samples.Wcf, Type: web, - ParentId: Id_9, + ParentId: Id_5, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -96,7 +181,7 @@ http.request.headers.host: localhost:00000, http.url: http://localhost:00000/ServerTaskAddPost, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -110,18 +195,21 @@ { TraceId: Id_1, SpanId: Id_10, - Name: internal, - Resource: WebClient, + Name: http.server.request, + Resource: /ServerSyncAddWrapped, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_6, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/ServerSyncAddWrapped, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, - runtime-id: Guid_1, - span.kind: internal, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -130,5 +218,57 @@ _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_1, + SpanId: Id_11, + Name: ServerSyncAddJson, + Resource: ServerSyncAddJson, + Service: Samples.Wcf, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_12, + Name: ServerSyncAddXml, + Resource: ServerSyncAddXml, + Service: Samples.Wcf, + ParentId: Id_8, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_13, + Name: ServerTaskAddPost, + Resource: ServerTaskAddPost, + Service: Samples.Wcf, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_14, + Name: ServerSyncAddWrapped, + Resource: ServerSyncAddWrapped, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.WebHttp_v1.webHttp.verified.txt b/tracer/test/snapshots/WcfTests.WebHttp_v1.webHttp.verified.txt index a8071f327a45..0c3d052ffcbf 100644 --- a/tracer/test/snapshots/WcfTests.WebHttp_v1.webHttp.verified.txt +++ b/tracer/test/snapshots/WcfTests.WebHttp_v1.webHttp.verified.txt @@ -2,21 +2,13 @@ { TraceId: Id_1, SpanId: Id_2, - Name: http.server.request, - Resource: GET /ServerSyncAddJson/{n1}/n2={n2}, + Name: ServerSyncAddJson, + Resource: ServerSyncAddJson, Service: Samples.Wcf, - Type: web, - ParentId: Id_3, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: GET, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -27,20 +19,189 @@ } }, { - TraceId: Id_1, + TraceId: Id_3, SpanId: Id_4, + Name: ServerSyncAddWrapped, + Resource: ServerSyncAddWrapped, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: ServerSyncAddXml, + Resource: ServerSyncAddXml, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: ServerTaskAddPost, + Resource: ServerTaskAddPost, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: internal, + Resource: WebClient, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, + runtime-id: Guid_1, + span.kind: internal, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_11, + Name: http.client.request, + Resource: GET localhost:00000/ServerSyncAddJson/?/n2=2, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: GET, + http.status_code: 200, + http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_12, + Name: http.client.request, + Resource: GET localhost:00000/ServerSyncAddXml/?/n2=2, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: GET, + http.status_code: 200, + http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_13, + Name: http.client.request, + Resource: POST localhost:00000/ServerTaskAddPost, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/ServerTaskAddPost, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_14, + Name: http.client.request, + Resource: POST localhost:00000/ServerSyncAddWrapped, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/ServerSyncAddWrapped, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_15, Name: http.server.request, - Resource: GET /ServerSyncAddXml/{n1}/n2={n2}, + Resource: GET /ServerSyncAddJson/{n1}/n2={n2}, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.method: GET, http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, + http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, runtime-id: Guid_1, span.kind: server, @@ -54,20 +215,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_9, + SpanId: Id_16, Name: http.server.request, - Resource: POST /ServerSyncAddWrapped, + Resource: GET /ServerSyncAddXml/{n1}/n2={n2}, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_12, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, + http.method: GET, http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddWrapped, + http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, runtime-id: Guid_1, span.kind: server, @@ -81,13 +242,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_9, + SpanId: Id_17, Name: http.server.request, Resource: POST /ServerTaskAddPost, Service: Samples.Wcf, Type: web, - ParentId: Id_9, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -108,20 +269,23 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, - Name: internal, - Resource: WebClient, + TraceId: Id_9, + SpanId: Id_18, + Name: http.server.request, + Resource: POST /ServerSyncAddWrapped, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_14, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/ServerSyncAddWrapped, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt index b610c39170cd..e506fabea4d6 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt @@ -2,11 +2,433 @@ { TraceId: Id_1, SpanId: Id_2, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: internal, + Resource: WebClient, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, + runtime-id: Guid_1, + span.kind: internal, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_11, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_12, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_13, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_14, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_15, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_16, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_17, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_18, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_19, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_20, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_21, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_22, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_23, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_24, Name: wcf.request, Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_3, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -27,13 +449,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_9, + SpanId: Id_25, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_12, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -54,13 +476,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_9, + SpanId: Id_26, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,13 +503,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_9, + SpanId: Id_27, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_9, + ParentId: Id_14, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -108,13 +530,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_9, + SpanId: Id_28, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_15, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -135,13 +557,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_9, + SpanId: Id_29, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_16, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -162,13 +584,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_9, + SpanId: Id_30, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_17, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -189,13 +611,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_9, + SpanId: Id_31, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_18, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -216,10 +638,10 @@ } }, { - TraceId: Id_1, - SpanId: Id_18, + TraceId: Id_9, + SpanId: Id_32, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, ParentId: Id_19, @@ -243,13 +665,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_9, + SpanId: Id_33, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_20, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -270,13 +692,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_9, + SpanId: Id_34, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_21, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -297,13 +719,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_24, + TraceId: Id_9, + SpanId: Id_35, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_25, + ParentId: Id_22, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -324,13 +746,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_9, + SpanId: Id_36, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_27, + ParentId: Id_23, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -351,27 +773,185 @@ } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: internal, - Resource: WebClient, + TraceId: Id_9, + SpanId: Id_37, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: custom, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_38, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_39, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_40, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_27, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_41, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_28, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_42, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_29, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_43, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_44, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_31, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_45, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_46, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_33, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_47, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_48, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_49, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_35, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_50, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_36, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, - runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt index 17ca3a160490..95424f5de63d 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt @@ -2,11 +2,433 @@ { TraceId: Id_1, SpanId: Id_2, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: internal, + Resource: WebClient, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, + runtime-id: Guid_1, + span.kind: internal, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_11, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_12, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_13, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_14, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_15, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_16, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_17, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_18, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_19, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_20, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_21, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_22, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_23, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_24, Name: wcf.request, Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_3, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -27,13 +449,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_9, + SpanId: Id_25, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_12, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -54,13 +476,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_9, + SpanId: Id_26, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,13 +503,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_9, + SpanId: Id_27, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_9, + ParentId: Id_14, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -108,13 +530,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_9, + SpanId: Id_28, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_15, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -135,13 +557,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_9, + SpanId: Id_29, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_16, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -162,13 +584,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_9, + SpanId: Id_30, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_17, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -189,13 +611,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_9, + SpanId: Id_31, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_18, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -216,10 +638,10 @@ } }, { - TraceId: Id_1, - SpanId: Id_18, + TraceId: Id_9, + SpanId: Id_32, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, ParentId: Id_19, @@ -243,13 +665,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_9, + SpanId: Id_33, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_20, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -270,13 +692,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_9, + SpanId: Id_34, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_21, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -297,13 +719,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_24, + TraceId: Id_9, + SpanId: Id_35, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_25, + ParentId: Id_22, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -324,13 +746,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_9, + SpanId: Id_36, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_27, + ParentId: Id_23, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -351,27 +773,185 @@ } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: internal, - Resource: WebClient, + TraceId: Id_9, + SpanId: Id_37, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: custom, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_38, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_39, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_40, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_27, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_41, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_28, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_42, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_29, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_43, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_44, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_31, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_45, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_46, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_33, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_47, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_48, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_49, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_35, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_50, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_36, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, - runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index c64be63395b9..4a5bd8401e5a 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,21 +2,360 @@ { TraceId: Id_1, SpanId: Id_2, - Name: wcf.request, - Resource: /WcfSample/123,123/CalculatorService, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_15, + SpanId: Id_16, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_17, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_21, + SpanId: Id_22, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_23, + SpanId: Id_24, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_25, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_31, + SpanId: Id_32, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_33, + SpanId: Id_34, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_35, + SpanId: Id_36, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_38, + Name: internal, + Resource: WebClient, Service: Samples.Wcf, - Type: web, - ParentId: Id_3, + Type: custom, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: server, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -27,13 +366,335 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_37, + SpanId: Id_39, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_40, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_41, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_42, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_43, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_44, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_45, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_46, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_47, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_48, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_49, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_50, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_51, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_52, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_39, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -54,13 +715,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_37, + SpanId: Id_53, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_40, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,23 +742,17 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_37, + SpanId: Id_54, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_9, - Error: 1, + ParentId: Id_41, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -114,13 +769,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_37, + SpanId: Id_55, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_42, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -141,23 +796,17 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_37, + SpanId: Id_56, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, - Error: 1, + ParentId: Id_43, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -174,13 +823,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_37, + SpanId: Id_57, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_44, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -201,13 +850,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_37, + SpanId: Id_58, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_45, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -228,13 +877,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_18, + TraceId: Id_37, + SpanId: Id_59, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_19, + ParentId: Id_46, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -255,13 +904,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_37, + SpanId: Id_60, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -282,17 +931,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_37, + SpanId: Id_61, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_48, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -309,13 +964,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_24, + TraceId: Id_37, + SpanId: Id_62, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_25, + ParentId: Id_49, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -336,17 +991,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_37, + SpanId: Id_63, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_27, + ParentId: Id_50, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -363,20 +1024,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: internal, - Resource: WebClient, + TraceId: Id_37, + SpanId: Id_64, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_51, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 02234e8fdad0..640b3621850c 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,21 +2,360 @@ { TraceId: Id_1, SpanId: Id_2, - Name: wcf.request, - Resource: /WcfSample/?/CalculatorService, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_15, + SpanId: Id_16, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_17, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_21, + SpanId: Id_22, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_23, + SpanId: Id_24, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_25, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_31, + SpanId: Id_32, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_33, + SpanId: Id_34, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_35, + SpanId: Id_36, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_38, + Name: internal, + Resource: WebClient, Service: Samples.Wcf, - Type: web, - ParentId: Id_3, + Type: custom, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: server, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -27,13 +366,335 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_37, + SpanId: Id_39, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_40, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_41, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_42, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_43, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_44, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_45, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_46, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_47, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_48, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_49, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_50, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_51, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_52, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_39, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -54,13 +715,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_37, + SpanId: Id_53, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_40, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,23 +742,17 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_37, + SpanId: Id_54, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_9, - Error: 1, + ParentId: Id_41, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -114,13 +769,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_37, + SpanId: Id_55, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_42, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -141,23 +796,17 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_37, + SpanId: Id_56, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, - Error: 1, + ParentId: Id_43, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -174,13 +823,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_37, + SpanId: Id_57, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_44, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -201,13 +850,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_37, + SpanId: Id_58, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_45, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -228,13 +877,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_18, + TraceId: Id_37, + SpanId: Id_59, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_19, + ParentId: Id_46, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -255,13 +904,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_37, + SpanId: Id_60, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -282,17 +931,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_37, + SpanId: Id_61, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_48, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -309,13 +964,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_24, + TraceId: Id_37, + SpanId: Id_62, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_25, + ParentId: Id_49, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -336,17 +991,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_37, + SpanId: Id_63, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_27, + ParentId: Id_50, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -363,20 +1024,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: internal, - Resource: WebClient, + TraceId: Id_37, + SpanId: Id_64, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_51, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=Custom_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=Custom_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 29afb5ef8336..2688c00e64bb 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=Custom_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=Custom_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -22,5 +22,382 @@ _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_1, + SpanId: Id_3, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.GetResponse(), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_2, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_4, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.GetResponse(), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_2, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_5, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_2, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_6, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_2, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_7, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.GetResponse(), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_2, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_8, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_2, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_9, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_2, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_10, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.GetResponse(), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_2, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_11, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_2, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_12, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_2, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_13, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_2, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_14, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_2, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_15, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_2, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt index dd0ba85a410b..c525736d51f5 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt @@ -2,6 +2,82 @@ { TraceId: Id_1, SpanId: Id_2, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -11,8 +87,8 @@ language: dotnet, otel.library.name: Samples.Wcf, otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, + otel.trace_id: Guid_2, + runtime-id: Guid_1, span.kind: internal, version: 1.0.0 }, @@ -24,20 +100,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_3, + TraceId: Id_9, + SpanId: Id_11, Name: wcf.request, Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -49,20 +125,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_9, + SpanId: Id_12, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -74,20 +150,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_5, + TraceId: Id_9, + SpanId: Id_13, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -99,20 +175,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_9, + SpanId: Id_14, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -124,20 +200,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_9, + SpanId: Id_15, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -149,20 +225,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_9, + SpanId: Id_16, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -174,20 +250,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_9, + TraceId: Id_9, + SpanId: Id_17, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -199,20 +275,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_9, + SpanId: Id_18, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -224,20 +300,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, + TraceId: Id_9, + SpanId: Id_19, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -249,20 +325,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_9, + SpanId: Id_20, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -274,20 +350,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_13, + TraceId: Id_9, + SpanId: Id_21, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -299,20 +375,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_9, + SpanId: Id_22, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -324,20 +400,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_9, + SpanId: Id_23, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -347,5 +423,187 @@ _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_9, + SpanId: Id_24, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_11, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_25, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_12, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_13, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_27, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_14, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_28, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_15, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_29, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_30, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_17, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_31, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_18, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_32, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_19, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_33, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_34, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_21, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_35, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_21, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_36, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_22, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_37, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_23, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt index fc48ee9b0f81..40a9a71cc69d 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt @@ -2,6 +2,82 @@ { TraceId: Id_1, SpanId: Id_2, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -11,8 +87,8 @@ language: dotnet, otel.library.name: Samples.Wcf, otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, + otel.trace_id: Guid_2, + runtime-id: Guid_1, span.kind: internal, version: 1.0.0 }, @@ -24,20 +100,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_3, + TraceId: Id_9, + SpanId: Id_11, Name: wcf.request, Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -49,20 +125,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_9, + SpanId: Id_12, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -74,20 +150,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_5, + TraceId: Id_9, + SpanId: Id_13, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -99,20 +175,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_9, + SpanId: Id_14, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -124,20 +200,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_9, + SpanId: Id_15, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -149,20 +225,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_9, + SpanId: Id_16, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -174,20 +250,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_9, + TraceId: Id_9, + SpanId: Id_17, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -199,20 +275,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_9, + SpanId: Id_18, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -224,20 +300,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, + TraceId: Id_9, + SpanId: Id_19, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -249,20 +325,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_9, + SpanId: Id_20, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -274,20 +350,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_13, + TraceId: Id_9, + SpanId: Id_21, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -299,20 +375,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_9, + SpanId: Id_22, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -324,20 +400,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_9, + SpanId: Id_23, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -347,5 +423,187 @@ _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_9, + SpanId: Id_24, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_11, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_25, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_12, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_13, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_27, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_14, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_28, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_15, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_29, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_30, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_17, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_31, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_18, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_32, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_19, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_33, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_34, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_21, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_35, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_21, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_36, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_22, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_37, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_23, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index b7f3eeb0d4ae..5d3956f466a2 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,6 +2,348 @@ { TraceId: Id_1, SpanId: Id_2, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_15, + SpanId: Id_16, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_17, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_21, + SpanId: Id_22, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_23, + SpanId: Id_24, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_25, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_31, + SpanId: Id_32, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_33, + SpanId: Id_34, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_35, + SpanId: Id_36, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_38, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -11,8 +353,8 @@ language: dotnet, otel.library.name: Samples.Wcf, otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, + otel.trace_id: Guid_2, + runtime-id: Guid_1, span.kind: internal, version: 1.0.0 }, @@ -24,20 +366,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_3, + TraceId: Id_37, + SpanId: Id_39, Name: wcf.request, Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -49,20 +391,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_37, + SpanId: Id_40, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -74,20 +416,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_5, + TraceId: Id_37, + SpanId: Id_41, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -99,20 +441,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_37, + SpanId: Id_42, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -124,20 +466,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_37, + SpanId: Id_43, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -149,20 +491,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_37, + SpanId: Id_44, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -174,20 +516,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_9, + TraceId: Id_37, + SpanId: Id_45, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -199,20 +541,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_37, + SpanId: Id_46, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -224,20 +566,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, + TraceId: Id_37, + SpanId: Id_47, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -249,13 +591,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_37, + SpanId: Id_48, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Error: 1, Tags: { component: Wcf, @@ -268,7 +610,7 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -280,20 +622,20 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_13, + TraceId: Id_37, + SpanId: Id_49, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -305,13 +647,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_37, + SpanId: Id_50, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Error: 1, Tags: { component: Wcf, @@ -324,7 +666,7 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -336,20 +678,20 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_37, + SpanId: Id_51, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index a194e9e8a5c9..734909975cb9 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,6 +2,348 @@ { TraceId: Id_1, SpanId: Id_2, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_15, + SpanId: Id_16, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_17, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_21, + SpanId: Id_22, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_23, + SpanId: Id_24, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_25, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_31, + SpanId: Id_32, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_33, + SpanId: Id_34, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_35, + SpanId: Id_36, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_38, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -11,8 +353,8 @@ language: dotnet, otel.library.name: Samples.Wcf, otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, + otel.trace_id: Guid_2, + runtime-id: Guid_1, span.kind: internal, version: 1.0.0 }, @@ -24,20 +366,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_3, + TraceId: Id_37, + SpanId: Id_39, Name: wcf.request, Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -49,20 +391,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_37, + SpanId: Id_40, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -74,20 +416,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_5, + TraceId: Id_37, + SpanId: Id_41, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -99,20 +441,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_37, + SpanId: Id_42, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -124,20 +466,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_37, + SpanId: Id_43, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -149,20 +491,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_37, + SpanId: Id_44, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -174,20 +516,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_9, + TraceId: Id_37, + SpanId: Id_45, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -199,20 +541,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_37, + SpanId: Id_46, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -224,20 +566,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, + TraceId: Id_37, + SpanId: Id_47, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -249,13 +591,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_37, + SpanId: Id_48, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Error: 1, Tags: { component: Wcf, @@ -268,7 +610,7 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -280,20 +622,20 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_13, + TraceId: Id_37, + SpanId: Id_49, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -305,13 +647,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_37, + SpanId: Id_50, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Error: 1, Tags: { component: Wcf, @@ -324,7 +666,7 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -336,20 +678,20 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_37, + SpanId: Id_51, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt index b610c39170cd..0b8b334a48ca 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt @@ -2,21 +2,120 @@ { TraceId: Id_1, SpanId: Id_2, - Name: wcf.request, - Resource: /WcfSample/123,123/CalculatorService, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_3, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + Tags: { + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - span.kind: server, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: internal, + Resource: WebClient, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, + runtime-id: Guid_1, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -27,13 +126,407 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_11, + SpanId: Id_13, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_14, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_15, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_16, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_17, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_18, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_19, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_20, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_21, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_22, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_23, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_24, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_25, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_26, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_27, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_28, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_29, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_16, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -54,13 +547,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_11, + SpanId: Id_30, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_17, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,13 +574,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_11, + SpanId: Id_31, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_9, + ParentId: Id_18, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -108,13 +601,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_11, + SpanId: Id_32, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_19, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -135,13 +628,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_11, + SpanId: Id_33, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_20, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -162,13 +655,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_11, + SpanId: Id_34, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_21, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -189,13 +682,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_11, + SpanId: Id_35, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_22, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -216,13 +709,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_18, + TraceId: Id_11, + SpanId: Id_36, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_19, + ParentId: Id_23, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -243,13 +736,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_11, + SpanId: Id_37, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_24, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -270,13 +763,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_11, + SpanId: Id_38, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_25, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -297,13 +790,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_24, + TraceId: Id_11, + SpanId: Id_39, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_25, + ParentId: Id_26, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -324,10 +817,10 @@ } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_11, + SpanId: Id_40, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, ParentId: Id_27, @@ -351,20 +844,23 @@ } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: internal, - Resource: WebClient, + TraceId: Id_11, + SpanId: Id_41, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_28, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -373,5 +869,187 @@ _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_11, + SpanId: Id_42, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_29, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_43, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_44, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_31, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_45, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_46, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_33, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_47, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_48, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_35, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_49, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_36, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_50, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_37, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_51, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_38, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_52, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_39, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_53, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_39, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_54, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_40, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_55, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_41, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt index 17ca3a160490..476db153eadd 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt @@ -2,21 +2,120 @@ { TraceId: Id_1, SpanId: Id_2, - Name: wcf.request, - Resource: /WcfSample/?/CalculatorService, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_3, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + Tags: { + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - span.kind: server, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: internal, + Resource: WebClient, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, + runtime-id: Guid_1, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -27,13 +126,407 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_11, + SpanId: Id_13, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_14, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_15, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_16, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_17, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_18, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_19, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_20, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_21, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_22, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_23, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_24, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_25, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_26, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_27, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_28, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_29, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_16, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -54,13 +547,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_11, + SpanId: Id_30, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_17, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,13 +574,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_11, + SpanId: Id_31, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_9, + ParentId: Id_18, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -108,13 +601,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_11, + SpanId: Id_32, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_19, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -135,13 +628,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_11, + SpanId: Id_33, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_20, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -162,13 +655,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_11, + SpanId: Id_34, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_21, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -189,13 +682,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_11, + SpanId: Id_35, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_22, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -216,13 +709,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_18, + TraceId: Id_11, + SpanId: Id_36, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_19, + ParentId: Id_23, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -243,13 +736,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_11, + SpanId: Id_37, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_24, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -270,13 +763,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_11, + SpanId: Id_38, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_25, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -297,13 +790,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_24, + TraceId: Id_11, + SpanId: Id_39, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_25, + ParentId: Id_26, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -324,10 +817,10 @@ } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_11, + SpanId: Id_40, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, ParentId: Id_27, @@ -351,20 +844,23 @@ } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: internal, - Resource: WebClient, + TraceId: Id_11, + SpanId: Id_41, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_28, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -373,5 +869,187 @@ _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_11, + SpanId: Id_42, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_29, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_43, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_44, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_31, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_45, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_46, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_33, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_47, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_48, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_35, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_49, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_36, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_50, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_37, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_51, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_38, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_52, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_39, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_53, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_39, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_54, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_40, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_55, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_41, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index c64be63395b9..5b2972a3f2ac 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,38 +2,797 @@ { TraceId: Id_1, SpanId: Id_2, - Name: wcf.request, - Resource: /WcfSample/123,123/CalculatorService, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_3, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_15, + SpanId: Id_16, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_17, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_21, + SpanId: Id_22, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_23, + SpanId: Id_24, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_25, + SpanId: Id_26, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_31, + SpanId: Id_32, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_33, + SpanId: Id_34, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_35, + SpanId: Id_36, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_38, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_40, + Name: internal, + Resource: WebClient, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, + runtime-id: Guid_1, + span.kind: internal, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_41, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_42, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_39, + SpanId: Id_43, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_44, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_45, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_46, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_47, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_48, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_49, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_50, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_51, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_52, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_53, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_54, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_55, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_56, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_57, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_44, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -54,13 +813,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_39, + SpanId: Id_58, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_45, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,23 +840,17 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_39, + SpanId: Id_59, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_9, - Error: 1, + ParentId: Id_46, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -114,13 +867,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_39, + SpanId: Id_60, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -141,23 +894,17 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_39, + SpanId: Id_61, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, - Error: 1, + ParentId: Id_48, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -174,13 +921,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_39, + SpanId: Id_62, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_49, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -201,13 +948,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_39, + SpanId: Id_63, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_50, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -228,13 +975,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_18, + TraceId: Id_39, + SpanId: Id_64, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_19, + ParentId: Id_51, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -255,13 +1002,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_39, + SpanId: Id_65, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_52, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -282,17 +1029,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_39, + SpanId: Id_66, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_53, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -309,13 +1062,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_24, + TraceId: Id_39, + SpanId: Id_67, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_25, + ParentId: Id_54, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -336,17 +1089,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_39, + SpanId: Id_68, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_27, + ParentId: Id_55, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -363,20 +1122,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: internal, - Resource: WebClient, + TraceId: Id_39, + SpanId: Id_69, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_56, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 02234e8fdad0..581771fa89e1 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,38 +2,797 @@ { TraceId: Id_1, SpanId: Id_2, - Name: wcf.request, - Resource: /WcfSample/?/CalculatorService, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_3, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_15, + SpanId: Id_16, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_17, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_21, + SpanId: Id_22, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_23, + SpanId: Id_24, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_25, + SpanId: Id_26, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_31, + SpanId: Id_32, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_33, + SpanId: Id_34, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_35, + SpanId: Id_36, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_38, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_40, + Name: internal, + Resource: WebClient, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, + runtime-id: Guid_1, + span.kind: internal, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_41, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_42, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_39, + SpanId: Id_43, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_44, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_45, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_46, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_47, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_48, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_49, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_50, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_51, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_52, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_53, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_54, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_55, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_56, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_57, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_44, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -54,13 +813,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_39, + SpanId: Id_58, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_45, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,23 +840,17 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_39, + SpanId: Id_59, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_9, - Error: 1, + ParentId: Id_46, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -114,13 +867,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_39, + SpanId: Id_60, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -141,23 +894,17 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_39, + SpanId: Id_61, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, - Error: 1, + ParentId: Id_48, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -174,13 +921,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_39, + SpanId: Id_62, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_49, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -201,13 +948,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_39, + SpanId: Id_63, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_50, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -228,13 +975,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_18, + TraceId: Id_39, + SpanId: Id_64, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_19, + ParentId: Id_51, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -255,13 +1002,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_39, + SpanId: Id_65, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_52, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -282,17 +1029,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_39, + SpanId: Id_66, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_53, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -309,13 +1062,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_24, + TraceId: Id_39, + SpanId: Id_67, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_25, + ParentId: Id_54, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -336,17 +1089,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_39, + SpanId: Id_68, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_27, + ParentId: Id_55, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -363,20 +1122,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: internal, - Resource: WebClient, + TraceId: Id_39, + SpanId: Id_69, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_56, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt index aa873ea4d08d..2056547c0767 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt @@ -2,11 +2,407 @@ { TraceId: Id_1, SpanId: Id_2, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: internal, + Resource: WebClient, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, + runtime-id: Guid_1, + span.kind: internal, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_11, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_12, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_13, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_14, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_15, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_16, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_17, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_18, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_19, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_20, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_21, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_22, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_23, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_24, Name: http.server.request, Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_3, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -27,13 +423,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_9, + SpanId: Id_25, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_12, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -54,13 +450,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_9, + SpanId: Id_26, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,13 +477,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_9, + SpanId: Id_27, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_9, + ParentId: Id_14, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -108,13 +504,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_9, + SpanId: Id_28, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_15, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -135,13 +531,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_9, + SpanId: Id_29, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_16, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -162,13 +558,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_9, + SpanId: Id_30, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_17, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -189,13 +585,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_9, + SpanId: Id_31, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_18, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -216,10 +612,10 @@ } }, { - TraceId: Id_1, - SpanId: Id_18, + TraceId: Id_9, + SpanId: Id_32, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, ParentId: Id_19, @@ -243,13 +639,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_9, + SpanId: Id_33, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_20, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -270,13 +666,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_9, + SpanId: Id_34, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_21, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -297,13 +693,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_24, + TraceId: Id_9, + SpanId: Id_35, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_25, + ParentId: Id_22, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -324,13 +720,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_9, + SpanId: Id_36, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_27, + ParentId: Id_23, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -351,27 +747,185 @@ } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: internal, - Resource: WebClient, + TraceId: Id_9, + SpanId: Id_37, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: custom, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_38, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_39, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_40, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_27, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_41, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_28, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_42, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_29, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_43, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_44, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_31, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_45, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_46, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_33, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_47, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_48, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_49, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_35, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_50, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_36, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, - runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt index 2c0ab3692cd6..3aaff22614cf 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt @@ -2,11 +2,407 @@ { TraceId: Id_1, SpanId: Id_2, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: internal, + Resource: WebClient, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, + runtime-id: Guid_1, + span.kind: internal, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_11, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_12, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_13, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_14, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_15, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_16, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_17, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_18, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_19, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_20, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_21, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_22, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_23, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_10, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_9, + SpanId: Id_24, Name: http.server.request, Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_3, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -27,13 +423,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_9, + SpanId: Id_25, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_12, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -54,13 +450,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_9, + SpanId: Id_26, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,13 +477,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_9, + SpanId: Id_27, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_9, + ParentId: Id_14, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -108,13 +504,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_9, + SpanId: Id_28, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_15, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -135,13 +531,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_9, + SpanId: Id_29, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_16, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -162,13 +558,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_9, + SpanId: Id_30, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_17, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -189,13 +585,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_9, + SpanId: Id_31, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_18, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -216,10 +612,10 @@ } }, { - TraceId: Id_1, - SpanId: Id_18, + TraceId: Id_9, + SpanId: Id_32, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, ParentId: Id_19, @@ -243,13 +639,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_9, + SpanId: Id_33, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_20, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -270,13 +666,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_9, + SpanId: Id_34, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_21, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -297,13 +693,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_24, + TraceId: Id_9, + SpanId: Id_35, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_25, + ParentId: Id_22, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -324,13 +720,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_9, + SpanId: Id_36, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_27, + ParentId: Id_23, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -351,27 +747,185 @@ } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: internal, - Resource: WebClient, + TraceId: Id_9, + SpanId: Id_37, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: custom, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_38, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_39, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_40, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_27, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_41, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_28, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_42, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_29, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_43, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_44, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_31, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_45, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_46, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_33, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_47, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_48, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_49, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_35, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_50, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_36, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, - runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index d0959ddc3978..28ccbfae80e3 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,21 +2,13 @@ { TraceId: Id_1, SpanId: Id_2, - Name: http.server.request, - Resource: /WcfSample/123,123/CalculatorService, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_3, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -27,13 +19,656 @@ } }, { - TraceId: Id_1, + TraceId: Id_3, SpanId: Id_4, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_15, + SpanId: Id_16, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_17, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_21, + SpanId: Id_22, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_23, + SpanId: Id_24, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_25, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_31, + SpanId: Id_32, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_33, + SpanId: Id_34, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_35, + SpanId: Id_36, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_38, + Name: internal, + Resource: WebClient, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, + runtime-id: Guid_1, + span.kind: internal, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_39, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_40, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_41, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_42, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_43, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_44, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_45, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_46, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_47, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_48, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_49, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_50, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_51, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_52, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_39, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -54,13 +689,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_37, + SpanId: Id_53, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_40, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,23 +716,17 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_37, + SpanId: Id_54, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_9, - Error: 1, + ParentId: Id_41, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -114,13 +743,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_37, + SpanId: Id_55, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_42, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -141,23 +770,17 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_37, + SpanId: Id_56, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, - Error: 1, + ParentId: Id_43, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -174,13 +797,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_37, + SpanId: Id_57, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_44, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -201,13 +824,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_37, + SpanId: Id_58, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_45, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -228,13 +851,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_18, + TraceId: Id_37, + SpanId: Id_59, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_19, + ParentId: Id_46, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -255,13 +878,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_37, + SpanId: Id_60, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -282,17 +905,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_37, + SpanId: Id_61, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_48, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -309,13 +938,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_24, + TraceId: Id_37, + SpanId: Id_62, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_25, + ParentId: Id_49, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -336,17 +965,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_37, + SpanId: Id_63, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_27, + ParentId: Id_50, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -363,20 +998,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: internal, - Resource: WebClient, + TraceId: Id_37, + SpanId: Id_64, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_51, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 5bb38a3ad1ee..b87dabcda242 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,21 +2,13 @@ { TraceId: Id_1, SpanId: Id_2, - Name: http.server.request, - Resource: /WcfSample/?/CalculatorService, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_3, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -27,13 +19,656 @@ } }, { - TraceId: Id_1, + TraceId: Id_3, SpanId: Id_4, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_15, + SpanId: Id_16, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_17, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_21, + SpanId: Id_22, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_23, + SpanId: Id_24, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_25, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_31, + SpanId: Id_32, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_33, + SpanId: Id_34, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_35, + SpanId: Id_36, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_38, + Name: internal, + Resource: WebClient, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, + runtime-id: Guid_1, + span.kind: internal, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_39, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_40, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_41, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_42, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_43, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_44, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_45, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_46, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_47, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_48, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_49, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_50, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_51, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_38, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_37, + SpanId: Id_52, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_39, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -54,13 +689,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_37, + SpanId: Id_53, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_40, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,23 +716,17 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_37, + SpanId: Id_54, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_9, - Error: 1, + ParentId: Id_41, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -114,13 +743,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_37, + SpanId: Id_55, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_42, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -141,23 +770,17 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_37, + SpanId: Id_56, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, - Error: 1, + ParentId: Id_43, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -174,13 +797,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_37, + SpanId: Id_57, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_44, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -201,13 +824,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_37, + SpanId: Id_58, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_45, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -228,13 +851,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_18, + TraceId: Id_37, + SpanId: Id_59, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_19, + ParentId: Id_46, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -255,13 +878,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_37, + SpanId: Id_60, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -282,17 +905,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_37, + SpanId: Id_61, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_48, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -309,13 +938,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_24, + TraceId: Id_37, + SpanId: Id_62, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_25, + ParentId: Id_49, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -336,17 +965,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_37, + SpanId: Id_63, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_27, + ParentId: Id_50, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -363,20 +998,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: internal, - Resource: WebClient, + TraceId: Id_37, + SpanId: Id_64, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_51, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=Custom_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=Custom_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 29afb5ef8336..52f49eefcfc9 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=Custom_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=Custom_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -22,5 +22,356 @@ _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_1, + SpanId: Id_3, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.GetResponse(), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_4, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.GetResponse(), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_5, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_6, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_7, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.GetResponse(), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_8, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_9, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_10, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.GetResponse(), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_11, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_12, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_13, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_14, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_15, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt index a500d8dadf05..272af0043dec 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt @@ -2,6 +2,82 @@ { TraceId: Id_1, SpanId: Id_2, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -11,8 +87,8 @@ language: dotnet, otel.library.name: Samples.Wcf, otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, + otel.trace_id: Guid_2, + runtime-id: Guid_1, span.kind: internal, version: 1.0.0 }, @@ -24,20 +100,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_3, + TraceId: Id_9, + SpanId: Id_11, Name: http.server.request, Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -49,20 +125,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_9, + SpanId: Id_12, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -74,20 +150,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_5, + TraceId: Id_9, + SpanId: Id_13, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -99,20 +175,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_9, + SpanId: Id_14, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -124,20 +200,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_9, + SpanId: Id_15, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -149,20 +225,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_9, + SpanId: Id_16, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -174,20 +250,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_9, + TraceId: Id_9, + SpanId: Id_17, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -199,20 +275,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_9, + SpanId: Id_18, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -224,20 +300,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, + TraceId: Id_9, + SpanId: Id_19, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -249,20 +325,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_9, + SpanId: Id_20, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -274,20 +350,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_13, + TraceId: Id_9, + SpanId: Id_21, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -299,20 +375,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_9, + SpanId: Id_22, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -324,20 +400,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_9, + SpanId: Id_23, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -347,5 +423,187 @@ _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_9, + SpanId: Id_24, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_11, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_25, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_12, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_13, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_27, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_14, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_28, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_15, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_29, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_30, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_17, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_31, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_18, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_32, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_19, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_33, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_34, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_21, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_35, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_21, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_36, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_22, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_37, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_23, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt index d2f7a430d8fe..4e345835d914 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt @@ -2,6 +2,82 @@ { TraceId: Id_1, SpanId: Id_2, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -11,8 +87,8 @@ language: dotnet, otel.library.name: Samples.Wcf, otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, + otel.trace_id: Guid_2, + runtime-id: Guid_1, span.kind: internal, version: 1.0.0 }, @@ -24,20 +100,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_3, + TraceId: Id_9, + SpanId: Id_11, Name: http.server.request, Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -49,20 +125,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_9, + SpanId: Id_12, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -74,20 +150,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_5, + TraceId: Id_9, + SpanId: Id_13, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -99,20 +175,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_9, + SpanId: Id_14, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -124,20 +200,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_9, + SpanId: Id_15, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -149,20 +225,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_9, + SpanId: Id_16, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -174,20 +250,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_9, + TraceId: Id_9, + SpanId: Id_17, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -199,20 +275,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_9, + SpanId: Id_18, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -224,20 +300,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, + TraceId: Id_9, + SpanId: Id_19, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -249,20 +325,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_9, + SpanId: Id_20, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -274,20 +350,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_13, + TraceId: Id_9, + SpanId: Id_21, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -299,20 +375,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_9, + SpanId: Id_22, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -324,20 +400,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_9, + SpanId: Id_23, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -347,5 +423,187 @@ _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_9, + SpanId: Id_24, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_11, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_25, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_12, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_13, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_27, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_14, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_28, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_15, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_29, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_30, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_17, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_31, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_18, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_32, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_19, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_33, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_34, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_21, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_35, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_21, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_36, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_22, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_37, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_23, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index 743acfabd15d..de4de0cb8b42 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,6 +2,348 @@ { TraceId: Id_1, SpanId: Id_2, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_15, + SpanId: Id_16, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_17, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_21, + SpanId: Id_22, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_23, + SpanId: Id_24, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_25, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_31, + SpanId: Id_32, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_33, + SpanId: Id_34, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_35, + SpanId: Id_36, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_38, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -11,8 +353,8 @@ language: dotnet, otel.library.name: Samples.Wcf, otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, + otel.trace_id: Guid_2, + runtime-id: Guid_1, span.kind: internal, version: 1.0.0 }, @@ -24,20 +366,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_3, + TraceId: Id_37, + SpanId: Id_39, Name: http.server.request, Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -49,20 +391,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_37, + SpanId: Id_40, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -74,20 +416,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_5, + TraceId: Id_37, + SpanId: Id_41, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -99,20 +441,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_37, + SpanId: Id_42, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -124,20 +466,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_37, + SpanId: Id_43, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -149,20 +491,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_37, + SpanId: Id_44, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -174,20 +516,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_9, + TraceId: Id_37, + SpanId: Id_45, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -199,20 +541,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_37, + SpanId: Id_46, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -224,20 +566,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, + TraceId: Id_37, + SpanId: Id_47, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -249,13 +591,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_37, + SpanId: Id_48, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Error: 1, Tags: { component: Wcf, @@ -268,7 +610,7 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -280,20 +622,20 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_13, + TraceId: Id_37, + SpanId: Id_49, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -305,13 +647,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_37, + SpanId: Id_50, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Error: 1, Tags: { component: Wcf, @@ -324,7 +666,7 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -336,20 +678,20 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_37, + SpanId: Id_51, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 12cb4da7b868..f0081b038f6c 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,6 +2,348 @@ { TraceId: Id_1, SpanId: Id_2, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_15, + SpanId: Id_16, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_17, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_21, + SpanId: Id_22, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_23, + SpanId: Id_24, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_25, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_31, + SpanId: Id_32, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_33, + SpanId: Id_34, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_35, + SpanId: Id_36, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_38, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -11,8 +353,8 @@ language: dotnet, otel.library.name: Samples.Wcf, otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, + otel.trace_id: Guid_2, + runtime-id: Guid_1, span.kind: internal, version: 1.0.0 }, @@ -24,20 +366,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_3, + TraceId: Id_37, + SpanId: Id_39, Name: http.server.request, Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -49,20 +391,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_37, + SpanId: Id_40, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -74,20 +416,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_5, + TraceId: Id_37, + SpanId: Id_41, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -99,20 +441,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_37, + SpanId: Id_42, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -124,20 +466,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_37, + SpanId: Id_43, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -149,20 +491,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_37, + SpanId: Id_44, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -174,20 +516,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_9, + TraceId: Id_37, + SpanId: Id_45, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -199,20 +541,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_37, + SpanId: Id_46, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -224,20 +566,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, + TraceId: Id_37, + SpanId: Id_47, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -249,13 +591,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_37, + SpanId: Id_48, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Error: 1, Tags: { component: Wcf, @@ -268,7 +610,7 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -280,20 +622,20 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_13, + TraceId: Id_37, + SpanId: Id_49, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -305,13 +647,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_37, + SpanId: Id_50, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Error: 1, Tags: { component: Wcf, @@ -324,7 +666,7 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -336,20 +678,20 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_37, + SpanId: Id_51, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt index aa873ea4d08d..5debf1ce02ef 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt @@ -2,21 +2,122 @@ { TraceId: Id_1, SpanId: Id_2, - Name: http.server.request, - Resource: /WcfSample/123,123/CalculatorService, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_3, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + Tags: { + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, + peer.service: localhost, runtime-id: Guid_1, - span.kind: server, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: internal, + Resource: WebClient, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, + runtime-id: Guid_1, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -27,13 +128,375 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_11, + SpanId: Id_13, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_14, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_15, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_16, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_17, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_18, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_19, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_20, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_21, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_22, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_23, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_24, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_25, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_26, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_27, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_28, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_29, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_16, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -54,13 +517,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_11, + SpanId: Id_30, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_17, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,13 +544,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_11, + SpanId: Id_31, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_9, + ParentId: Id_18, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -108,13 +571,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_11, + SpanId: Id_32, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_19, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -135,13 +598,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_11, + SpanId: Id_33, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_20, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -162,13 +625,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_11, + SpanId: Id_34, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_21, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -189,13 +652,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_11, + SpanId: Id_35, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_22, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -216,13 +679,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_18, + TraceId: Id_11, + SpanId: Id_36, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_19, + ParentId: Id_23, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -243,13 +706,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_11, + SpanId: Id_37, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_24, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -270,13 +733,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_11, + SpanId: Id_38, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_25, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -297,13 +760,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_24, + TraceId: Id_11, + SpanId: Id_39, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_25, + ParentId: Id_26, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -324,10 +787,10 @@ } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_11, + SpanId: Id_40, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, ParentId: Id_27, @@ -351,20 +814,23 @@ } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: internal, - Resource: WebClient, + TraceId: Id_11, + SpanId: Id_41, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_28, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -373,5 +839,187 @@ _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_11, + SpanId: Id_42, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_29, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_43, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_44, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_31, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_45, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_46, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_33, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_47, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_48, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_35, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_49, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_36, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_50, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_37, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_51, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_38, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_52, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_39, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_53, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_39, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_54, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_40, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_55, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_41, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt index 2c0ab3692cd6..ebede95ac793 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt @@ -2,21 +2,122 @@ { TraceId: Id_1, SpanId: Id_2, - Name: http.server.request, - Resource: /WcfSample/?/CalculatorService, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_3, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + Tags: { + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, + peer.service: localhost, runtime-id: Guid_1, - span.kind: server, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: internal, + Resource: WebClient, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, + runtime-id: Guid_1, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -27,13 +128,375 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_11, + SpanId: Id_13, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_14, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_15, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_16, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_17, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_18, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_19, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_20, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_21, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_22, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_23, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_24, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_25, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_26, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_27, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_28, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_29, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_16, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -54,13 +517,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_11, + SpanId: Id_30, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_17, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,13 +544,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_11, + SpanId: Id_31, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_9, + ParentId: Id_18, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -108,13 +571,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_11, + SpanId: Id_32, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_19, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -135,13 +598,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_11, + SpanId: Id_33, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_20, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -162,13 +625,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_11, + SpanId: Id_34, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_21, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -189,13 +652,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_11, + SpanId: Id_35, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_22, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -216,13 +679,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_18, + TraceId: Id_11, + SpanId: Id_36, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_19, + ParentId: Id_23, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -243,13 +706,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_11, + SpanId: Id_37, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_24, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -270,13 +733,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_11, + SpanId: Id_38, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_25, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -297,13 +760,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_24, + TraceId: Id_11, + SpanId: Id_39, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_25, + ParentId: Id_26, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -324,10 +787,10 @@ } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_11, + SpanId: Id_40, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, ParentId: Id_27, @@ -351,20 +814,23 @@ } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: internal, - Resource: WebClient, + TraceId: Id_11, + SpanId: Id_41, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_28, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -373,5 +839,187 @@ _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_11, + SpanId: Id_42, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_29, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_43, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_44, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_31, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_45, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_46, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_33, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_47, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_48, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_35, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_49, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_36, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_50, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_37, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_51, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_38, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_52, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_39, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_53, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_39, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_54, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_40, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_55, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_41, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index d0959ddc3978..638b979da269 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,21 +2,388 @@ { TraceId: Id_1, SpanId: Id_2, - Name: http.server.request, - Resource: /WcfSample/123,123/CalculatorService, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_15, + SpanId: Id_16, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_17, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_21, + SpanId: Id_22, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_23, + SpanId: Id_24, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + runtime-id: Guid_1, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_25, + SpanId: Id_26, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_31, + SpanId: Id_32, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_33, + SpanId: Id_34, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_35, + SpanId: Id_36, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_38, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_40, + Name: internal, + Resource: WebClient, Service: Samples.Wcf, - Type: web, - ParentId: Id_3, + Type: custom, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: server, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -27,13 +394,375 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_39, + SpanId: Id_41, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_42, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_43, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_44, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_45, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_46, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_47, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_48, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_49, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_50, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_51, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_52, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_53, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_54, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_55, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_56, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_57, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_44, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -54,13 +783,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_39, + SpanId: Id_58, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_45, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,23 +810,17 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_39, + SpanId: Id_59, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_9, - Error: 1, + ParentId: Id_46, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -114,13 +837,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_39, + SpanId: Id_60, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -141,23 +864,17 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_39, + SpanId: Id_61, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, - Error: 1, + ParentId: Id_48, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -174,13 +891,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_39, + SpanId: Id_62, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_49, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -201,13 +918,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_39, + SpanId: Id_63, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_50, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -228,13 +945,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_18, + TraceId: Id_39, + SpanId: Id_64, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_19, + ParentId: Id_51, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -255,13 +972,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_39, + SpanId: Id_65, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_52, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -282,17 +999,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_39, + SpanId: Id_66, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_53, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -309,13 +1032,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_24, + TraceId: Id_39, + SpanId: Id_67, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_25, + ParentId: Id_54, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -336,17 +1059,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_39, + SpanId: Id_68, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_27, + ParentId: Id_55, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -363,20 +1092,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: internal, - Resource: WebClient, + TraceId: Id_39, + SpanId: Id_69, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_56, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 5bb38a3ad1ee..853273c3e56d 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,21 +2,388 @@ { TraceId: Id_1, SpanId: Id_2, - Name: http.server.request, - Resource: /WcfSample/?/CalculatorService, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_4, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_6, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_9, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_15, + SpanId: Id_16, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_17, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_21, + SpanId: Id_22, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_23, + SpanId: Id_24, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + runtime-id: Guid_1, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_25, + SpanId: Id_26, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_31, + SpanId: Id_32, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_33, + SpanId: Id_34, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_35, + SpanId: Id_36, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_38, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_40, + Name: internal, + Resource: WebClient, Service: Samples.Wcf, - Type: web, - ParentId: Id_3, + Type: custom, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: server, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -27,13 +394,375 @@ } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_39, + SpanId: Id_41, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_42, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_43, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_44, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_45, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_46, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_47, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_48, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_49, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_50, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_51, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_52, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_53, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_54, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_55, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, + http.method: POST, + http.status_code: 500, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_56, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_40, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_39, + SpanId: Id_57, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_44, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -54,13 +783,13 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_39, + SpanId: Id_58, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_45, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -81,23 +810,17 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_39, + SpanId: Id_59, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_9, - Error: 1, + ParentId: Id_46, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -114,13 +837,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_39, + SpanId: Id_60, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -141,23 +864,17 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_39, + SpanId: Id_61, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, - Error: 1, + ParentId: Id_48, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -174,13 +891,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_39, + SpanId: Id_62, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_49, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -201,13 +918,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_39, + SpanId: Id_63, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_50, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -228,13 +945,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_18, + TraceId: Id_39, + SpanId: Id_64, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_19, + ParentId: Id_51, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -255,13 +972,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_39, + SpanId: Id_65, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_52, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -282,17 +999,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_39, + SpanId: Id_66, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_53, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -309,13 +1032,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_24, + TraceId: Id_39, + SpanId: Id_67, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_25, + ParentId: Id_54, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -336,17 +1059,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_39, + SpanId: Id_68, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_27, + ParentId: Id_55, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, @@ -363,20 +1092,23 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: internal, - Resource: WebClient, + TraceId: Id_39, + SpanId: Id_69, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_56, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { diff --git a/tracer/test/test-applications/integrations/Samples.Wcf/Server/CalculatorService.cs b/tracer/test/test-applications/integrations/Samples.Wcf/Server/CalculatorService.cs index abf580ca261d..811fccb0bbd9 100644 --- a/tracer/test/test-applications/integrations/Samples.Wcf/Server/CalculatorService.cs +++ b/tracer/test/test-applications/integrations/Samples.Wcf/Server/CalculatorService.cs @@ -10,6 +10,7 @@ public class CalculatorService : ICalculator public double ServerSyncAdd(double n1, double n2) { LoggingHelper.WriteLineWithDate($"[Server] Received ServerSyncAdd({n1},{n2})"); + using var scope = SampleHelpers.CreateScope("ServerSyncAdd"); Thread.Sleep(1); @@ -22,6 +23,7 @@ public double ServerSyncAdd(double n1, double n2) public async Task ServerTaskAdd(double n1, double n2) { LoggingHelper.WriteLineWithDate($"[Server] Received ServerTaskAdd({n1},{n2})"); + using var scope = SampleHelpers.CreateScope("ServerTaskAdd"); double result = await PerformAddWithDelay(n1, n2); LoggingHelper.WriteLineWithDate($"[Server] Return: {result}"); return result; @@ -30,6 +32,7 @@ public async Task ServerTaskAdd(double n1, double n2) public IAsyncResult BeginServerAsyncAdd(double n1, double n2, bool throwsException, bool synchronouslyCompletes, AsyncCallback callback, object state) { LoggingHelper.WriteLineWithDate($"[Server] Received BeginServerAsyncAdd({n1},{n2},{throwsException},{synchronouslyCompletes})"); + using var scope = SampleHelpers.CreateScope("BeginServerAsyncAdd"); Thread.Sleep(1); @@ -62,6 +65,7 @@ public IAsyncResult BeginServerAsyncAdd(double n1, double n2, bool throwsExcepti public double EndServerAsyncAdd(IAsyncResult asyncResult) { LoggingHelper.WriteLineWithDate("[Server] Received EndServerAsyncAdd(asyncResult)"); + using var scope = SampleHelpers.CreateScope("EndServerAsyncAdd"); LoggingHelper.WriteLineWithDate($"[Server] Return: {asyncResult}"); Thread.Sleep(1); @@ -85,6 +89,8 @@ private async Task PerformAddWithDelay(double n1, double n2) public double ServerEmptyActionAdd(double n1, double n2) { LoggingHelper.WriteLineWithDate($"[Server] Received ServerEmptyActionAdd({n1}, {n2})"); + using var scope = SampleHelpers.CreateScope("ServerEmptyActionAdd"); + double result = n1 + n2; Thread.Sleep(1); diff --git a/tracer/test/test-applications/integrations/Samples.Wcf/Server/HttpCalculator.cs b/tracer/test/test-applications/integrations/Samples.Wcf/Server/HttpCalculator.cs index 170ecbbd3521..10c6a76d4068 100644 --- a/tracer/test/test-applications/integrations/Samples.Wcf/Server/HttpCalculator.cs +++ b/tracer/test/test-applications/integrations/Samples.Wcf/Server/HttpCalculator.cs @@ -20,6 +20,7 @@ public async Task ServerTaskAddPost(CalculatorArguments arguments) private static double GetResult(string n1, string n2, [CallerMemberName] string member = null) { LoggingHelper.WriteLineWithDate($"[Server] Received {member}({n1},{n2})"); + using var scope = SampleHelpers.CreateScope(member); var result = double.Parse(n1) + double.Parse(n2); LoggingHelper.WriteLineWithDate($"[Server] Return {member}: {result}"); From 34f5a55b7f483462457295ab16869a30d03143ad Mon Sep 17 00:00:00 2001 From: Andrew Lock Date: Tue, 18 Nov 2025 15:15:28 +0000 Subject: [PATCH 2/6] nit: mark exceptions as nullable to satisfy nullable annotations --- .../AutoInstrumentation/Wcf/AfterReceiveRequestIntegration.cs | 2 +- .../Wcf/AsyncMethodInvoker_InvokeBegin_Integration.cs | 2 +- .../Wcf/AsyncMethodInvoker_InvokeEnd_Integration.cs | 2 +- .../AutoInstrumentation/Wcf/BeforeSendReplyIntegration.cs | 2 +- .../AutoInstrumentation/Wcf/ChannelHandlerIntegration.cs | 2 +- .../AutoInstrumentation/Wcf/SyncMethodInvokerIntegration.cs | 2 +- .../AutoInstrumentation/Wcf/TaskMethodInvokerIntegration.cs | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AfterReceiveRequestIntegration.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AfterReceiveRequestIntegration.cs index 70c270e60e40..b50d3926a39c 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AfterReceiveRequestIntegration.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AfterReceiveRequestIntegration.cs @@ -70,7 +70,7 @@ internal static CallTargetState OnMethodBegin(TTarget inst /// Exception instance in case the original code threw an exception. /// Calltarget state value /// A response value, in an async scenario will be T of Task of T - internal static CallTargetReturn OnMethodEnd(TTarget instance, Exception exception, in CallTargetState state) + internal static CallTargetReturn OnMethodEnd(TTarget instance, Exception? exception, in CallTargetState state) { // Add an exception and close the span only if there was an uncaught exception, // which should only happen if one of the IClientMessageInspector's has thrown an exception. diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AsyncMethodInvoker_InvokeBegin_Integration.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AsyncMethodInvoker_InvokeBegin_Integration.cs index 0ae54692abf4..cde068026174 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AsyncMethodInvoker_InvokeBegin_Integration.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AsyncMethodInvoker_InvokeBegin_Integration.cs @@ -29,7 +29,7 @@ namespace Datadog.Trace.ClrProfiler.AutoInstrumentation.Wcf [EditorBrowsable(EditorBrowsableState.Never)] public class AsyncMethodInvoker_InvokeBegin_Integration { - internal static CallTargetReturn OnMethodEnd(TTarget instance, TReturn returnValue, Exception exception, in CallTargetState state) + internal static CallTargetReturn OnMethodEnd(TTarget instance, TReturn returnValue, Exception? exception, in CallTargetState state) { if (exception is not null) { diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AsyncMethodInvoker_InvokeEnd_Integration.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AsyncMethodInvoker_InvokeEnd_Integration.cs index 283efc5aa108..81b4e8af9584 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AsyncMethodInvoker_InvokeEnd_Integration.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AsyncMethodInvoker_InvokeEnd_Integration.cs @@ -39,7 +39,7 @@ public class AsyncMethodInvoker_InvokeEnd_Integration /// Exception instance in case the original code threw an exception. /// Calltarget state value /// A response value, in an async scenario will be T of Task of T - internal static CallTargetReturn OnMethodEnd(TTarget instance, TReturn returnValue, Exception exception, in CallTargetState state) + internal static CallTargetReturn OnMethodEnd(TTarget instance, TReturn returnValue, Exception? exception, in CallTargetState state) { if (exception is not null) { diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/BeforeSendReplyIntegration.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/BeforeSendReplyIntegration.cs index ceb9c421eca3..0bfd991c35e0 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/BeforeSendReplyIntegration.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/BeforeSendReplyIntegration.cs @@ -65,7 +65,7 @@ internal static CallTargetState OnMethodBegin(TTarget inst /// Exception instance in case the original code threw an exception. /// Calltarget state value /// A response value, in an async scenario will be T of Task of T - internal static CallTargetReturn OnMethodEnd(TTarget instance, Exception exception, in CallTargetState state) + internal static CallTargetReturn OnMethodEnd(TTarget instance, Exception? exception, in CallTargetState state) { state.Scope.DisposeWithException(exception); return CallTargetReturn.GetDefault(); diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/ChannelHandlerIntegration.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/ChannelHandlerIntegration.cs index bcd28b3ed011..b44d16722c92 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/ChannelHandlerIntegration.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/ChannelHandlerIntegration.cs @@ -63,7 +63,7 @@ internal static CallTargetState OnMethodBeginException instance in case the original code threw an exception. /// Calltarget state value /// A response value, in an async scenario will be T of Task of T - internal static CallTargetReturn OnMethodEnd(TTarget instance, TReturn returnValue, Exception exception, in CallTargetState state) + internal static CallTargetReturn OnMethodEnd(TTarget instance, TReturn returnValue, Exception? exception, in CallTargetState state) { state.Scope.DisposeWithException(exception); return new CallTargetReturn(returnValue); diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/SyncMethodInvokerIntegration.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/SyncMethodInvokerIntegration.cs index 2f1694816b57..359b1d3ca31a 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/SyncMethodInvokerIntegration.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/SyncMethodInvokerIntegration.cs @@ -58,7 +58,7 @@ internal static CallTargetState OnMethodBegin(TTarget instance, object /// Exception instance in case the original code threw an exception. /// Calltarget state value /// A response value, in an async scenario will be T of Task of T - internal static CallTargetReturn OnMethodEnd(TTarget instance, TReturn returnValue, Exception exception, in CallTargetState state) + internal static CallTargetReturn OnMethodEnd(TTarget instance, TReturn returnValue, Exception? exception, in CallTargetState state) { if (state.Scope is not null && exception is not null) { diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/TaskMethodInvokerIntegration.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/TaskMethodInvokerIntegration.cs index 14c34114c56f..74e6be0622d8 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/TaskMethodInvokerIntegration.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/TaskMethodInvokerIntegration.cs @@ -58,7 +58,7 @@ internal static CallTargetState OnMethodBegin(TTarget instance, object /// Exception instance in case the original code threw an exception. /// Calltarget state value /// A response value, in an async scenario will be T of Task of T - internal static TResponse OnAsyncMethodEnd(TTarget instance, TResponse returnValue, Exception exception, in CallTargetState state) + internal static TResponse OnAsyncMethodEnd(TTarget instance, TResponse returnValue, Exception? exception, in CallTargetState state) { if (state.Scope is not null && exception is not null) { From d420d35f80db4434f7c079a55267101929dbb823 Mon Sep 17 00:00:00 2001 From: Andrew Lock Date: Wed, 19 Nov 2025 13:54:11 +0000 Subject: [PATCH 3/6] Ensure we restore the ambient span before executing service body --- .../Wcf/AfterReceiveRequestIntegration.cs | 15 ++---- ...ncMethodInvoker_InvokeBegin_Integration.cs | 31 ++++++------ ...syncMethodInvoker_InvokeEnd_Integration.cs | 33 +++++++------ .../Wcf/BeforeSendReplyIntegration.cs | 2 +- .../Wcf/IRequestContext.cs | 4 +- .../Wcf/SyncMethodInvokerIntegration.cs | 9 ++-- .../Wcf/TaskMethodInvokerIntegration.cs | 10 ++-- .../AutoInstrumentation/Wcf/WcfCommon.cs | 48 ++++++++++++++++++- 8 files changed, 96 insertions(+), 56 deletions(-) diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AfterReceiveRequestIntegration.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AfterReceiveRequestIntegration.cs index b50d3926a39c..58c1e131e7c6 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AfterReceiveRequestIntegration.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AfterReceiveRequestIntegration.cs @@ -80,17 +80,10 @@ internal static CallTargetReturn OnMethodEnd(TTarget instance, Exceptio state.Scope.DisposeWithException(exception); } - if (state.Scope != null) - { - // OnMethodBegin started an active span that can be accessed by IDispatchMessageInspector's and the actual WCF endpoint - // Before returning, we must reset the scope to the previous active scope, so that callers of this method do not see this scope - // Don't worry, this will be accessed and closed by the BeforeSendReplyIntegration - if (Tracer.Instance.ScopeManager is IScopeRawAccess rawAccess) - { - rawAccess.Active = state.PreviousScope; - DistributedTracer.Instance.SetSpanContext(state.PreviousDistributedSpanContext); - } - } + // OnMethodBegin started an active span that can be accessed by IDispatchMessageInspector's and the actual WCF endpoint + // Before returning, we must reset the scope to the previous active scope, so that callers of this method do not see this scope + // Don't worry, this will be accessed and closed by the BeforeSendReplyIntegration + WcfCommon.RestorePreviousScope(in state); return CallTargetReturn.GetDefault(); } diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AsyncMethodInvoker_InvokeBegin_Integration.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AsyncMethodInvoker_InvokeBegin_Integration.cs index cde068026174..e77ae6375314 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AsyncMethodInvoker_InvokeBegin_Integration.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AsyncMethodInvoker_InvokeBegin_Integration.cs @@ -9,7 +9,6 @@ using System; using System.ComponentModel; using Datadog.Trace.ClrProfiler.CallTarget; -using Datadog.Trace.DuckTyping; namespace Datadog.Trace.ClrProfiler.AutoInstrumentation.Wcf { @@ -29,27 +28,27 @@ namespace Datadog.Trace.ClrProfiler.AutoInstrumentation.Wcf [EditorBrowsable(EditorBrowsableState.Never)] public class AsyncMethodInvoker_InvokeBegin_Integration { - internal static CallTargetReturn OnMethodEnd(TTarget instance, TReturn returnValue, Exception? exception, in CallTargetState state) + internal static CallTargetState OnMethodBegin(TTarget instance, object? instanceArg, object[]? inputs, ref AsyncCallback? callback, object? state) { - if (exception is not null) + var tracer = Tracer.Instance; + if (!tracer.CurrentTraceSettings.Settings.IsIntegrationEnabled(WcfCommon.IntegrationId) || !tracer.Settings.DelayWcfInstrumentationEnabled || WcfCommon.GetCurrentOperationContext is null) { - var operationContext = WcfCommon.GetCurrentOperationContext?.Invoke(); + return CallTargetState.GetDefault(); + } - if (operationContext != null && operationContext.TryDuckCast(out var operationContextProxy)) - { - var requestContext = operationContextProxy.RequestContext; + return WcfCommon.ActivateScopeFromContext(); + } - // Retrieve the scope that we saved during InvokeBegin - if (((IDuckType?)requestContext)?.Instance is object requestContextInstance - && WcfCommon.Scopes.TryGetValue(requestContextInstance, out var scope)) - { - // Add the exception but do not dispose the span. - // BeforeSendReplyIntegration is responsible for closing the span. - scope.Span?.SetException(exception); - } - } + internal static CallTargetReturn OnMethodEnd(TTarget instance, TReturn returnValue, Exception? exception, in CallTargetState state) + { + if (state.Scope is not null && exception is not null) + { + // Add the exception but do not dispose the scope. + // BeforeSendReplyIntegration is responsible for closing the span. + state.Scope.Span.SetException(exception); } + WcfCommon.RestorePreviousScope(in state); return new CallTargetReturn(returnValue); } } diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AsyncMethodInvoker_InvokeEnd_Integration.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AsyncMethodInvoker_InvokeEnd_Integration.cs index 81b4e8af9584..10cde67d480c 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AsyncMethodInvoker_InvokeEnd_Integration.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/AsyncMethodInvoker_InvokeEnd_Integration.cs @@ -9,7 +9,6 @@ using System; using System.ComponentModel; using Datadog.Trace.ClrProfiler.CallTarget; -using Datadog.Trace.DuckTyping; namespace Datadog.Trace.ClrProfiler.AutoInstrumentation.Wcf { @@ -29,6 +28,17 @@ namespace Datadog.Trace.ClrProfiler.AutoInstrumentation.Wcf [EditorBrowsable(EditorBrowsableState.Never)] public class AsyncMethodInvoker_InvokeEnd_Integration { + internal static CallTargetState OnMethodBegin(TTarget instance, object? instanceArg, object[]? outputs, IAsyncResult? result) + { + var tracer = Tracer.Instance; + if (!tracer.CurrentTraceSettings.Settings.IsIntegrationEnabled(WcfCommon.IntegrationId) || !tracer.Settings.DelayWcfInstrumentationEnabled || WcfCommon.GetCurrentOperationContext is null) + { + return CallTargetState.GetDefault(); + } + + return WcfCommon.ActivateScopeFromContext(); + } + /// /// OnMethodEnd callback /// @@ -41,25 +51,14 @@ public class AsyncMethodInvoker_InvokeEnd_Integration /// A response value, in an async scenario will be T of Task of T internal static CallTargetReturn OnMethodEnd(TTarget instance, TReturn returnValue, Exception? exception, in CallTargetState state) { - if (exception is not null) + if (state.Scope is not null && exception is not null) { - var operationContext = WcfCommon.GetCurrentOperationContext?.Invoke(); - - if (operationContext != null && operationContext.TryDuckCast(out var operationContextProxy)) - { - var requestContext = operationContextProxy.RequestContext; - - // Retrieve the scope that we saved during InvokeBegin - if (((IDuckType?)requestContext)?.Instance is object requestContextInstance - && WcfCommon.Scopes.TryGetValue(requestContextInstance, out var scope)) - { - // Add the exception but do not dispose the span. - // BeforeSendReplyIntegration is responsible for closing the span. - scope.Span?.SetException(exception); - } - } + // Add the exception but do not dispose the scope. + // BeforeSendReplyIntegration is responsible for closing the span. + state.Scope.Span.SetException(exception); } + WcfCommon.RestorePreviousScope(in state); return new CallTargetReturn(returnValue); } } diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/BeforeSendReplyIntegration.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/BeforeSendReplyIntegration.cs index 0bfd991c35e0..7ff770be73d1 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/BeforeSendReplyIntegration.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/BeforeSendReplyIntegration.cs @@ -48,7 +48,7 @@ internal static CallTargetState OnMethodBegin(TTarget inst } var rpcProxy = rpc.DuckCast(); - if (((IDuckType?)rpcProxy.OperationContext.RequestContext)?.Instance is object requestContextInstance + if (rpcProxy.OperationContext.RequestContext?.Instance is { } requestContextInstance && WcfCommon.Scopes.TryGetValue(requestContextInstance, out var scope)) { return new CallTargetState(scope); diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/IRequestContext.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/IRequestContext.cs index 073690f294a3..aa4e6d6b47e0 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/IRequestContext.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/IRequestContext.cs @@ -5,12 +5,14 @@ #nullable enable +using Datadog.Trace.DuckTyping; + namespace Datadog.Trace.ClrProfiler.AutoInstrumentation.Wcf { /// /// System.ServiceModel.Channels.RequestContext interface for duck-typing /// - internal interface IRequestContext + internal interface IRequestContext : IDuckType { /// /// Gets the request message diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/SyncMethodInvokerIntegration.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/SyncMethodInvokerIntegration.cs index 359b1d3ca31a..cbe4710f248e 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/SyncMethodInvokerIntegration.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/SyncMethodInvokerIntegration.cs @@ -9,7 +9,6 @@ using System; using System.ComponentModel; using Datadog.Trace.ClrProfiler.CallTarget; -using Datadog.Trace.DuckTyping; namespace Datadog.Trace.ClrProfiler.AutoInstrumentation.Wcf { @@ -40,12 +39,13 @@ public class SyncMethodInvokerIntegration /// Calltarget state value internal static CallTargetState OnMethodBegin(TTarget instance, object instanceArg, object[] inputs, ref object[] outputs) { - if (!Tracer.Instance.CurrentTraceSettings.Settings.IsIntegrationEnabled(WcfCommon.IntegrationId) || !Tracer.Instance.Settings.DelayWcfInstrumentationEnabled || WcfCommon.GetCurrentOperationContext is null) + var tracer = Tracer.Instance; + if (!tracer.CurrentTraceSettings.Settings.IsIntegrationEnabled(WcfCommon.IntegrationId) || !tracer.Settings.DelayWcfInstrumentationEnabled || WcfCommon.GetCurrentOperationContext is null) { return CallTargetState.GetDefault(); } - return new CallTargetState(Tracer.Instance.ActiveScope as Scope); + return WcfCommon.ActivateScopeFromContext(); } /// @@ -64,9 +64,10 @@ internal static CallTargetReturn OnMethodEnd(TTarget { // Add the exception but do not dispose the scope. // BeforeSendReplyIntegration is responsible for closing the span. - state.Scope.Span?.SetException(exception); + state.Scope.Span.SetException(exception); } + WcfCommon.RestorePreviousScope(in state); return new CallTargetReturn(returnValue); } } diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/TaskMethodInvokerIntegration.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/TaskMethodInvokerIntegration.cs index 74e6be0622d8..b786da49c6ba 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/TaskMethodInvokerIntegration.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/TaskMethodInvokerIntegration.cs @@ -9,8 +9,6 @@ using System; using System.ComponentModel; using Datadog.Trace.ClrProfiler.CallTarget; -using Datadog.Trace.Configuration; -using Datadog.Trace.DuckTyping; namespace Datadog.Trace.ClrProfiler.AutoInstrumentation.Wcf { @@ -40,12 +38,13 @@ public class TaskMethodInvokerIntegration /// Calltarget state value internal static CallTargetState OnMethodBegin(TTarget instance, object instanceArg, object[] inputs) { - if (!Tracer.Instance.CurrentTraceSettings.Settings.IsIntegrationEnabled(WcfCommon.IntegrationId) || !Tracer.Instance.Settings.DelayWcfInstrumentationEnabled || WcfCommon.GetCurrentOperationContext is null) + var tracer = Tracer.Instance; + if (!tracer.CurrentTraceSettings.Settings.IsIntegrationEnabled(WcfCommon.IntegrationId) || !tracer.Settings.DelayWcfInstrumentationEnabled || WcfCommon.GetCurrentOperationContext is null) { return CallTargetState.GetDefault(); } - return new CallTargetState(Tracer.Instance.ActiveScope as Scope); + return WcfCommon.ActivateScopeFromContext(); } /// @@ -64,9 +63,10 @@ internal static TResponse OnAsyncMethodEnd(TTarget instance, { // Add the exception but do not dispose the scope. // BeforeSendReplyIntegration is responsible for closing the span. - state.Scope.Span?.SetException(exception); + state.Scope.Span.SetException(exception); } + WcfCommon.RestorePreviousScope(in state); return returnValue; } } diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/WcfCommon.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/WcfCommon.cs index 4dc8ce148d2a..6e2dc3469298 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/WcfCommon.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/WcfCommon.cs @@ -12,6 +12,7 @@ using System.Net; using System.Reflection; using System.Runtime.CompilerServices; +using Datadog.Trace.ClrProfiler.CallTarget; using Datadog.Trace.Configuration; using Datadog.Trace.DuckTyping; using Datadog.Trace.ExtensionMethods; @@ -77,7 +78,11 @@ internal class WcfCommon httpMethod = httpRequestPropertyProxy.Method?.ToUpperInvariant(); // try to extract propagated context values from http headers - if (tracer.ActiveScope == null) + if (tracer.ActiveScope is { } activeScope) + { + Log.Warning("Skipped extracting headers due to existing scope: {ActiveScope}", activeScope.Span); + } + else { try { @@ -216,6 +221,47 @@ internal class WcfCommon return null; } + + public static CallTargetState ActivateScopeFromContext() + { + // First, capture the active scope + var tracer = Tracer.Instance; + var activeScope = tracer.InternalActiveScope; + var spanContextRaw = DistributedTracer.Instance.GetSpanContextRaw() ?? activeScope?.Span?.Context; + + var operationContext = WcfCommon.GetCurrentOperationContext?.Invoke(); + if (operationContext != null && operationContext.TryDuckCast(out var operationContextProxy)) + { + var requestContext = operationContextProxy.RequestContext; + + // Retrieve the scope that we saved during InvokeBegin + if (requestContext?.Instance is { } requestContextInstance + && Scopes.TryGetValue(requestContextInstance, out var scope) + && scope is not null + && scope.Span.SpanId != activeScope?.Span?.SpanId) + { + Log.Debug("Activating scope from operation context {ActivatedSpan}", scope.Span); + tracer.ActivateSpan(scope.Span); + // Add the exception but do not dispose the span. + // BeforeSendReplyIntegration is responsible for closing the span. + return new CallTargetState(scope, activeScope, spanContextRaw); + } + } + + return CallTargetState.GetDefault(); + } + + public static void RestorePreviousScope(in CallTargetState state) + { + // Reset the scope to the previous active scope, so that callers of this method do not see this scope + // Don't worry, this will be accessed and closed by the BeforeSendReplyIntegration + if (state.Scope is not null && Tracer.Instance.ScopeManager is IScopeRawAccess rawAccess) + { + Log.Debug("Restoring previous scope from {Previous} to {Restored}", state.Scope.Span, state.PreviousScope?.Span); + rawAccess.Active = state.PreviousScope; + DistributedTracer.Instance.SetSpanContext(state.PreviousDistributedSpanContext); + } + } } } #endif From 8917c4cd415884bd2b511abd6305b4fedce6a8ea Mon Sep 17 00:00:00 2001 From: Andrew Lock Date: Wed, 19 Nov 2025 14:25:50 +0000 Subject: [PATCH 4/6] Update snapshots and tests --- .../WcfTests.cs | 28 +- .../WcfTests.WebHttp_v0.disabled.verified.txt | 196 ++-- .../WcfTests.WebHttp_v0.webHttp.verified.txt | 196 ++-- .../WcfTests.WebHttp_v1.webHttp.verified.txt | 188 ++-- ...ue_enableWcfObfuscation=False.verified.txt | 788 +++++++--------- ...rue_enableWcfObfuscation=True.verified.txt | 788 +++++++--------- ...ue_enableWcfObfuscation=False.verified.txt | 614 ++++++------- ...rue_enableWcfObfuscation=True.verified.txt | 614 ++++++------- ...se_enableWcfObfuscation=False.verified.txt | 158 +++- ...lse_enableWcfObfuscation=True.verified.txt | 158 +++- ...ue_enableWcfObfuscation=False.verified.txt | 852 +++++++++--------- ...rue_enableWcfObfuscation=True.verified.txt | 852 +++++++++--------- ...ue_enableWcfObfuscation=False.verified.txt | 762 +++++++--------- ...rue_enableWcfObfuscation=True.verified.txt | 762 +++++++--------- ...ue_enableWcfObfuscation=False.verified.txt | 614 ++++++------- ...rue_enableWcfObfuscation=True.verified.txt | 614 ++++++------- ...se_enableWcfObfuscation=False.verified.txt | 158 +++- ...lse_enableWcfObfuscation=True.verified.txt | 158 +++- ...ue_enableWcfObfuscation=False.verified.txt | 848 +++++++++-------- ...rue_enableWcfObfuscation=True.verified.txt | 848 +++++++++-------- 20 files changed, 4719 insertions(+), 5477 deletions(-) diff --git a/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/WcfTests.cs b/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/WcfTests.cs index 3f0d69d8fb51..cadab3602887 100644 --- a/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/WcfTests.cs +++ b/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/WcfTests.cs @@ -22,25 +22,22 @@ namespace Datadog.Trace.ClrProfiler.IntegrationTests public class WcfTests : TracingIntegrationTest { private const string ServiceVersion = "1.0.0"; - - private static readonly HashSet ExcludeTags = new HashSet - { - "custom-tag", - }; + private static readonly HashSet ExcludeTags = ["custom-tag"]; public WcfTests(ITestOutputHelper output) : base("Wcf", output) { SetServiceVersion(ServiceVersion); + EnvironmentHelper.DebugModeEnabled = true; } - public static string[] Bindings => new string[] - { + public static string[] Bindings => + [ "WSHttpBinding", "BasicHttpBinding", "NetTcpBinding", - "Custom", - }; + "Custom" + ]; public static IEnumerable GetData() { @@ -102,7 +99,7 @@ public async Task SubmitsTraces(string metadataSchemaVersion, string binding, bo "Custom" => 14, "NetTcpBinding" => 32, "BasicHttpBinding" => 45, - "WSHttpBinding" => 49, + "WSHttpBinding" => 52, _ => throw new InvalidOperationException("Unknown binding " + binding), }; @@ -112,12 +109,6 @@ public async Task SubmitsTraces(string metadataSchemaVersion, string binding, bo using (var agent = EnvironmentHelper.GetMockAgent()) using (await RunSampleAndWaitForExit(agent, arguments: $"{binding} Port={wcfPort}")) { - // Filter out WCF spans unrelated to the actual request handling, and filter them before returning spans - // so we can wait on the exact number of spans we expect. - agent.SpanFilters.Add(s => !s.Resource.Contains("schemas.xmlsoap.org") && !s.Resource.Contains("www.w3.org")); - - // The test adds a custom span to show that propagation works with WCF headers - // agent.SpanFilters.Add(s => s.Type == SpanTypes.Web || s.Type == SpanTypes.Custom); var spans = await agent.WaitForSpansAsync(expectedSpanCount); ValidateIntegrationSpans(spans.Where(s => s.Type == SpanTypes.Web), metadataSchemaVersion, expectedServiceName: "Samples.Wcf", isExternalSpan: false); @@ -155,11 +146,6 @@ public async Task WebHttp(string metadataSchemaVersion, bool enableNewWcfInstrum using var agent = EnvironmentHelper.GetMockAgent(); using (await RunSampleAndWaitForExit(agent, arguments: $"WebHttpBinding Port={wcfPort}")) { - // Filter out WCF spans unrelated to the actual request handling, and filter them before returning spans - // so we can wait on the exact number of spans we expect. - agent.SpanFilters.Add(s => !s.Resource.Contains("schemas.xmlsoap.org") && !s.Resource.Contains("www.w3.org")); - // The test adds a custom span to show that propagation works with WCF headers - // agent.SpanFilters.Add(s => s.Type == SpanTypes.Web || s.Type == SpanTypes.Custom); var spans = await agent.WaitForSpansAsync(expectedSpanCount); ValidateIntegrationSpans(spans.Where(s => s.Type == SpanTypes.Web), metadataSchemaVersion, expectedServiceName: "Samples.Wcf", isExternalSpan: false); diff --git a/tracer/test/snapshots/WcfTests.WebHttp_v0.disabled.verified.txt b/tracer/test/snapshots/WcfTests.WebHttp_v0.disabled.verified.txt index b65164c221a4..b347e4fd56b3 100644 --- a/tracer/test/snapshots/WcfTests.WebHttp_v0.disabled.verified.txt +++ b/tracer/test/snapshots/WcfTests.WebHttp_v0.disabled.verified.txt @@ -2,82 +2,6 @@ { TraceId: Id_1, SpanId: Id_2, - Name: ServerSyncAddJson, - Resource: ServerSyncAddJson, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_4, - Name: ServerSyncAddWrapped, - Resource: ServerSyncAddWrapped, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_5, - SpanId: Id_6, - Name: ServerSyncAddXml, - Resource: ServerSyncAddXml, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_7, - SpanId: Id_8, - Name: ServerTaskAddPost, - Resource: ServerTaskAddPost, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_9, - SpanId: Id_10, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -87,8 +11,8 @@ language: dotnet, otel.library.name: Samples.Wcf, otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, - runtime-id: Guid_1, + otel.trace_id: Guid_1, + runtime-id: Guid_2, span.kind: internal, version: 1.0.0 }, @@ -100,13 +24,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_11, + TraceId: Id_1, + SpanId: Id_3, Name: http.request, Resource: GET localhost:00000/ServerSyncAddJson/?/n2=2, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -115,7 +39,7 @@ http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -124,13 +48,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_12, + TraceId: Id_1, + SpanId: Id_4, Name: http.request, Resource: GET localhost:00000/ServerSyncAddXml/?/n2=2, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -139,7 +63,7 @@ http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -148,13 +72,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_13, + TraceId: Id_1, + SpanId: Id_5, Name: http.request, Resource: POST localhost:00000/ServerTaskAddPost, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -163,7 +87,7 @@ http.url: http://localhost:00000/ServerTaskAddPost, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -172,13 +96,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_14, + TraceId: Id_1, + SpanId: Id_6, Name: http.request, Resource: POST localhost:00000/ServerSyncAddWrapped, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -187,7 +111,7 @@ http.url: http://localhost:00000/ServerSyncAddWrapped, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -196,13 +120,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_15, + TraceId: Id_1, + SpanId: Id_7, Name: wcf.request, Resource: /ServerSyncAddJson/?/n2=2, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_3, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -211,7 +135,7 @@ http.request.headers.host: localhost:00000, http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -223,13 +147,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_16, + TraceId: Id_1, + SpanId: Id_8, Name: wcf.request, Resource: /ServerSyncAddXml/?/n2=2, Service: Samples.Wcf, Type: web, - ParentId: Id_12, + ParentId: Id_4, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -238,7 +162,7 @@ http.request.headers.host: localhost:00000, http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -250,13 +174,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_17, + TraceId: Id_1, + SpanId: Id_9, Name: wcf.request, Resource: /ServerTaskAddPost, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_5, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -265,7 +189,7 @@ http.request.headers.host: localhost:00000, http.url: http://localhost:00000/ServerTaskAddPost, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -277,13 +201,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_18, + TraceId: Id_1, + SpanId: Id_10, Name: wcf.request, Resource: /ServerSyncAddWrapped, Service: Samples.Wcf, Type: web, - ParentId: Id_14, + ParentId: Id_6, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -292,7 +216,7 @@ http.request.headers.host: localhost:00000, http.url: http://localhost:00000/ServerSyncAddWrapped, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -302,5 +226,57 @@ _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_1, + SpanId: Id_11, + Name: ServerSyncAddJson, + Resource: ServerSyncAddJson, + Service: Samples.Wcf, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_12, + Name: ServerSyncAddXml, + Resource: ServerSyncAddXml, + Service: Samples.Wcf, + ParentId: Id_8, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_13, + Name: ServerTaskAddPost, + Resource: ServerTaskAddPost, + Service: Samples.Wcf, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_14, + Name: ServerSyncAddWrapped, + Resource: ServerSyncAddWrapped, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.WebHttp_v0.webHttp.verified.txt b/tracer/test/snapshots/WcfTests.WebHttp_v0.webHttp.verified.txt index f011c0f7770b..d69f5f3603e0 100644 --- a/tracer/test/snapshots/WcfTests.WebHttp_v0.webHttp.verified.txt +++ b/tracer/test/snapshots/WcfTests.WebHttp_v0.webHttp.verified.txt @@ -2,82 +2,6 @@ { TraceId: Id_1, SpanId: Id_2, - Name: ServerSyncAddJson, - Resource: ServerSyncAddJson, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_4, - Name: ServerSyncAddWrapped, - Resource: ServerSyncAddWrapped, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_5, - SpanId: Id_6, - Name: ServerSyncAddXml, - Resource: ServerSyncAddXml, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_7, - SpanId: Id_8, - Name: ServerTaskAddPost, - Resource: ServerTaskAddPost, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_9, - SpanId: Id_10, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -87,8 +11,8 @@ language: dotnet, otel.library.name: Samples.Wcf, otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, - runtime-id: Guid_1, + otel.trace_id: Guid_1, + runtime-id: Guid_2, span.kind: internal, version: 1.0.0 }, @@ -100,13 +24,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_11, + TraceId: Id_1, + SpanId: Id_3, Name: http.request, Resource: GET localhost:00000/ServerSyncAddJson/?/n2=2, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -115,7 +39,7 @@ http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -124,13 +48,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_12, + TraceId: Id_1, + SpanId: Id_4, Name: http.request, Resource: GET localhost:00000/ServerSyncAddXml/?/n2=2, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -139,7 +63,7 @@ http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -148,13 +72,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_13, + TraceId: Id_1, + SpanId: Id_5, Name: http.request, Resource: POST localhost:00000/ServerTaskAddPost, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -163,7 +87,7 @@ http.url: http://localhost:00000/ServerTaskAddPost, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -172,13 +96,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_14, + TraceId: Id_1, + SpanId: Id_6, Name: http.request, Resource: POST localhost:00000/ServerSyncAddWrapped, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -187,7 +111,7 @@ http.url: http://localhost:00000/ServerSyncAddWrapped, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -196,13 +120,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_15, + TraceId: Id_1, + SpanId: Id_7, Name: wcf.request, Resource: GET /ServerSyncAddJson/{n1}/n2={n2}, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_3, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -211,7 +135,7 @@ http.request.headers.host: localhost:00000, http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -223,13 +147,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_16, + TraceId: Id_1, + SpanId: Id_8, Name: wcf.request, Resource: GET /ServerSyncAddXml/{n1}/n2={n2}, Service: Samples.Wcf, Type: web, - ParentId: Id_12, + ParentId: Id_4, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -238,7 +162,7 @@ http.request.headers.host: localhost:00000, http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -250,13 +174,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_17, + TraceId: Id_1, + SpanId: Id_9, Name: wcf.request, Resource: POST /ServerTaskAddPost, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_5, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -265,7 +189,7 @@ http.request.headers.host: localhost:00000, http.url: http://localhost:00000/ServerTaskAddPost, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -277,13 +201,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_18, + TraceId: Id_1, + SpanId: Id_10, Name: wcf.request, Resource: POST /ServerSyncAddWrapped, Service: Samples.Wcf, Type: web, - ParentId: Id_14, + ParentId: Id_6, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -292,7 +216,7 @@ http.request.headers.host: localhost:00000, http.url: http://localhost:00000/ServerSyncAddWrapped, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -302,5 +226,57 @@ _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_1, + SpanId: Id_11, + Name: ServerSyncAddJson, + Resource: ServerSyncAddJson, + Service: Samples.Wcf, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_12, + Name: ServerSyncAddXml, + Resource: ServerSyncAddXml, + Service: Samples.Wcf, + ParentId: Id_8, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_13, + Name: ServerTaskAddPost, + Resource: ServerTaskAddPost, + Service: Samples.Wcf, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_14, + Name: ServerSyncAddWrapped, + Resource: ServerSyncAddWrapped, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.WebHttp_v1.webHttp.verified.txt b/tracer/test/snapshots/WcfTests.WebHttp_v1.webHttp.verified.txt index 0c3d052ffcbf..cca558e304e6 100644 --- a/tracer/test/snapshots/WcfTests.WebHttp_v1.webHttp.verified.txt +++ b/tracer/test/snapshots/WcfTests.WebHttp_v1.webHttp.verified.txt @@ -2,82 +2,6 @@ { TraceId: Id_1, SpanId: Id_2, - Name: ServerSyncAddJson, - Resource: ServerSyncAddJson, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_4, - Name: ServerSyncAddWrapped, - Resource: ServerSyncAddWrapped, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_5, - SpanId: Id_6, - Name: ServerSyncAddXml, - Resource: ServerSyncAddXml, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_7, - SpanId: Id_8, - Name: ServerTaskAddPost, - Resource: ServerTaskAddPost, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_9, - SpanId: Id_10, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -87,8 +11,8 @@ language: dotnet, otel.library.name: Samples.Wcf, otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, - runtime-id: Guid_1, + otel.trace_id: Guid_1, + runtime-id: Guid_2, span.kind: internal, version: 1.0.0 }, @@ -100,13 +24,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_11, + TraceId: Id_1, + SpanId: Id_3, Name: http.client.request, Resource: GET localhost:00000/ServerSyncAddJson/?/n2=2, Service: Samples.Wcf, Type: http, - ParentId: Id_10, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -122,13 +46,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_12, + TraceId: Id_1, + SpanId: Id_4, Name: http.client.request, Resource: GET localhost:00000/ServerSyncAddXml/?/n2=2, Service: Samples.Wcf, Type: http, - ParentId: Id_10, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -144,13 +68,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_13, + TraceId: Id_1, + SpanId: Id_5, Name: http.client.request, Resource: POST localhost:00000/ServerTaskAddPost, Service: Samples.Wcf, Type: http, - ParentId: Id_10, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -166,13 +90,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_14, + TraceId: Id_1, + SpanId: Id_6, Name: http.client.request, Resource: POST localhost:00000/ServerSyncAddWrapped, Service: Samples.Wcf, Type: http, - ParentId: Id_10, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -188,13 +112,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_15, + TraceId: Id_1, + SpanId: Id_7, Name: http.server.request, Resource: GET /ServerSyncAddJson/{n1}/n2={n2}, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_3, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -203,7 +127,7 @@ http.request.headers.host: localhost:00000, http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -215,13 +139,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_16, + TraceId: Id_1, + SpanId: Id_8, Name: http.server.request, Resource: GET /ServerSyncAddXml/{n1}/n2={n2}, Service: Samples.Wcf, Type: web, - ParentId: Id_12, + ParentId: Id_4, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -230,7 +154,7 @@ http.request.headers.host: localhost:00000, http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -242,13 +166,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_17, + TraceId: Id_1, + SpanId: Id_9, Name: http.server.request, Resource: POST /ServerTaskAddPost, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_5, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -257,7 +181,7 @@ http.request.headers.host: localhost:00000, http.url: http://localhost:00000/ServerTaskAddPost, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -269,13 +193,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_18, + TraceId: Id_1, + SpanId: Id_10, Name: http.server.request, Resource: POST /ServerSyncAddWrapped, Service: Samples.Wcf, Type: web, - ParentId: Id_14, + ParentId: Id_6, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -284,7 +208,7 @@ http.request.headers.host: localhost:00000, http.url: http://localhost:00000/ServerSyncAddWrapped, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -294,5 +218,57 @@ _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_1, + SpanId: Id_11, + Name: ServerSyncAddJson, + Resource: ServerSyncAddJson, + Service: Samples.Wcf, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_12, + Name: ServerSyncAddXml, + Resource: ServerSyncAddXml, + Service: Samples.Wcf, + ParentId: Id_8, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_13, + Name: ServerTaskAddPost, + Resource: ServerTaskAddPost, + Service: Samples.Wcf, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_14, + Name: ServerSyncAddWrapped, + Resource: ServerSyncAddWrapped, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index 4a5bd8401e5a..9b76f7c7373d 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,348 +2,6 @@ { TraceId: Id_1, SpanId: Id_2, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_4, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_5, - SpanId: Id_6, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_7, - SpanId: Id_8, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_9, - SpanId: Id_10, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_12, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_13, - SpanId: Id_14, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_15, - SpanId: Id_16, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_17, - SpanId: Id_18, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_19, - SpanId: Id_20, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_21, - SpanId: Id_22, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_23, - SpanId: Id_24, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_25, - SpanId: Id_26, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_27, - SpanId: Id_28, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_29, - SpanId: Id_30, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_31, - SpanId: Id_32, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_33, - SpanId: Id_34, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_35, - SpanId: Id_36, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_37, - SpanId: Id_38, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -353,8 +11,8 @@ language: dotnet, otel.library.name: Samples.Wcf, otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, - runtime-id: Guid_1, + otel.trace_id: Guid_1, + runtime-id: Guid_2, span.kind: internal, version: 1.0.0 }, @@ -366,13 +24,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_39, + TraceId: Id_1, + SpanId: Id_3, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -381,7 +39,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -390,13 +48,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_40, + TraceId: Id_1, + SpanId: Id_4, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -405,7 +63,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -414,13 +72,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_41, + TraceId: Id_1, + SpanId: Id_5, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -429,7 +87,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -438,13 +96,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_42, + TraceId: Id_1, + SpanId: Id_6, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -453,7 +111,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -462,13 +120,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_43, + TraceId: Id_1, + SpanId: Id_7, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -477,7 +135,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -486,13 +144,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_44, + TraceId: Id_1, + SpanId: Id_8, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -501,7 +159,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -510,13 +168,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_45, + TraceId: Id_1, + SpanId: Id_9, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -525,7 +183,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -534,13 +192,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_46, + TraceId: Id_1, + SpanId: Id_10, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -549,7 +207,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -558,13 +216,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_47, + TraceId: Id_1, + SpanId: Id_11, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -573,7 +231,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -582,13 +240,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_48, + TraceId: Id_1, + SpanId: Id_12, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -602,7 +260,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -611,13 +269,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_49, + TraceId: Id_1, + SpanId: Id_13, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -626,7 +284,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -635,13 +293,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_50, + TraceId: Id_1, + SpanId: Id_14, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -655,7 +313,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -664,13 +322,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_51, + TraceId: Id_1, + SpanId: Id_15, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -679,7 +337,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -688,13 +346,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_52, + TraceId: Id_1, + SpanId: Id_16, Name: wcf.request, Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_39, + ParentId: Id_3, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -703,7 +361,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -715,13 +373,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_53, + TraceId: Id_1, + SpanId: Id_17, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -730,7 +388,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -742,13 +400,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_54, + TraceId: Id_1, + SpanId: Id_18, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_41, + ParentId: Id_5, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -757,7 +415,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -769,13 +427,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_55, + TraceId: Id_1, + SpanId: Id_19, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_42, + ParentId: Id_6, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -784,7 +442,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -796,13 +454,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_56, + TraceId: Id_1, + SpanId: Id_20, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_43, + ParentId: Id_7, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -811,7 +469,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -823,13 +481,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_57, + TraceId: Id_1, + SpanId: Id_21, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_44, + ParentId: Id_8, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -838,7 +496,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -850,13 +508,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_58, + TraceId: Id_1, + SpanId: Id_22, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_45, + ParentId: Id_9, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -865,7 +523,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -877,13 +535,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_59, + TraceId: Id_1, + SpanId: Id_23, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_46, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -892,7 +550,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -904,13 +562,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_60, + TraceId: Id_1, + SpanId: Id_24, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_47, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -919,7 +577,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -931,13 +589,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_61, + TraceId: Id_1, + SpanId: Id_25, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_48, + ParentId: Id_12, Error: 1, Tags: { component: Wcf, @@ -952,7 +610,7 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -964,13 +622,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_37, - SpanId: Id_62, + TraceId: Id_1, + SpanId: Id_26, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_49, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -979,7 +637,7 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -991,13 +649,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_37, - SpanId: Id_63, + TraceId: Id_1, + SpanId: Id_27, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_50, + ParentId: Id_14, Error: 1, Tags: { component: Wcf, @@ -1012,7 +670,7 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -1024,13 +682,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_37, - SpanId: Id_64, + TraceId: Id_1, + SpanId: Id_28, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_51, + ParentId: Id_15, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -1039,7 +697,7 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -1049,5 +707,239 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_1, + SpanId: Id_29, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_30, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_17, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_31, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_18, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_32, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_19, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_33, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_34, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_21, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_35, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_22, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_36, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_23, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_37, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_23, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_38, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_39, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_40, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_41, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_42, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_43, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_44, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_27, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_45, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_28, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_46, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_28, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 640b3621850c..03323b499261 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,348 +2,6 @@ { TraceId: Id_1, SpanId: Id_2, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_4, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_5, - SpanId: Id_6, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_7, - SpanId: Id_8, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_9, - SpanId: Id_10, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_12, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_13, - SpanId: Id_14, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_15, - SpanId: Id_16, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_17, - SpanId: Id_18, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_19, - SpanId: Id_20, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_21, - SpanId: Id_22, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_23, - SpanId: Id_24, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_25, - SpanId: Id_26, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_27, - SpanId: Id_28, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_29, - SpanId: Id_30, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_31, - SpanId: Id_32, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_33, - SpanId: Id_34, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_35, - SpanId: Id_36, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_37, - SpanId: Id_38, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -353,8 +11,8 @@ language: dotnet, otel.library.name: Samples.Wcf, otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, - runtime-id: Guid_1, + otel.trace_id: Guid_1, + runtime-id: Guid_2, span.kind: internal, version: 1.0.0 }, @@ -366,13 +24,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_39, + TraceId: Id_1, + SpanId: Id_3, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -381,7 +39,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -390,13 +48,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_40, + TraceId: Id_1, + SpanId: Id_4, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -405,7 +63,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -414,13 +72,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_41, + TraceId: Id_1, + SpanId: Id_5, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -429,7 +87,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -438,13 +96,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_42, + TraceId: Id_1, + SpanId: Id_6, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -453,7 +111,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -462,13 +120,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_43, + TraceId: Id_1, + SpanId: Id_7, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -477,7 +135,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -486,13 +144,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_44, + TraceId: Id_1, + SpanId: Id_8, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -501,7 +159,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -510,13 +168,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_45, + TraceId: Id_1, + SpanId: Id_9, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -525,7 +183,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -534,13 +192,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_46, + TraceId: Id_1, + SpanId: Id_10, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -549,7 +207,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -558,13 +216,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_47, + TraceId: Id_1, + SpanId: Id_11, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -573,7 +231,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -582,13 +240,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_48, + TraceId: Id_1, + SpanId: Id_12, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -602,7 +260,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -611,13 +269,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_49, + TraceId: Id_1, + SpanId: Id_13, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -626,7 +284,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -635,13 +293,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_50, + TraceId: Id_1, + SpanId: Id_14, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -655,7 +313,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -664,13 +322,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_51, + TraceId: Id_1, + SpanId: Id_15, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -679,7 +337,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -688,13 +346,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_52, + TraceId: Id_1, + SpanId: Id_16, Name: wcf.request, Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_39, + ParentId: Id_3, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -703,7 +361,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -715,13 +373,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_53, + TraceId: Id_1, + SpanId: Id_17, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -730,7 +388,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -742,13 +400,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_54, + TraceId: Id_1, + SpanId: Id_18, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_41, + ParentId: Id_5, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -757,7 +415,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -769,13 +427,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_55, + TraceId: Id_1, + SpanId: Id_19, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_42, + ParentId: Id_6, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -784,7 +442,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -796,13 +454,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_56, + TraceId: Id_1, + SpanId: Id_20, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_43, + ParentId: Id_7, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -811,7 +469,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -823,13 +481,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_57, + TraceId: Id_1, + SpanId: Id_21, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_44, + ParentId: Id_8, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -838,7 +496,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -850,13 +508,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_58, + TraceId: Id_1, + SpanId: Id_22, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_45, + ParentId: Id_9, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -865,7 +523,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -877,13 +535,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_59, + TraceId: Id_1, + SpanId: Id_23, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_46, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -892,7 +550,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -904,13 +562,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_60, + TraceId: Id_1, + SpanId: Id_24, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_47, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -919,7 +577,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -931,13 +589,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_61, + TraceId: Id_1, + SpanId: Id_25, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_48, + ParentId: Id_12, Error: 1, Tags: { component: Wcf, @@ -952,7 +610,7 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -964,13 +622,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_37, - SpanId: Id_62, + TraceId: Id_1, + SpanId: Id_26, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_49, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -979,7 +637,7 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -991,13 +649,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_37, - SpanId: Id_63, + TraceId: Id_1, + SpanId: Id_27, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_50, + ParentId: Id_14, Error: 1, Tags: { component: Wcf, @@ -1012,7 +670,7 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -1024,13 +682,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_37, - SpanId: Id_64, + TraceId: Id_1, + SpanId: Id_28, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_51, + ParentId: Id_15, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -1039,7 +697,7 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -1049,5 +707,239 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_1, + SpanId: Id_29, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_30, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_17, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_31, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_18, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_32, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_19, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_33, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_34, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_21, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_35, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_22, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_36, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_23, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_37, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_23, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_38, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_39, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_40, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_41, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_42, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_43, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_44, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_27, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_45, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_28, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_46, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_28, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index 5d3956f466a2..e81501af467e 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,13 +2,18 @@ { TraceId: Id_1, SpanId: Id_2, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + Name: internal, + Resource: WebClient, Service: Samples.Wcf, + Type: custom, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_1, + runtime-id: Guid_2, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -19,15 +24,21 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_3, + Name: wcf.request, + Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -38,15 +49,21 @@ } }, { - TraceId: Id_5, - SpanId: Id_6, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_4, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -57,15 +74,21 @@ } }, { - TraceId: Id_7, - SpanId: Id_8, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_5, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -76,15 +99,21 @@ } }, { - TraceId: Id_9, - SpanId: Id_10, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_6, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -95,15 +124,21 @@ } }, { - TraceId: Id_11, - SpanId: Id_12, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_7, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -114,15 +149,21 @@ } }, { - TraceId: Id_13, - SpanId: Id_14, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_8, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -133,15 +174,21 @@ } }, { - TraceId: Id_15, - SpanId: Id_16, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_9, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -152,15 +199,21 @@ } }, { - TraceId: Id_17, - SpanId: Id_18, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_10, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -171,15 +224,21 @@ } }, { - TraceId: Id_19, - SpanId: Id_20, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_11, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -190,15 +249,27 @@ } }, { - TraceId: Id_21, - SpanId: Id_22, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_12, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, + Error: 1, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -209,15 +280,21 @@ } }, { - TraceId: Id_23, - SpanId: Id_24, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_1, + SpanId: Id_13, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -228,15 +305,27 @@ } }, { - TraceId: Id_25, - SpanId: Id_26, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_14, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, + Error: 1, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -247,15 +336,21 @@ } }, { - TraceId: Id_27, - SpanId: Id_28, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_15, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -266,440 +361,237 @@ } }, { - TraceId: Id_29, - SpanId: Id_30, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_16, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, + ParentId: Id_3, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_31, - SpanId: Id_32, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_17, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, + ParentId: Id_4, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_33, - SpanId: Id_34, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_18, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, + ParentId: Id_5, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_35, - SpanId: Id_36, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_19, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, + ParentId: Id_6, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_38, - Name: internal, - Resource: WebClient, + TraceId: Id_1, + SpanId: Id_20, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - Type: custom, + ParentId: Id_7, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, - runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_39, - Name: wcf.request, - Resource: /WcfSample/123,123/CalculatorService, + TraceId: Id_1, + SpanId: Id_21, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_8, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_40, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_22, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_9, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_41, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_23, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_42, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_24, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_43, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_25, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_11, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_44, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_26, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_11, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_45, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_27, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_12, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_46, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_28, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_12, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_47, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_29, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_48, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_30, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, - Error: 1, + ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_49, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_31, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_14, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_50, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_32, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, - Error: 1, + ParentId: Id_15, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_51, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_33, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_15, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 734909975cb9..7727a581dd5c 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,13 +2,18 @@ { TraceId: Id_1, SpanId: Id_2, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + Name: internal, + Resource: WebClient, Service: Samples.Wcf, + Type: custom, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_1, + runtime-id: Guid_2, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -19,15 +24,21 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_3, + Name: wcf.request, + Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -38,15 +49,21 @@ } }, { - TraceId: Id_5, - SpanId: Id_6, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_4, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -57,15 +74,21 @@ } }, { - TraceId: Id_7, - SpanId: Id_8, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_5, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -76,15 +99,21 @@ } }, { - TraceId: Id_9, - SpanId: Id_10, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_6, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -95,15 +124,21 @@ } }, { - TraceId: Id_11, - SpanId: Id_12, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_7, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -114,15 +149,21 @@ } }, { - TraceId: Id_13, - SpanId: Id_14, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_8, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -133,15 +174,21 @@ } }, { - TraceId: Id_15, - SpanId: Id_16, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_9, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -152,15 +199,21 @@ } }, { - TraceId: Id_17, - SpanId: Id_18, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_10, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -171,15 +224,21 @@ } }, { - TraceId: Id_19, - SpanId: Id_20, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_11, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -190,15 +249,27 @@ } }, { - TraceId: Id_21, - SpanId: Id_22, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_12, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, + Error: 1, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -209,15 +280,21 @@ } }, { - TraceId: Id_23, - SpanId: Id_24, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_1, + SpanId: Id_13, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -228,15 +305,27 @@ } }, { - TraceId: Id_25, - SpanId: Id_26, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_14, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, + Error: 1, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -247,15 +336,21 @@ } }, { - TraceId: Id_27, - SpanId: Id_28, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_15, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -266,440 +361,237 @@ } }, { - TraceId: Id_29, - SpanId: Id_30, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_16, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, + ParentId: Id_3, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_31, - SpanId: Id_32, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_17, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, + ParentId: Id_4, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_33, - SpanId: Id_34, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_18, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, + ParentId: Id_5, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_35, - SpanId: Id_36, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_19, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, + ParentId: Id_6, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_38, - Name: internal, - Resource: WebClient, + TraceId: Id_1, + SpanId: Id_20, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - Type: custom, + ParentId: Id_7, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, - runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_39, - Name: wcf.request, - Resource: /WcfSample/?/CalculatorService, + TraceId: Id_1, + SpanId: Id_21, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_8, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_40, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_22, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_9, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_41, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_23, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_42, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_24, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_43, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_25, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_11, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_44, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_26, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_11, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_45, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_27, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_12, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_46, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_28, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_12, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_47, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_29, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_48, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_30, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, - Error: 1, + ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_49, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_31, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_14, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_50, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_32, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, - Error: 1, + ParentId: Id_15, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_51, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_33, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_15, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt index 0b8b334a48ca..ce0ab4339200 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt @@ -523,6 +523,84 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), TraceId: Id_11, SpanId: Id_29, Name: wcf.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue, + Service: Samples.Wcf, + Type: web, + ParentId: Id_13, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_30, + Name: wcf.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue, + Service: Samples.Wcf, + Type: web, + ParentId: Id_14, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_31, + Name: wcf.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT, + Service: Samples.Wcf, + Type: web, + ParentId: Id_15, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_32, + Name: wcf.request, Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, @@ -548,7 +626,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_30, + SpanId: Id_33, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, @@ -575,7 +653,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_31, + SpanId: Id_34, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, @@ -602,7 +680,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_32, + SpanId: Id_35, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, @@ -629,7 +707,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_33, + SpanId: Id_36, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, @@ -656,7 +734,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_34, + SpanId: Id_37, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, @@ -683,7 +761,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_35, + SpanId: Id_38, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, @@ -710,7 +788,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_36, + SpanId: Id_39, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -737,7 +815,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_37, + SpanId: Id_40, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -764,7 +842,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_38, + SpanId: Id_41, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -791,7 +869,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_39, + SpanId: Id_42, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -818,7 +896,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_40, + SpanId: Id_43, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -845,7 +923,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_41, + SpanId: Id_44, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -872,11 +950,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_42, + SpanId: Id_45, Name: ServerEmptyActionAdd, Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - ParentId: Id_29, + ParentId: Id_32, Tags: { env: integration_tests, language: dotnet, @@ -885,11 +963,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_43, + SpanId: Id_46, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_30, + ParentId: Id_33, Tags: { env: integration_tests, language: dotnet, @@ -898,11 +976,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_44, + SpanId: Id_47, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_31, + ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, @@ -911,11 +989,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_45, + SpanId: Id_48, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_32, + ParentId: Id_35, Tags: { env: integration_tests, language: dotnet, @@ -924,11 +1002,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_46, + SpanId: Id_49, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_33, + ParentId: Id_36, Tags: { env: integration_tests, language: dotnet, @@ -937,11 +1015,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_47, + SpanId: Id_50, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_34, + ParentId: Id_37, Tags: { env: integration_tests, language: dotnet, @@ -950,11 +1028,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_48, + SpanId: Id_51, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_35, + ParentId: Id_38, Tags: { env: integration_tests, language: dotnet, @@ -963,11 +1041,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_49, + SpanId: Id_52, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_36, + ParentId: Id_39, Tags: { env: integration_tests, language: dotnet, @@ -976,11 +1054,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_50, + SpanId: Id_53, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_37, + ParentId: Id_40, Tags: { env: integration_tests, language: dotnet, @@ -989,11 +1067,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_51, + SpanId: Id_54, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_38, + ParentId: Id_41, Tags: { env: integration_tests, language: dotnet, @@ -1002,11 +1080,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_52, + SpanId: Id_55, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_39, + ParentId: Id_42, Tags: { env: integration_tests, language: dotnet, @@ -1015,11 +1093,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_53, + SpanId: Id_56, Name: EndServerAsyncAdd, Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_39, + ParentId: Id_42, Tags: { env: integration_tests, language: dotnet, @@ -1028,11 +1106,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_54, + SpanId: Id_57, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_40, + ParentId: Id_43, Tags: { env: integration_tests, language: dotnet, @@ -1041,11 +1119,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_55, + SpanId: Id_58, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_41, + ParentId: Id_44, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt index 476db153eadd..4122f3d1a16b 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt @@ -523,6 +523,84 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), TraceId: Id_11, SpanId: Id_29, Name: wcf.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue, + Service: Samples.Wcf, + Type: web, + ParentId: Id_13, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_30, + Name: wcf.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue, + Service: Samples.Wcf, + Type: web, + ParentId: Id_14, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_31, + Name: wcf.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT, + Service: Samples.Wcf, + Type: web, + ParentId: Id_15, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_32, + Name: wcf.request, Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, @@ -548,7 +626,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_30, + SpanId: Id_33, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, @@ -575,7 +653,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_31, + SpanId: Id_34, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, @@ -602,7 +680,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_32, + SpanId: Id_35, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, @@ -629,7 +707,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_33, + SpanId: Id_36, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, @@ -656,7 +734,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_34, + SpanId: Id_37, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, @@ -683,7 +761,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_35, + SpanId: Id_38, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, @@ -710,7 +788,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_36, + SpanId: Id_39, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -737,7 +815,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_37, + SpanId: Id_40, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -764,7 +842,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_38, + SpanId: Id_41, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -791,7 +869,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_39, + SpanId: Id_42, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -818,7 +896,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_40, + SpanId: Id_43, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -845,7 +923,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_41, + SpanId: Id_44, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -872,11 +950,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_42, + SpanId: Id_45, Name: ServerEmptyActionAdd, Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - ParentId: Id_29, + ParentId: Id_32, Tags: { env: integration_tests, language: dotnet, @@ -885,11 +963,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_43, + SpanId: Id_46, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_30, + ParentId: Id_33, Tags: { env: integration_tests, language: dotnet, @@ -898,11 +976,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_44, + SpanId: Id_47, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_31, + ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, @@ -911,11 +989,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_45, + SpanId: Id_48, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_32, + ParentId: Id_35, Tags: { env: integration_tests, language: dotnet, @@ -924,11 +1002,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_46, + SpanId: Id_49, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_33, + ParentId: Id_36, Tags: { env: integration_tests, language: dotnet, @@ -937,11 +1015,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_47, + SpanId: Id_50, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_34, + ParentId: Id_37, Tags: { env: integration_tests, language: dotnet, @@ -950,11 +1028,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_48, + SpanId: Id_51, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_35, + ParentId: Id_38, Tags: { env: integration_tests, language: dotnet, @@ -963,11 +1041,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_49, + SpanId: Id_52, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_36, + ParentId: Id_39, Tags: { env: integration_tests, language: dotnet, @@ -976,11 +1054,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_50, + SpanId: Id_53, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_37, + ParentId: Id_40, Tags: { env: integration_tests, language: dotnet, @@ -989,11 +1067,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_51, + SpanId: Id_54, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_38, + ParentId: Id_41, Tags: { env: integration_tests, language: dotnet, @@ -1002,11 +1080,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_52, + SpanId: Id_55, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_39, + ParentId: Id_42, Tags: { env: integration_tests, language: dotnet, @@ -1015,11 +1093,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_53, + SpanId: Id_56, Name: EndServerAsyncAdd, Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_39, + ParentId: Id_42, Tags: { env: integration_tests, language: dotnet, @@ -1028,11 +1106,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_54, + SpanId: Id_57, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_40, + ParentId: Id_43, Tags: { env: integration_tests, language: dotnet, @@ -1041,11 +1119,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_55, + SpanId: Id_58, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_41, + ParentId: Id_44, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index 5b2972a3f2ac..562ae315c80d 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,215 +2,6 @@ { TraceId: Id_1, SpanId: Id_2, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_4, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_5, - SpanId: Id_6, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_7, - SpanId: Id_8, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_9, - SpanId: Id_10, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_12, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_13, - SpanId: Id_14, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_15, - SpanId: Id_16, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_17, - SpanId: Id_18, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_19, - SpanId: Id_20, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_21, - SpanId: Id_22, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_23, - SpanId: Id_24, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, @@ -235,141 +26,8 @@ } }, { - TraceId: Id_25, - SpanId: Id_26, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_27, - SpanId: Id_28, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_29, - SpanId: Id_30, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_31, - SpanId: Id_32, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_33, - SpanId: Id_34, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_35, - SpanId: Id_36, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_37, - SpanId: Id_38, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_39, - SpanId: Id_40, + TraceId: Id_3, + SpanId: Id_4, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -392,13 +50,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_41, + TraceId: Id_3, + SpanId: Id_5, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -416,13 +74,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_42, + TraceId: Id_3, + SpanId: Id_6, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -440,13 +98,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_43, + TraceId: Id_3, + SpanId: Id_7, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -464,13 +122,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_44, + TraceId: Id_3, + SpanId: Id_8, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -488,13 +146,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_45, + TraceId: Id_3, + SpanId: Id_9, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -512,13 +170,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_46, + TraceId: Id_3, + SpanId: Id_10, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -536,13 +194,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_47, + TraceId: Id_3, + SpanId: Id_11, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -560,13 +218,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_48, + TraceId: Id_3, + SpanId: Id_12, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -584,13 +242,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_49, + TraceId: Id_3, + SpanId: Id_13, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -608,13 +266,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_50, + TraceId: Id_3, + SpanId: Id_14, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -632,13 +290,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_51, + TraceId: Id_3, + SpanId: Id_15, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -656,13 +314,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_52, + TraceId: Id_3, + SpanId: Id_16, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -680,13 +338,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_53, + TraceId: Id_3, + SpanId: Id_17, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -709,13 +367,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_54, + TraceId: Id_3, + SpanId: Id_18, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -733,13 +391,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_55, + TraceId: Id_3, + SpanId: Id_19, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -762,37 +420,115 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_56, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_40, + TraceId: Id_3, + SpanId: Id_20, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_4, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_21, + Name: wcf.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue, + Service: Samples.Wcf, + Type: web, + ParentId: Id_5, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_22, + Name: wcf.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue, + Service: Samples.Wcf, + Type: web, + ParentId: Id_6, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_23, + Name: wcf.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT, + Service: Samples.Wcf, + Type: web, + ParentId: Id_7, Tags: { - component: WebRequest, + component: Wcf, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_39, - SpanId: Id_57, + TraceId: Id_3, + SpanId: Id_24, Name: wcf.request, Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_44, + ParentId: Id_8, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -813,13 +549,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_58, + TraceId: Id_3, + SpanId: Id_25, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_45, + ParentId: Id_9, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -840,13 +576,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_59, + TraceId: Id_3, + SpanId: Id_26, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_46, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -867,13 +603,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_60, + TraceId: Id_3, + SpanId: Id_27, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_47, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -894,13 +630,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_61, + TraceId: Id_3, + SpanId: Id_28, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_48, + ParentId: Id_12, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -921,13 +657,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_62, + TraceId: Id_3, + SpanId: Id_29, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_49, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -948,13 +684,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_63, + TraceId: Id_3, + SpanId: Id_30, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_50, + ParentId: Id_14, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -975,13 +711,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_64, + TraceId: Id_3, + SpanId: Id_31, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_51, + ParentId: Id_15, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -1002,13 +738,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_65, + TraceId: Id_3, + SpanId: Id_32, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_52, + ParentId: Id_16, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -1029,13 +765,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_66, + TraceId: Id_3, + SpanId: Id_33, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_53, + ParentId: Id_17, Error: 1, Tags: { component: Wcf, @@ -1062,13 +798,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_39, - SpanId: Id_67, + TraceId: Id_3, + SpanId: Id_34, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_54, + ParentId: Id_18, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -1089,13 +825,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_39, - SpanId: Id_68, + TraceId: Id_3, + SpanId: Id_35, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_55, + ParentId: Id_19, Error: 1, Tags: { component: Wcf, @@ -1122,13 +858,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_39, - SpanId: Id_69, + TraceId: Id_3, + SpanId: Id_36, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_56, + ParentId: Id_20, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -1147,5 +883,239 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_3, + SpanId: Id_37, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_38, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_39, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_40, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_27, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_41, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_28, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_42, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_29, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_43, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_44, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_31, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_45, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_31, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_46, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_47, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_48, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_33, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_49, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_33, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_50, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_51, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_52, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_35, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_53, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_36, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_54, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_36, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 581771fa89e1..a1fdf7551a51 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,215 +2,6 @@ { TraceId: Id_1, SpanId: Id_2, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_4, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_5, - SpanId: Id_6, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_7, - SpanId: Id_8, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_9, - SpanId: Id_10, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_12, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_13, - SpanId: Id_14, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_15, - SpanId: Id_16, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_17, - SpanId: Id_18, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_19, - SpanId: Id_20, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_21, - SpanId: Id_22, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_23, - SpanId: Id_24, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, @@ -235,141 +26,8 @@ } }, { - TraceId: Id_25, - SpanId: Id_26, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_27, - SpanId: Id_28, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_29, - SpanId: Id_30, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_31, - SpanId: Id_32, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_33, - SpanId: Id_34, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_35, - SpanId: Id_36, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_37, - SpanId: Id_38, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_39, - SpanId: Id_40, + TraceId: Id_3, + SpanId: Id_4, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -392,13 +50,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_41, + TraceId: Id_3, + SpanId: Id_5, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -416,13 +74,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_42, + TraceId: Id_3, + SpanId: Id_6, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -440,13 +98,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_43, + TraceId: Id_3, + SpanId: Id_7, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -464,13 +122,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_44, + TraceId: Id_3, + SpanId: Id_8, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -488,13 +146,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_45, + TraceId: Id_3, + SpanId: Id_9, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -512,13 +170,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_46, + TraceId: Id_3, + SpanId: Id_10, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -536,13 +194,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_47, + TraceId: Id_3, + SpanId: Id_11, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -560,13 +218,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_48, + TraceId: Id_3, + SpanId: Id_12, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -584,13 +242,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_49, + TraceId: Id_3, + SpanId: Id_13, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -608,13 +266,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_50, + TraceId: Id_3, + SpanId: Id_14, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -632,13 +290,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_51, + TraceId: Id_3, + SpanId: Id_15, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -656,13 +314,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_52, + TraceId: Id_3, + SpanId: Id_16, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -680,13 +338,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_53, + TraceId: Id_3, + SpanId: Id_17, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -709,13 +367,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_54, + TraceId: Id_3, + SpanId: Id_18, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -733,13 +391,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_55, + TraceId: Id_3, + SpanId: Id_19, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -762,37 +420,115 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_56, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_40, + TraceId: Id_3, + SpanId: Id_20, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_4, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_21, + Name: wcf.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue, + Service: Samples.Wcf, + Type: web, + ParentId: Id_5, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_22, + Name: wcf.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue, + Service: Samples.Wcf, + Type: web, + ParentId: Id_6, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_23, + Name: wcf.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT, + Service: Samples.Wcf, + Type: web, + ParentId: Id_7, Tags: { - component: WebRequest, + component: Wcf, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_39, - SpanId: Id_57, + TraceId: Id_3, + SpanId: Id_24, Name: wcf.request, Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_44, + ParentId: Id_8, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -813,13 +549,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_58, + TraceId: Id_3, + SpanId: Id_25, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_45, + ParentId: Id_9, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -840,13 +576,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_59, + TraceId: Id_3, + SpanId: Id_26, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_46, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -867,13 +603,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_60, + TraceId: Id_3, + SpanId: Id_27, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_47, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -894,13 +630,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_61, + TraceId: Id_3, + SpanId: Id_28, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_48, + ParentId: Id_12, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -921,13 +657,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_62, + TraceId: Id_3, + SpanId: Id_29, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_49, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -948,13 +684,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_63, + TraceId: Id_3, + SpanId: Id_30, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_50, + ParentId: Id_14, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -975,13 +711,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_64, + TraceId: Id_3, + SpanId: Id_31, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_51, + ParentId: Id_15, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -1002,13 +738,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_65, + TraceId: Id_3, + SpanId: Id_32, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_52, + ParentId: Id_16, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -1029,13 +765,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_66, + TraceId: Id_3, + SpanId: Id_33, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_53, + ParentId: Id_17, Error: 1, Tags: { component: Wcf, @@ -1062,13 +798,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_39, - SpanId: Id_67, + TraceId: Id_3, + SpanId: Id_34, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_54, + ParentId: Id_18, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -1089,13 +825,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_39, - SpanId: Id_68, + TraceId: Id_3, + SpanId: Id_35, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_55, + ParentId: Id_19, Error: 1, Tags: { component: Wcf, @@ -1122,13 +858,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_39, - SpanId: Id_69, + TraceId: Id_3, + SpanId: Id_36, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_56, + ParentId: Id_20, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -1147,5 +883,239 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_3, + SpanId: Id_37, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_38, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_39, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_40, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_27, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_41, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_28, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_42, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_29, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_43, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_44, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_31, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_45, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_31, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_46, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_47, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_48, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_33, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_49, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_33, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_50, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_51, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_52, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_35, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_53, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_36, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_54, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_36, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index 28ccbfae80e3..31972104ed1b 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,348 +2,6 @@ { TraceId: Id_1, SpanId: Id_2, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_4, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_5, - SpanId: Id_6, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_7, - SpanId: Id_8, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_9, - SpanId: Id_10, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_12, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_13, - SpanId: Id_14, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_15, - SpanId: Id_16, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_17, - SpanId: Id_18, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_19, - SpanId: Id_20, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_21, - SpanId: Id_22, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_23, - SpanId: Id_24, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_25, - SpanId: Id_26, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_27, - SpanId: Id_28, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_29, - SpanId: Id_30, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_31, - SpanId: Id_32, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_33, - SpanId: Id_34, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_35, - SpanId: Id_36, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_37, - SpanId: Id_38, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -353,8 +11,8 @@ language: dotnet, otel.library.name: Samples.Wcf, otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, - runtime-id: Guid_1, + otel.trace_id: Guid_1, + runtime-id: Guid_2, span.kind: internal, version: 1.0.0 }, @@ -366,13 +24,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_39, + TraceId: Id_1, + SpanId: Id_3, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -388,13 +46,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_40, + TraceId: Id_1, + SpanId: Id_4, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -410,13 +68,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_41, + TraceId: Id_1, + SpanId: Id_5, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -432,13 +90,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_42, + TraceId: Id_1, + SpanId: Id_6, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -454,13 +112,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_43, + TraceId: Id_1, + SpanId: Id_7, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -476,13 +134,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_44, + TraceId: Id_1, + SpanId: Id_8, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -498,13 +156,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_45, + TraceId: Id_1, + SpanId: Id_9, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -520,13 +178,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_46, + TraceId: Id_1, + SpanId: Id_10, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -542,13 +200,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_47, + TraceId: Id_1, + SpanId: Id_11, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -564,13 +222,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_48, + TraceId: Id_1, + SpanId: Id_12, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -591,13 +249,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_49, + TraceId: Id_1, + SpanId: Id_13, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -613,13 +271,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_50, + TraceId: Id_1, + SpanId: Id_14, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -640,13 +298,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_51, + TraceId: Id_1, + SpanId: Id_15, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -662,13 +320,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_52, + TraceId: Id_1, + SpanId: Id_16, Name: http.server.request, Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_39, + ParentId: Id_3, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -677,7 +335,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -689,13 +347,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_53, + TraceId: Id_1, + SpanId: Id_17, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -704,7 +362,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -716,13 +374,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_54, + TraceId: Id_1, + SpanId: Id_18, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_41, + ParentId: Id_5, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -731,7 +389,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -743,13 +401,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_55, + TraceId: Id_1, + SpanId: Id_19, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_42, + ParentId: Id_6, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -758,7 +416,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -770,13 +428,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_56, + TraceId: Id_1, + SpanId: Id_20, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_43, + ParentId: Id_7, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -785,7 +443,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -797,13 +455,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_57, + TraceId: Id_1, + SpanId: Id_21, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_44, + ParentId: Id_8, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -812,7 +470,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -824,13 +482,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_58, + TraceId: Id_1, + SpanId: Id_22, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_45, + ParentId: Id_9, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -839,7 +497,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -851,13 +509,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_59, + TraceId: Id_1, + SpanId: Id_23, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_46, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -866,7 +524,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -878,13 +536,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_60, + TraceId: Id_1, + SpanId: Id_24, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_47, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -893,7 +551,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -905,13 +563,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_61, + TraceId: Id_1, + SpanId: Id_25, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_48, + ParentId: Id_12, Error: 1, Tags: { component: Wcf, @@ -926,7 +584,7 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -938,13 +596,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_37, - SpanId: Id_62, + TraceId: Id_1, + SpanId: Id_26, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_49, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -953,7 +611,7 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -965,13 +623,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_37, - SpanId: Id_63, + TraceId: Id_1, + SpanId: Id_27, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_50, + ParentId: Id_14, Error: 1, Tags: { component: Wcf, @@ -986,7 +644,7 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -998,13 +656,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_37, - SpanId: Id_64, + TraceId: Id_1, + SpanId: Id_28, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_51, + ParentId: Id_15, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -1013,7 +671,7 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -1023,5 +681,239 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_1, + SpanId: Id_29, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_30, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_17, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_31, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_18, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_32, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_19, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_33, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_34, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_21, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_35, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_22, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_36, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_23, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_37, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_23, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_38, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_39, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_40, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_41, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_42, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_43, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_44, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_27, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_45, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_28, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_46, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_28, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index b87dabcda242..01430c4a4145 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,348 +2,6 @@ { TraceId: Id_1, SpanId: Id_2, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_4, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_5, - SpanId: Id_6, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_7, - SpanId: Id_8, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_9, - SpanId: Id_10, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_12, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_13, - SpanId: Id_14, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_15, - SpanId: Id_16, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_17, - SpanId: Id_18, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_19, - SpanId: Id_20, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_21, - SpanId: Id_22, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_23, - SpanId: Id_24, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_25, - SpanId: Id_26, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_27, - SpanId: Id_28, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_29, - SpanId: Id_30, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_31, - SpanId: Id_32, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_33, - SpanId: Id_34, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_35, - SpanId: Id_36, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_37, - SpanId: Id_38, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -353,8 +11,8 @@ language: dotnet, otel.library.name: Samples.Wcf, otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, - runtime-id: Guid_1, + otel.trace_id: Guid_1, + runtime-id: Guid_2, span.kind: internal, version: 1.0.0 }, @@ -366,13 +24,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_39, + TraceId: Id_1, + SpanId: Id_3, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -388,13 +46,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_40, + TraceId: Id_1, + SpanId: Id_4, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -410,13 +68,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_41, + TraceId: Id_1, + SpanId: Id_5, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -432,13 +90,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_42, + TraceId: Id_1, + SpanId: Id_6, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -454,13 +112,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_43, + TraceId: Id_1, + SpanId: Id_7, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -476,13 +134,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_44, + TraceId: Id_1, + SpanId: Id_8, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -498,13 +156,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_45, + TraceId: Id_1, + SpanId: Id_9, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -520,13 +178,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_46, + TraceId: Id_1, + SpanId: Id_10, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -542,13 +200,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_47, + TraceId: Id_1, + SpanId: Id_11, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -564,13 +222,13 @@ } }, { - TraceId: Id_37, - SpanId: Id_48, + TraceId: Id_1, + SpanId: Id_12, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -591,13 +249,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_49, + TraceId: Id_1, + SpanId: Id_13, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -613,13 +271,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_50, + TraceId: Id_1, + SpanId: Id_14, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -640,13 +298,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_51, + TraceId: Id_1, + SpanId: Id_15, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_38, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -662,13 +320,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_52, + TraceId: Id_1, + SpanId: Id_16, Name: http.server.request, Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_39, + ParentId: Id_3, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -677,7 +335,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -689,13 +347,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_53, + TraceId: Id_1, + SpanId: Id_17, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -704,7 +362,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -716,13 +374,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_54, + TraceId: Id_1, + SpanId: Id_18, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_41, + ParentId: Id_5, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -731,7 +389,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -743,13 +401,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_55, + TraceId: Id_1, + SpanId: Id_19, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_42, + ParentId: Id_6, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -758,7 +416,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -770,13 +428,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_56, + TraceId: Id_1, + SpanId: Id_20, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_43, + ParentId: Id_7, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -785,7 +443,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -797,13 +455,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_57, + TraceId: Id_1, + SpanId: Id_21, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_44, + ParentId: Id_8, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -812,7 +470,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -824,13 +482,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_58, + TraceId: Id_1, + SpanId: Id_22, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_45, + ParentId: Id_9, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -839,7 +497,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -851,13 +509,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_59, + TraceId: Id_1, + SpanId: Id_23, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_46, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -866,7 +524,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -878,13 +536,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_60, + TraceId: Id_1, + SpanId: Id_24, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_47, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -893,7 +551,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -905,13 +563,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_37, - SpanId: Id_61, + TraceId: Id_1, + SpanId: Id_25, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_48, + ParentId: Id_12, Error: 1, Tags: { component: Wcf, @@ -926,7 +584,7 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -938,13 +596,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_37, - SpanId: Id_62, + TraceId: Id_1, + SpanId: Id_26, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_49, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -953,7 +611,7 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -965,13 +623,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_37, - SpanId: Id_63, + TraceId: Id_1, + SpanId: Id_27, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_50, + ParentId: Id_14, Error: 1, Tags: { component: Wcf, @@ -986,7 +644,7 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -998,13 +656,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_37, - SpanId: Id_64, + TraceId: Id_1, + SpanId: Id_28, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_51, + ParentId: Id_15, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -1013,7 +671,7 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, span.kind: server, version: 1.0.0 }, @@ -1023,5 +681,239 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_1, + SpanId: Id_29, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_30, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_17, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_31, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_18, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_32, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_19, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_33, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_34, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_21, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_35, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_22, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_36, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_23, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_37, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_23, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_38, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_39, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_40, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_41, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_42, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_43, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_44, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_27, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_45, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_28, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_46, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_28, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index de4de0cb8b42..fe97c4df462b 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,13 +2,18 @@ { TraceId: Id_1, SpanId: Id_2, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + Name: internal, + Resource: WebClient, Service: Samples.Wcf, + Type: custom, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_1, + runtime-id: Guid_2, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -19,15 +24,21 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_3, + Name: http.server.request, + Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -38,15 +49,21 @@ } }, { - TraceId: Id_5, - SpanId: Id_6, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_4, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -57,15 +74,21 @@ } }, { - TraceId: Id_7, - SpanId: Id_8, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_5, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -76,15 +99,21 @@ } }, { - TraceId: Id_9, - SpanId: Id_10, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_6, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -95,15 +124,21 @@ } }, { - TraceId: Id_11, - SpanId: Id_12, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_7, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -114,15 +149,21 @@ } }, { - TraceId: Id_13, - SpanId: Id_14, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_8, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -133,15 +174,21 @@ } }, { - TraceId: Id_15, - SpanId: Id_16, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_9, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -152,15 +199,21 @@ } }, { - TraceId: Id_17, - SpanId: Id_18, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_10, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -171,15 +224,21 @@ } }, { - TraceId: Id_19, - SpanId: Id_20, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_11, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -190,15 +249,27 @@ } }, { - TraceId: Id_21, - SpanId: Id_22, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_12, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, + Error: 1, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -209,15 +280,21 @@ } }, { - TraceId: Id_23, - SpanId: Id_24, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_1, + SpanId: Id_13, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -228,15 +305,27 @@ } }, { - TraceId: Id_25, - SpanId: Id_26, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_14, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, + Error: 1, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -247,15 +336,21 @@ } }, { - TraceId: Id_27, - SpanId: Id_28, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_15, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -266,440 +361,237 @@ } }, { - TraceId: Id_29, - SpanId: Id_30, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_16, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, + ParentId: Id_3, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_31, - SpanId: Id_32, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_17, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, + ParentId: Id_4, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_33, - SpanId: Id_34, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_18, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, + ParentId: Id_5, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_35, - SpanId: Id_36, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_19, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, + ParentId: Id_6, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_38, - Name: internal, - Resource: WebClient, + TraceId: Id_1, + SpanId: Id_20, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - Type: custom, + ParentId: Id_7, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, - runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_39, - Name: http.server.request, - Resource: /WcfSample/123,123/CalculatorService, + TraceId: Id_1, + SpanId: Id_21, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_8, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_40, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_22, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_9, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_41, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_23, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_42, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_24, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_43, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_25, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_11, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_44, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_26, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_11, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_45, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_27, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_12, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_46, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_28, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_12, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_47, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_29, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_48, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_30, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, - Error: 1, + ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_49, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_31, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_14, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_50, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_32, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, - Error: 1, + ParentId: Id_15, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_51, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_33, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_15, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index f0081b038f6c..a875da7b521d 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,13 +2,18 @@ { TraceId: Id_1, SpanId: Id_2, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + Name: internal, + Resource: WebClient, Service: Samples.Wcf, + Type: custom, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_1, + runtime-id: Guid_2, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -19,15 +24,21 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_3, + Name: http.server.request, + Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -38,15 +49,21 @@ } }, { - TraceId: Id_5, - SpanId: Id_6, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_4, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -57,15 +74,21 @@ } }, { - TraceId: Id_7, - SpanId: Id_8, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_5, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -76,15 +99,21 @@ } }, { - TraceId: Id_9, - SpanId: Id_10, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_6, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -95,15 +124,21 @@ } }, { - TraceId: Id_11, - SpanId: Id_12, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_7, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -114,15 +149,21 @@ } }, { - TraceId: Id_13, - SpanId: Id_14, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_8, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -133,15 +174,21 @@ } }, { - TraceId: Id_15, - SpanId: Id_16, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_9, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -152,15 +199,21 @@ } }, { - TraceId: Id_17, - SpanId: Id_18, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_10, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -171,15 +224,21 @@ } }, { - TraceId: Id_19, - SpanId: Id_20, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_11, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -190,15 +249,27 @@ } }, { - TraceId: Id_21, - SpanId: Id_22, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_12, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, + Error: 1, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -209,15 +280,21 @@ } }, { - TraceId: Id_23, - SpanId: Id_24, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_1, + SpanId: Id_13, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -228,15 +305,27 @@ } }, { - TraceId: Id_25, - SpanId: Id_26, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_14, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, + Error: 1, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -247,15 +336,21 @@ } }, { - TraceId: Id_27, - SpanId: Id_28, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_15, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -266,440 +361,237 @@ } }, { - TraceId: Id_29, - SpanId: Id_30, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_16, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, + ParentId: Id_3, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_31, - SpanId: Id_32, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_17, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, + ParentId: Id_4, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_33, - SpanId: Id_34, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_18, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, + ParentId: Id_5, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_35, - SpanId: Id_36, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_19, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, + ParentId: Id_6, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_38, - Name: internal, - Resource: WebClient, + TraceId: Id_1, + SpanId: Id_20, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - Type: custom, + ParentId: Id_7, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, - runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_39, - Name: http.server.request, - Resource: /WcfSample/?/CalculatorService, + TraceId: Id_1, + SpanId: Id_21, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_8, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_40, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_22, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_9, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_41, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_23, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_42, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_1, + SpanId: Id_24, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_43, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_25, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_11, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_44, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_26, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_11, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_45, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_1, + SpanId: Id_27, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_12, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_46, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_28, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_12, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_47, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_29, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_48, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_30, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, - Error: 1, + ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_49, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_31, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_14, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_50, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_32, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, - Error: 1, + ParentId: Id_15, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_37, - SpanId: Id_51, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_33, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_38, + ParentId: Id_15, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt index 5debf1ce02ef..8c7af1ead790 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt @@ -493,6 +493,84 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), TraceId: Id_11, SpanId: Id_29, Name: http.server.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue, + Service: Samples.Wcf, + Type: web, + ParentId: Id_13, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_30, + Name: http.server.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue, + Service: Samples.Wcf, + Type: web, + ParentId: Id_14, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_31, + Name: http.server.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT, + Service: Samples.Wcf, + Type: web, + ParentId: Id_15, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_32, + Name: http.server.request, Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, @@ -518,7 +596,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_30, + SpanId: Id_33, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, @@ -545,7 +623,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_31, + SpanId: Id_34, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, @@ -572,7 +650,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_32, + SpanId: Id_35, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, @@ -599,7 +677,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_33, + SpanId: Id_36, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, @@ -626,7 +704,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_34, + SpanId: Id_37, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, @@ -653,7 +731,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_35, + SpanId: Id_38, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, @@ -680,7 +758,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_36, + SpanId: Id_39, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -707,7 +785,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_37, + SpanId: Id_40, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -734,7 +812,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_38, + SpanId: Id_41, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -761,7 +839,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_39, + SpanId: Id_42, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -788,7 +866,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_40, + SpanId: Id_43, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -815,7 +893,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_41, + SpanId: Id_44, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -842,11 +920,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_42, + SpanId: Id_45, Name: ServerEmptyActionAdd, Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - ParentId: Id_29, + ParentId: Id_32, Tags: { env: integration_tests, language: dotnet, @@ -855,11 +933,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_43, + SpanId: Id_46, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_30, + ParentId: Id_33, Tags: { env: integration_tests, language: dotnet, @@ -868,11 +946,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_44, + SpanId: Id_47, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_31, + ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, @@ -881,11 +959,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_45, + SpanId: Id_48, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_32, + ParentId: Id_35, Tags: { env: integration_tests, language: dotnet, @@ -894,11 +972,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_46, + SpanId: Id_49, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_33, + ParentId: Id_36, Tags: { env: integration_tests, language: dotnet, @@ -907,11 +985,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_47, + SpanId: Id_50, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_34, + ParentId: Id_37, Tags: { env: integration_tests, language: dotnet, @@ -920,11 +998,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_48, + SpanId: Id_51, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_35, + ParentId: Id_38, Tags: { env: integration_tests, language: dotnet, @@ -933,11 +1011,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_49, + SpanId: Id_52, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_36, + ParentId: Id_39, Tags: { env: integration_tests, language: dotnet, @@ -946,11 +1024,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_50, + SpanId: Id_53, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_37, + ParentId: Id_40, Tags: { env: integration_tests, language: dotnet, @@ -959,11 +1037,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_51, + SpanId: Id_54, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_38, + ParentId: Id_41, Tags: { env: integration_tests, language: dotnet, @@ -972,11 +1050,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_52, + SpanId: Id_55, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_39, + ParentId: Id_42, Tags: { env: integration_tests, language: dotnet, @@ -985,11 +1063,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_53, + SpanId: Id_56, Name: EndServerAsyncAdd, Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_39, + ParentId: Id_42, Tags: { env: integration_tests, language: dotnet, @@ -998,11 +1076,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_54, + SpanId: Id_57, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_40, + ParentId: Id_43, Tags: { env: integration_tests, language: dotnet, @@ -1011,11 +1089,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_55, + SpanId: Id_58, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_41, + ParentId: Id_44, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt index ebede95ac793..c96b07fc3652 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt @@ -493,6 +493,84 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), TraceId: Id_11, SpanId: Id_29, Name: http.server.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue, + Service: Samples.Wcf, + Type: web, + ParentId: Id_13, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_30, + Name: http.server.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue, + Service: Samples.Wcf, + Type: web, + ParentId: Id_14, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_31, + Name: http.server.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT, + Service: Samples.Wcf, + Type: web, + ParentId: Id_15, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_32, + Name: http.server.request, Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, @@ -518,7 +596,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_30, + SpanId: Id_33, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, @@ -545,7 +623,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_31, + SpanId: Id_34, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, @@ -572,7 +650,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_32, + SpanId: Id_35, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, @@ -599,7 +677,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_33, + SpanId: Id_36, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, @@ -626,7 +704,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_34, + SpanId: Id_37, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, @@ -653,7 +731,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_35, + SpanId: Id_38, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, @@ -680,7 +758,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_36, + SpanId: Id_39, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -707,7 +785,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_37, + SpanId: Id_40, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -734,7 +812,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_38, + SpanId: Id_41, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -761,7 +839,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_39, + SpanId: Id_42, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -788,7 +866,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_40, + SpanId: Id_43, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -815,7 +893,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_41, + SpanId: Id_44, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, @@ -842,11 +920,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_42, + SpanId: Id_45, Name: ServerEmptyActionAdd, Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - ParentId: Id_29, + ParentId: Id_32, Tags: { env: integration_tests, language: dotnet, @@ -855,11 +933,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_43, + SpanId: Id_46, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_30, + ParentId: Id_33, Tags: { env: integration_tests, language: dotnet, @@ -868,11 +946,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_44, + SpanId: Id_47, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_31, + ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, @@ -881,11 +959,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_45, + SpanId: Id_48, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_32, + ParentId: Id_35, Tags: { env: integration_tests, language: dotnet, @@ -894,11 +972,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_46, + SpanId: Id_49, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_33, + ParentId: Id_36, Tags: { env: integration_tests, language: dotnet, @@ -907,11 +985,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_47, + SpanId: Id_50, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_34, + ParentId: Id_37, Tags: { env: integration_tests, language: dotnet, @@ -920,11 +998,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_48, + SpanId: Id_51, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_35, + ParentId: Id_38, Tags: { env: integration_tests, language: dotnet, @@ -933,11 +1011,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_49, + SpanId: Id_52, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_36, + ParentId: Id_39, Tags: { env: integration_tests, language: dotnet, @@ -946,11 +1024,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_50, + SpanId: Id_53, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_37, + ParentId: Id_40, Tags: { env: integration_tests, language: dotnet, @@ -959,11 +1037,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_51, + SpanId: Id_54, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_38, + ParentId: Id_41, Tags: { env: integration_tests, language: dotnet, @@ -972,11 +1050,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_52, + SpanId: Id_55, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_39, + ParentId: Id_42, Tags: { env: integration_tests, language: dotnet, @@ -985,11 +1063,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_53, + SpanId: Id_56, Name: EndServerAsyncAdd, Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_39, + ParentId: Id_42, Tags: { env: integration_tests, language: dotnet, @@ -998,11 +1076,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_54, + SpanId: Id_57, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_40, + ParentId: Id_43, Tags: { env: integration_tests, language: dotnet, @@ -1011,11 +1089,11 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), }, { TraceId: Id_11, - SpanId: Id_55, + SpanId: Id_58, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_41, + ParentId: Id_44, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index 638b979da269..e8ca0d9d9d38 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,215 +2,6 @@ { TraceId: Id_1, SpanId: Id_2, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_4, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_5, - SpanId: Id_6, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_7, - SpanId: Id_8, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_9, - SpanId: Id_10, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_12, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_13, - SpanId: Id_14, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_15, - SpanId: Id_16, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_17, - SpanId: Id_18, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_19, - SpanId: Id_20, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_21, - SpanId: Id_22, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_23, - SpanId: Id_24, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, @@ -237,141 +28,8 @@ } }, { - TraceId: Id_25, - SpanId: Id_26, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_27, - SpanId: Id_28, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_29, - SpanId: Id_30, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_31, - SpanId: Id_32, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_33, - SpanId: Id_34, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_35, - SpanId: Id_36, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_37, - SpanId: Id_38, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_39, - SpanId: Id_40, + TraceId: Id_3, + SpanId: Id_4, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -394,13 +52,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_41, + TraceId: Id_3, + SpanId: Id_5, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -416,13 +74,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_42, + TraceId: Id_3, + SpanId: Id_6, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -438,13 +96,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_43, + TraceId: Id_3, + SpanId: Id_7, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -460,13 +118,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_44, + TraceId: Id_3, + SpanId: Id_8, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -482,13 +140,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_45, + TraceId: Id_3, + SpanId: Id_9, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -504,13 +162,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_46, + TraceId: Id_3, + SpanId: Id_10, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -526,13 +184,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_47, + TraceId: Id_3, + SpanId: Id_11, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -548,13 +206,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_48, + TraceId: Id_3, + SpanId: Id_12, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -570,13 +228,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_49, + TraceId: Id_3, + SpanId: Id_13, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -592,13 +250,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_50, + TraceId: Id_3, + SpanId: Id_14, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -614,13 +272,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_51, + TraceId: Id_3, + SpanId: Id_15, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -636,13 +294,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_52, + TraceId: Id_3, + SpanId: Id_16, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -658,13 +316,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_53, + TraceId: Id_3, + SpanId: Id_17, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -685,13 +343,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_54, + TraceId: Id_3, + SpanId: Id_18, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -707,13 +365,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_55, + TraceId: Id_3, + SpanId: Id_19, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -734,35 +392,113 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_56, + TraceId: Id_3, + SpanId: Id_20, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - Type: http, - ParentId: Id_40, + Type: http, + ParentId: Id_4, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_3, + SpanId: Id_21, + Name: http.server.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue, + Service: Samples.Wcf, + Type: web, + ParentId: Id_5, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_22, + Name: http.server.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue, + Service: Samples.Wcf, + Type: web, + ParentId: Id_6, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_23, + Name: http.server.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT, + Service: Samples.Wcf, + Type: web, + ParentId: Id_7, Tags: { - component: WebRequest, + component: Wcf, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_39, - SpanId: Id_57, + TraceId: Id_3, + SpanId: Id_24, Name: http.server.request, Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_44, + ParentId: Id_8, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -783,13 +519,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_58, + TraceId: Id_3, + SpanId: Id_25, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_45, + ParentId: Id_9, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -810,13 +546,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_59, + TraceId: Id_3, + SpanId: Id_26, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_46, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -837,13 +573,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_60, + TraceId: Id_3, + SpanId: Id_27, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_47, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -864,13 +600,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_61, + TraceId: Id_3, + SpanId: Id_28, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_48, + ParentId: Id_12, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -891,13 +627,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_62, + TraceId: Id_3, + SpanId: Id_29, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_49, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -918,13 +654,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_63, + TraceId: Id_3, + SpanId: Id_30, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_50, + ParentId: Id_14, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -945,13 +681,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_64, + TraceId: Id_3, + SpanId: Id_31, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_51, + ParentId: Id_15, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -972,13 +708,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_65, + TraceId: Id_3, + SpanId: Id_32, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_52, + ParentId: Id_16, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -999,13 +735,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_66, + TraceId: Id_3, + SpanId: Id_33, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_53, + ParentId: Id_17, Error: 1, Tags: { component: Wcf, @@ -1032,13 +768,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_39, - SpanId: Id_67, + TraceId: Id_3, + SpanId: Id_34, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_54, + ParentId: Id_18, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -1059,13 +795,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_39, - SpanId: Id_68, + TraceId: Id_3, + SpanId: Id_35, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_55, + ParentId: Id_19, Error: 1, Tags: { component: Wcf, @@ -1092,13 +828,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_39, - SpanId: Id_69, + TraceId: Id_3, + SpanId: Id_36, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_56, + ParentId: Id_20, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -1117,5 +853,239 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_3, + SpanId: Id_37, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_38, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_39, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_40, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_27, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_41, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_28, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_42, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_29, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_43, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_44, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_31, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_45, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_31, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_46, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_47, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_48, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_33, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_49, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_33, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_50, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_51, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_52, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_35, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_53, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_36, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_54, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_36, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 853273c3e56d..747b4d975f50 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,215 +2,6 @@ { TraceId: Id_1, SpanId: Id_2, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_4, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_5, - SpanId: Id_6, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_7, - SpanId: Id_8, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_9, - SpanId: Id_10, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_12, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_13, - SpanId: Id_14, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_15, - SpanId: Id_16, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_17, - SpanId: Id_18, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_19, - SpanId: Id_20, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_21, - SpanId: Id_22, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_23, - SpanId: Id_24, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, @@ -237,141 +28,8 @@ } }, { - TraceId: Id_25, - SpanId: Id_26, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_27, - SpanId: Id_28, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_29, - SpanId: Id_30, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_31, - SpanId: Id_32, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_33, - SpanId: Id_34, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_35, - SpanId: Id_36, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_37, - SpanId: Id_38, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, - Service: Samples.Wcf, - Tags: { - env: integration_tests, - language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_39, - SpanId: Id_40, + TraceId: Id_3, + SpanId: Id_4, Name: internal, Resource: WebClient, Service: Samples.Wcf, @@ -394,13 +52,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_41, + TraceId: Id_3, + SpanId: Id_5, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -416,13 +74,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_42, + TraceId: Id_3, + SpanId: Id_6, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -438,13 +96,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_43, + TraceId: Id_3, + SpanId: Id_7, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -460,13 +118,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_44, + TraceId: Id_3, + SpanId: Id_8, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -482,13 +140,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_45, + TraceId: Id_3, + SpanId: Id_9, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -504,13 +162,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_46, + TraceId: Id_3, + SpanId: Id_10, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -526,13 +184,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_47, + TraceId: Id_3, + SpanId: Id_11, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -548,13 +206,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_48, + TraceId: Id_3, + SpanId: Id_12, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -570,13 +228,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_49, + TraceId: Id_3, + SpanId: Id_13, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -592,13 +250,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_50, + TraceId: Id_3, + SpanId: Id_14, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -614,13 +272,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_51, + TraceId: Id_3, + SpanId: Id_15, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -636,13 +294,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_52, + TraceId: Id_3, + SpanId: Id_16, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -658,13 +316,13 @@ } }, { - TraceId: Id_39, - SpanId: Id_53, + TraceId: Id_3, + SpanId: Id_17, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -685,13 +343,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_54, + TraceId: Id_3, + SpanId: Id_18, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -707,13 +365,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_55, + TraceId: Id_3, + SpanId: Id_19, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_40, + ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -734,35 +392,113 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_56, + TraceId: Id_3, + SpanId: Id_20, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - Type: http, - ParentId: Id_40, + Type: http, + ParentId: Id_4, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_3, + SpanId: Id_21, + Name: http.server.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue, + Service: Samples.Wcf, + Type: web, + ParentId: Id_5, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_22, + Name: http.server.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue, + Service: Samples.Wcf, + Type: web, + ParentId: Id_6, + Tags: { + component: Wcf, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_23, + Name: http.server.request, + Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT, + Service: Samples.Wcf, + Type: web, + ParentId: Id_7, Tags: { - component: WebRequest, + component: Wcf, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_39, - SpanId: Id_57, + TraceId: Id_3, + SpanId: Id_24, Name: http.server.request, Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_44, + ParentId: Id_8, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -783,13 +519,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_58, + TraceId: Id_3, + SpanId: Id_25, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_45, + ParentId: Id_9, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -810,13 +546,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_59, + TraceId: Id_3, + SpanId: Id_26, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_46, + ParentId: Id_10, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -837,13 +573,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_60, + TraceId: Id_3, + SpanId: Id_27, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_47, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -864,13 +600,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_61, + TraceId: Id_3, + SpanId: Id_28, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_48, + ParentId: Id_12, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -891,13 +627,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_62, + TraceId: Id_3, + SpanId: Id_29, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_49, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -918,13 +654,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_63, + TraceId: Id_3, + SpanId: Id_30, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_50, + ParentId: Id_14, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -945,13 +681,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_64, + TraceId: Id_3, + SpanId: Id_31, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_51, + ParentId: Id_15, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -972,13 +708,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_65, + TraceId: Id_3, + SpanId: Id_32, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_52, + ParentId: Id_16, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -999,13 +735,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_39, - SpanId: Id_66, + TraceId: Id_3, + SpanId: Id_33, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_53, + ParentId: Id_17, Error: 1, Tags: { component: Wcf, @@ -1032,13 +768,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_39, - SpanId: Id_67, + TraceId: Id_3, + SpanId: Id_34, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_54, + ParentId: Id_18, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -1059,13 +795,13 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_39, - SpanId: Id_68, + TraceId: Id_3, + SpanId: Id_35, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_55, + ParentId: Id_19, Error: 1, Tags: { component: Wcf, @@ -1092,13 +828,13 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_39, - SpanId: Id_69, + TraceId: Id_3, + SpanId: Id_36, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_56, + ParentId: Id_20, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -1117,5 +853,239 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 _dd.tracer_kr: 1.0, _sampling_priority_v1: 1.0 } + }, + { + TraceId: Id_3, + SpanId: Id_37, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_38, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_39, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_40, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_27, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_41, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_28, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_42, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_29, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_43, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_44, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_31, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_45, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_31, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_46, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_47, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_48, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_33, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_49, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_33, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_50, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_51, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_34, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_52, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_35, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_53, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_36, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_3, + SpanId: Id_54, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_36, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } } ] \ No newline at end of file From f7357796b65466e57019dd74b3ccda4925764d7c Mon Sep 17 00:00:00 2001 From: Andrew Lock Date: Wed, 19 Nov 2025 17:57:27 +0000 Subject: [PATCH 5/6] Create separate traces to make more stable snapshots --- .../WcfTests.cs | 10 +- .../WcfTests.WebHttp_v0.disabled.verified.txt | 254 ++-- .../WcfTests.WebHttp_v0.webHttp.verified.txt | 254 ++-- .../WcfTests.WebHttp_v1.disabled.verified.txt | 256 ++-- .../WcfTests.WebHttp_v1.webHttp.verified.txt | 256 ++-- ...se_enableWcfObfuscation=False.verified.txt | 965 ++++++++------ ...lse_enableWcfObfuscation=True.verified.txt | 965 ++++++++------ ...ue_enableWcfObfuscation=False.verified.txt | 1021 +++++++++------ ...rue_enableWcfObfuscation=True.verified.txt | 1021 +++++++++------ ...rue_enableWcfObfuscation=True.verified.txt | 349 ++++- ...se_enableWcfObfuscation=False.verified.txt | 575 +++++--- ...lse_enableWcfObfuscation=True.verified.txt | 575 +++++--- ...ue_enableWcfObfuscation=False.verified.txt | 621 ++++++--- ...rue_enableWcfObfuscation=True.verified.txt | 621 ++++++--- ...se_enableWcfObfuscation=False.verified.txt | 1077 +++++++++------ ...lse_enableWcfObfuscation=True.verified.txt | 1077 +++++++++------ ...ue_enableWcfObfuscation=False.verified.txt | 1161 ++++++++++------- ...rue_enableWcfObfuscation=True.verified.txt | 1161 ++++++++++------- ...se_enableWcfObfuscation=False.verified.txt | 959 ++++++++------ ...lse_enableWcfObfuscation=True.verified.txt | 959 ++++++++------ ...ue_enableWcfObfuscation=False.verified.txt | 991 ++++++++------ ...rue_enableWcfObfuscation=True.verified.txt | 991 ++++++++------ ...rue_enableWcfObfuscation=True.verified.txt | 323 ++++- ...se_enableWcfObfuscation=False.verified.txt | 575 +++++--- ...lse_enableWcfObfuscation=True.verified.txt | 575 +++++--- ...ue_enableWcfObfuscation=False.verified.txt | 621 ++++++--- ...rue_enableWcfObfuscation=True.verified.txt | 621 ++++++--- ...se_enableWcfObfuscation=False.verified.txt | 1133 +++++++++------- ...lse_enableWcfObfuscation=True.verified.txt | 1133 +++++++++------- ...ue_enableWcfObfuscation=False.verified.txt | 1135 +++++++++------- ...rue_enableWcfObfuscation=True.verified.txt | 1135 +++++++++------- .../Samples.Wcf/Client/Startup.cs | 40 +- .../integrations/Samples.Wcf/Program.cs | 59 +- 33 files changed, 14794 insertions(+), 8675 deletions(-) diff --git a/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/WcfTests.cs b/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/WcfTests.cs index cadab3602887..c0ff107ed1ff 100644 --- a/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/WcfTests.cs +++ b/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/WcfTests.cs @@ -96,10 +96,10 @@ public async Task SubmitsTraces(string metadataSchemaVersion, string binding, bo var expectedSpanCount = binding switch { - "Custom" => 14, - "NetTcpBinding" => 32, - "BasicHttpBinding" => 45, - "WSHttpBinding" => 52, + "Custom" => 26, + "NetTcpBinding" => 44, + "BasicHttpBinding" => 57, + "WSHttpBinding" => 64, _ => throw new InvalidOperationException("Unknown binding " + binding), }; @@ -138,7 +138,7 @@ public async Task WebHttp(string metadataSchemaVersion, bool enableNewWcfInstrum Output.WriteLine("Starting WcfTests.SubmitsTraces. Starting the Samples.Wcf requires ADMIN privileges"); - var expectedSpanCount = 13; + var expectedSpanCount = 16; using var telemetry = this.ConfigureTelemetry(); int wcfPort = 8585; diff --git a/tracer/test/snapshots/WcfTests.WebHttp_v0.disabled.verified.txt b/tracer/test/snapshots/WcfTests.WebHttp_v0.disabled.verified.txt index b347e4fd56b3..256ad4a53788 100644 --- a/tracer/test/snapshots/WcfTests.WebHttp_v0.disabled.verified.txt +++ b/tracer/test/snapshots/WcfTests.WebHttp_v0.disabled.verified.txt @@ -3,7 +3,7 @@ TraceId: Id_1, SpanId: Id_2, Name: internal, - Resource: WebClient, + Resource: ServerSyncAddJson, Service: Samples.Wcf, Type: custom, Tags: { @@ -50,59 +50,75 @@ { TraceId: Id_1, SpanId: Id_4, - Name: http.request, - Resource: GET localhost:00000/ServerSyncAddXml/?/n2=2, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + Name: wcf.request, + Resource: /ServerSyncAddJson/?/n2=2, + Service: Samples.Wcf, + Type: web, + ParentId: Id_3, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: GET, - http.status_code: 200, - http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, - out.host: localhost, runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { TraceId: Id_1, SpanId: Id_5, - Name: http.request, - Resource: POST localhost:00000/ServerTaskAddPost, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + Name: ServerSyncAddJson, + Resource: ServerSyncAddJson, + Service: Samples.Wcf, + ParentId: Id_4, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/ServerTaskAddPost, language: dotnet, - out.host: localhost, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_7, + Name: internal, + Resource: ServerSyncAddWrapped, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_3, runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: internal, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_6, + SpanId: Id_8, Name: http.request, Resource: POST localhost:00000/ServerSyncAddWrapped, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_7, Tags: { component: WebRequest, env: integration_tests, @@ -120,20 +136,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_6, + SpanId: Id_9, Name: wcf.request, - Resource: /ServerSyncAddJson/?/n2=2, + Resource: /ServerSyncAddWrapped, Service: Samples.Wcf, Type: web, - ParentId: Id_3, + ParentId: Id_8, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: GET, + http.method: POST, http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, + http.url: http://localhost:00000/ServerSyncAddWrapped, language: dotnet, runtime-id: Guid_2, span.kind: server, @@ -147,23 +163,33 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, - Name: wcf.request, - Resource: /ServerSyncAddXml/?/n2=2, + TraceId: Id_6, + SpanId: Id_10, + Name: ServerSyncAddWrapped, + Resource: ServerSyncAddWrapped, Service: Samples.Wcf, - Type: web, - ParentId: Id_4, + ParentId: Id_9, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: GET, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: internal, + Resource: ServerSyncAddXml, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_4, runtime-id: Guid_2, - span.kind: server, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -174,47 +200,44 @@ } }, { - TraceId: Id_1, - SpanId: Id_9, - Name: wcf.request, - Resource: /ServerTaskAddPost, - Service: Samples.Wcf, - Type: web, - ParentId: Id_5, + TraceId: Id_11, + SpanId: Id_13, + Name: http.request, + Resource: GET localhost:00000/ServerSyncAddXml/?/n2=2, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerTaskAddPost, + http.method: GET, + http.status_code: 200, + http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, + out.host: localhost, runtime-id: Guid_2, - span.kind: server, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_11, + SpanId: Id_14, Name: wcf.request, - Resource: /ServerSyncAddWrapped, + Resource: /ServerSyncAddXml/?/n2=2, Service: Samples.Wcf, Type: web, - ParentId: Id_6, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, + http.method: GET, http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddWrapped, + http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, runtime-id: Guid_2, span.kind: server, @@ -228,12 +251,12 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, - Name: ServerSyncAddJson, - Resource: ServerSyncAddJson, + TraceId: Id_11, + SpanId: Id_15, + Name: ServerSyncAddXml, + Resource: ServerSyncAddXml, Service: Samples.Wcf, - ParentId: Id_7, + ParentId: Id_14, Tags: { env: integration_tests, language: dotnet, @@ -241,38 +264,87 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, - Name: ServerSyncAddXml, - Resource: ServerSyncAddXml, + TraceId: Id_16, + SpanId: Id_17, + Name: internal, + Resource: ServerTaskAddPost, Service: Samples.Wcf, - ParentId: Id_8, + Type: custom, Tags: { env: integration_tests, language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_5, + runtime-id: Guid_2, + span.kind: internal, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_13, - Name: ServerTaskAddPost, - Resource: ServerTaskAddPost, + TraceId: Id_16, + SpanId: Id_18, + Name: http.request, + Resource: POST localhost:00000/ServerTaskAddPost, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_17, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/ServerTaskAddPost, + language: dotnet, + out.host: localhost, + runtime-id: Guid_2, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_16, + SpanId: Id_19, + Name: wcf.request, + Resource: /ServerTaskAddPost, Service: Samples.Wcf, - ParentId: Id_9, + Type: web, + ParentId: Id_18, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/ServerTaskAddPost, language: dotnet, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_14, - Name: ServerSyncAddWrapped, - Resource: ServerSyncAddWrapped, + TraceId: Id_16, + SpanId: Id_20, + Name: ServerTaskAddPost, + Resource: ServerTaskAddPost, Service: Samples.Wcf, - ParentId: Id_10, + ParentId: Id_19, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.WebHttp_v0.webHttp.verified.txt b/tracer/test/snapshots/WcfTests.WebHttp_v0.webHttp.verified.txt index d69f5f3603e0..a00de0629159 100644 --- a/tracer/test/snapshots/WcfTests.WebHttp_v0.webHttp.verified.txt +++ b/tracer/test/snapshots/WcfTests.WebHttp_v0.webHttp.verified.txt @@ -3,7 +3,7 @@ TraceId: Id_1, SpanId: Id_2, Name: internal, - Resource: WebClient, + Resource: ServerSyncAddJson, Service: Samples.Wcf, Type: custom, Tags: { @@ -50,59 +50,75 @@ { TraceId: Id_1, SpanId: Id_4, - Name: http.request, - Resource: GET localhost:00000/ServerSyncAddXml/?/n2=2, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + Name: wcf.request, + Resource: GET /ServerSyncAddJson/{n1}/n2={n2}, + Service: Samples.Wcf, + Type: web, + ParentId: Id_3, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: GET, - http.status_code: 200, - http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, - out.host: localhost, runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { TraceId: Id_1, SpanId: Id_5, - Name: http.request, - Resource: POST localhost:00000/ServerTaskAddPost, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + Name: ServerSyncAddJson, + Resource: ServerSyncAddJson, + Service: Samples.Wcf, + ParentId: Id_4, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/ServerTaskAddPost, language: dotnet, - out.host: localhost, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_7, + Name: internal, + Resource: ServerSyncAddWrapped, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_3, runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: internal, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_6, + SpanId: Id_8, Name: http.request, Resource: POST localhost:00000/ServerSyncAddWrapped, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_7, Tags: { component: WebRequest, env: integration_tests, @@ -120,20 +136,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_6, + SpanId: Id_9, Name: wcf.request, - Resource: GET /ServerSyncAddJson/{n1}/n2={n2}, + Resource: POST /ServerSyncAddWrapped, Service: Samples.Wcf, Type: web, - ParentId: Id_3, + ParentId: Id_8, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: GET, + http.method: POST, http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, + http.url: http://localhost:00000/ServerSyncAddWrapped, language: dotnet, runtime-id: Guid_2, span.kind: server, @@ -147,23 +163,33 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, - Name: wcf.request, - Resource: GET /ServerSyncAddXml/{n1}/n2={n2}, + TraceId: Id_6, + SpanId: Id_10, + Name: ServerSyncAddWrapped, + Resource: ServerSyncAddWrapped, Service: Samples.Wcf, - Type: web, - ParentId: Id_4, + ParentId: Id_9, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: GET, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: internal, + Resource: ServerSyncAddXml, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_4, runtime-id: Guid_2, - span.kind: server, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -174,47 +200,44 @@ } }, { - TraceId: Id_1, - SpanId: Id_9, - Name: wcf.request, - Resource: POST /ServerTaskAddPost, - Service: Samples.Wcf, - Type: web, - ParentId: Id_5, + TraceId: Id_11, + SpanId: Id_13, + Name: http.request, + Resource: GET localhost:00000/ServerSyncAddXml/?/n2=2, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_12, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerTaskAddPost, + http.method: GET, + http.status_code: 200, + http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, + out.host: localhost, runtime-id: Guid_2, - span.kind: server, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_11, + SpanId: Id_14, Name: wcf.request, - Resource: POST /ServerSyncAddWrapped, + Resource: GET /ServerSyncAddXml/{n1}/n2={n2}, Service: Samples.Wcf, Type: web, - ParentId: Id_6, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, + http.method: GET, http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddWrapped, + http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, runtime-id: Guid_2, span.kind: server, @@ -228,12 +251,12 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, - Name: ServerSyncAddJson, - Resource: ServerSyncAddJson, + TraceId: Id_11, + SpanId: Id_15, + Name: ServerSyncAddXml, + Resource: ServerSyncAddXml, Service: Samples.Wcf, - ParentId: Id_7, + ParentId: Id_14, Tags: { env: integration_tests, language: dotnet, @@ -241,38 +264,87 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, - Name: ServerSyncAddXml, - Resource: ServerSyncAddXml, + TraceId: Id_16, + SpanId: Id_17, + Name: internal, + Resource: ServerTaskAddPost, Service: Samples.Wcf, - ParentId: Id_8, + Type: custom, Tags: { env: integration_tests, language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_5, + runtime-id: Guid_2, + span.kind: internal, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_13, - Name: ServerTaskAddPost, - Resource: ServerTaskAddPost, + TraceId: Id_16, + SpanId: Id_18, + Name: http.request, + Resource: POST localhost:00000/ServerTaskAddPost, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_17, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/ServerTaskAddPost, + language: dotnet, + out.host: localhost, + runtime-id: Guid_2, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_16, + SpanId: Id_19, + Name: wcf.request, + Resource: POST /ServerTaskAddPost, Service: Samples.Wcf, - ParentId: Id_9, + Type: web, + ParentId: Id_18, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/ServerTaskAddPost, language: dotnet, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_14, - Name: ServerSyncAddWrapped, - Resource: ServerSyncAddWrapped, + TraceId: Id_16, + SpanId: Id_20, + Name: ServerTaskAddPost, + Resource: ServerTaskAddPost, Service: Samples.Wcf, - ParentId: Id_10, + ParentId: Id_19, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.WebHttp_v1.disabled.verified.txt b/tracer/test/snapshots/WcfTests.WebHttp_v1.disabled.verified.txt index 77053f663577..373a2d9f59e0 100644 --- a/tracer/test/snapshots/WcfTests.WebHttp_v1.disabled.verified.txt +++ b/tracer/test/snapshots/WcfTests.WebHttp_v1.disabled.verified.txt @@ -3,7 +3,7 @@ TraceId: Id_1, SpanId: Id_2, Name: internal, - Resource: WebClient, + Resource: ServerSyncAddJson, Service: Samples.Wcf, Type: custom, Tags: { @@ -48,55 +48,75 @@ { TraceId: Id_1, SpanId: Id_4, - Name: http.client.request, - Resource: GET localhost:00000/ServerSyncAddXml/?/n2=2, + Name: http.server.request, + Resource: /ServerSyncAddJson/?/n2=2, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, + Type: web, + ParentId: Id_3, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: GET, - http.status_code: 200, - http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_2, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { TraceId: Id_1, SpanId: Id_5, - Name: http.client.request, - Resource: POST localhost:00000/ServerTaskAddPost, + Name: ServerSyncAddJson, + Resource: ServerSyncAddJson, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, + ParentId: Id_4, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/ServerTaskAddPost, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + version: 1.0.0 } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_6, + SpanId: Id_7, + Name: internal, + Resource: ServerSyncAddWrapped, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_3, + runtime-id: Guid_2, + span.kind: internal, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_8, Name: http.client.request, Resource: POST localhost:00000/ServerSyncAddWrapped, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_7, Tags: { component: WebRequest, env: integration_tests, @@ -112,20 +132,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_6, + SpanId: Id_9, Name: http.server.request, - Resource: /ServerSyncAddJson/?/n2=2, + Resource: /ServerSyncAddWrapped, Service: Samples.Wcf, Type: web, - ParentId: Id_3, + ParentId: Id_8, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: GET, + http.method: POST, http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, + http.url: http://localhost:00000/ServerSyncAddWrapped, language: dotnet, runtime-id: Guid_2, span.kind: server, @@ -139,50 +159,33 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, - Name: http.server.request, - Resource: /ServerSyncAddXml/?/n2=2, + TraceId: Id_6, + SpanId: Id_10, + Name: ServerSyncAddWrapped, + Resource: ServerSyncAddWrapped, Service: Samples.Wcf, - Type: web, - ParentId: Id_4, + ParentId: Id_9, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: GET, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, - runtime-id: Guid_2, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_9, - Name: http.server.request, - Resource: /ServerTaskAddPost, + TraceId: Id_11, + SpanId: Id_12, + Name: internal, + Resource: ServerSyncAddXml, Service: Samples.Wcf, - Type: web, - ParentId: Id_5, + Type: custom, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerTaskAddPost, language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_4, runtime-id: Guid_2, - span.kind: server, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -193,20 +196,42 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_11, + SpanId: Id_13, + Name: http.client.request, + Resource: GET localhost:00000/ServerSyncAddXml/?/n2=2, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: GET, + http.status_code: 200, + http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_14, Name: http.server.request, - Resource: /ServerSyncAddWrapped, + Resource: /ServerSyncAddXml/?/n2=2, Service: Samples.Wcf, Type: web, - ParentId: Id_6, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, + http.method: GET, http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddWrapped, + http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, runtime-id: Guid_2, span.kind: server, @@ -220,12 +245,12 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, - Name: ServerSyncAddJson, - Resource: ServerSyncAddJson, + TraceId: Id_11, + SpanId: Id_15, + Name: ServerSyncAddXml, + Resource: ServerSyncAddXml, Service: Samples.Wcf, - ParentId: Id_7, + ParentId: Id_14, Tags: { env: integration_tests, language: dotnet, @@ -233,38 +258,85 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, - Name: ServerSyncAddXml, - Resource: ServerSyncAddXml, + TraceId: Id_16, + SpanId: Id_17, + Name: internal, + Resource: ServerTaskAddPost, Service: Samples.Wcf, - ParentId: Id_8, + Type: custom, Tags: { env: integration_tests, language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_5, + runtime-id: Guid_2, + span.kind: internal, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_13, - Name: ServerTaskAddPost, - Resource: ServerTaskAddPost, + TraceId: Id_16, + SpanId: Id_18, + Name: http.client.request, + Resource: POST localhost:00000/ServerTaskAddPost, Service: Samples.Wcf, - ParentId: Id_9, + Type: http, + ParentId: Id_17, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/ServerTaskAddPost, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_16, + SpanId: Id_19, + Name: http.server.request, + Resource: /ServerTaskAddPost, + Service: Samples.Wcf, + Type: web, + ParentId: Id_18, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/ServerTaskAddPost, language: dotnet, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_14, - Name: ServerSyncAddWrapped, - Resource: ServerSyncAddWrapped, + TraceId: Id_16, + SpanId: Id_20, + Name: ServerTaskAddPost, + Resource: ServerTaskAddPost, Service: Samples.Wcf, - ParentId: Id_10, + ParentId: Id_19, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.WebHttp_v1.webHttp.verified.txt b/tracer/test/snapshots/WcfTests.WebHttp_v1.webHttp.verified.txt index cca558e304e6..6bd97337f882 100644 --- a/tracer/test/snapshots/WcfTests.WebHttp_v1.webHttp.verified.txt +++ b/tracer/test/snapshots/WcfTests.WebHttp_v1.webHttp.verified.txt @@ -3,7 +3,7 @@ TraceId: Id_1, SpanId: Id_2, Name: internal, - Resource: WebClient, + Resource: ServerSyncAddJson, Service: Samples.Wcf, Type: custom, Tags: { @@ -48,55 +48,75 @@ { TraceId: Id_1, SpanId: Id_4, - Name: http.client.request, - Resource: GET localhost:00000/ServerSyncAddXml/?/n2=2, + Name: http.server.request, + Resource: GET /ServerSyncAddJson/{n1}/n2={n2}, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, + Type: web, + ParentId: Id_3, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: GET, - http.status_code: 200, - http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_2, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { TraceId: Id_1, SpanId: Id_5, - Name: http.client.request, - Resource: POST localhost:00000/ServerTaskAddPost, + Name: ServerSyncAddJson, + Resource: ServerSyncAddJson, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, + ParentId: Id_4, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/ServerTaskAddPost, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + version: 1.0.0 } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_6, + SpanId: Id_7, + Name: internal, + Resource: ServerSyncAddWrapped, + Service: Samples.Wcf, + Type: custom, + Tags: { + env: integration_tests, + language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_3, + runtime-id: Guid_2, + span.kind: internal, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_8, Name: http.client.request, Resource: POST localhost:00000/ServerSyncAddWrapped, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_7, Tags: { component: WebRequest, env: integration_tests, @@ -112,20 +132,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_6, + SpanId: Id_9, Name: http.server.request, - Resource: GET /ServerSyncAddJson/{n1}/n2={n2}, + Resource: POST /ServerSyncAddWrapped, Service: Samples.Wcf, Type: web, - ParentId: Id_3, + ParentId: Id_8, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: GET, + http.method: POST, http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddJson/1/n2=2, + http.url: http://localhost:00000/ServerSyncAddWrapped, language: dotnet, runtime-id: Guid_2, span.kind: server, @@ -139,50 +159,33 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, - Name: http.server.request, - Resource: GET /ServerSyncAddXml/{n1}/n2={n2}, + TraceId: Id_6, + SpanId: Id_10, + Name: ServerSyncAddWrapped, + Resource: ServerSyncAddWrapped, Service: Samples.Wcf, - Type: web, - ParentId: Id_4, + ParentId: Id_9, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: GET, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, - runtime-id: Guid_2, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_9, - Name: http.server.request, - Resource: POST /ServerTaskAddPost, + TraceId: Id_11, + SpanId: Id_12, + Name: internal, + Resource: ServerSyncAddXml, Service: Samples.Wcf, - Type: web, - ParentId: Id_5, + Type: custom, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerTaskAddPost, language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_4, runtime-id: Guid_2, - span.kind: server, + span.kind: internal, version: 1.0.0 }, Metrics: { @@ -193,20 +196,42 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_11, + SpanId: Id_13, + Name: http.client.request, + Resource: GET localhost:00000/ServerSyncAddXml/?/n2=2, + Service: Samples.Wcf, + Type: http, + ParentId: Id_12, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: GET, + http.status_code: 200, + http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_11, + SpanId: Id_14, Name: http.server.request, - Resource: POST /ServerSyncAddWrapped, + Resource: GET /ServerSyncAddXml/{n1}/n2={n2}, Service: Samples.Wcf, Type: web, - ParentId: Id_6, + ParentId: Id_13, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, + http.method: GET, http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/ServerSyncAddWrapped, + http.url: http://localhost:00000/ServerSyncAddXml/1/n2=2, language: dotnet, runtime-id: Guid_2, span.kind: server, @@ -220,12 +245,12 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, - Name: ServerSyncAddJson, - Resource: ServerSyncAddJson, + TraceId: Id_11, + SpanId: Id_15, + Name: ServerSyncAddXml, + Resource: ServerSyncAddXml, Service: Samples.Wcf, - ParentId: Id_7, + ParentId: Id_14, Tags: { env: integration_tests, language: dotnet, @@ -233,38 +258,85 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, - Name: ServerSyncAddXml, - Resource: ServerSyncAddXml, + TraceId: Id_16, + SpanId: Id_17, + Name: internal, + Resource: ServerTaskAddPost, Service: Samples.Wcf, - ParentId: Id_8, + Type: custom, Tags: { env: integration_tests, language: dotnet, + otel.library.name: Samples.Wcf, + otel.status_code: STATUS_CODE_UNSET, + otel.trace_id: Guid_5, + runtime-id: Guid_2, + span.kind: internal, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_13, - Name: ServerTaskAddPost, - Resource: ServerTaskAddPost, + TraceId: Id_16, + SpanId: Id_18, + Name: http.client.request, + Resource: POST localhost:00000/ServerTaskAddPost, Service: Samples.Wcf, - ParentId: Id_9, + Type: http, + ParentId: Id_17, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/ServerTaskAddPost, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_16, + SpanId: Id_19, + Name: http.server.request, + Resource: POST /ServerTaskAddPost, + Service: Samples.Wcf, + Type: web, + ParentId: Id_18, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/ServerTaskAddPost, language: dotnet, + runtime-id: Guid_2, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_14, - Name: ServerSyncAddWrapped, - Resource: ServerSyncAddWrapped, + TraceId: Id_16, + SpanId: Id_20, + Name: ServerTaskAddPost, + Resource: ServerTaskAddPost, Service: Samples.Wcf, - ParentId: Id_10, + ParentId: Id_19, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt index e506fabea4d6..c9f88536349e 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt @@ -2,8 +2,8 @@ { TraceId: Id_1, SpanId: Id_2, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -19,34 +19,47 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, + TraceId: Id_1, + SpanId: Id_3, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_5, - SpanId: Id_6, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_4, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_3, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -57,39 +70,28 @@ } }, { - TraceId: Id_7, - SpanId: Id_8, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_5, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, + ParentId: Id_4, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_10, - Name: internal, - Resource: WebClient, + TraceId: Id_6, + SpanId: Id_7, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 }, Metrics: { @@ -100,13 +102,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_11, + TraceId: Id_6, + SpanId: Id_8, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_7, Tags: { component: WebRequest, env: integration_tests, @@ -124,66 +126,95 @@ } }, { - TraceId: Id_9, - SpanId: Id_12, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_10, + TraceId: Id_6, + SpanId: Id_9, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_8, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_11, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 } }, { - TraceId: Id_9, + TraceId: Id_12, SpanId: Id_13, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_10, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, + TraceId: Id_12, SpanId: Id_14, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_13, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -196,66 +227,82 @@ } }, { - TraceId: Id_9, + TraceId: Id_12, SpanId: Id_15, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_10, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_14, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, + TraceId: Id_12, SpanId: Id_16, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_15, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_17, + SpanId: Id_18, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_17, + TraceId: Id_17, + SpanId: Id_19, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_18, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -268,71 +315,77 @@ } }, { - TraceId: Id_9, - SpanId: Id_18, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_10, + TraceId: Id_17, + SpanId: Id_20, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_19, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_19, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_10, + TraceId: Id_17, + SpanId: Id_21, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_23, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_20, + TraceId: Id_22, + SpanId: Id_24, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_23, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -345,66 +398,72 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_21, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_10, + TraceId: Id_22, + SpanId: Id_25, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_24, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_22, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_10, + TraceId: Id_22, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, - http.method: POST, - http.status_code: 500, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_23, + TraceId: Id_27, + SpanId: Id_29, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_28, Tags: { component: WebRequest, env: integration_tests, @@ -422,13 +481,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_24, + TraceId: Id_27, + SpanId: Id_30, Name: wcf.request, - Resource: /WcfSample/123,123/CalculatorService, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_29, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -449,23 +508,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_25, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_27, + SpanId: Id_31, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_32, + SpanId: Id_33, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_12, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -476,23 +540,15 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_26, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_34, + SpanId: Id_35, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -503,23 +559,15 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_27, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_36, + SpanId: Id_37, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_14, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -530,23 +578,15 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_28, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_38, + SpanId: Id_39, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_15, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -557,23 +597,15 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_29, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_40, + SpanId: Id_41, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_16, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -584,40 +616,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_30, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_17, + TraceId: Id_40, + SpanId: Id_42, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_41, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_31, + TraceId: Id_40, + SpanId: Id_43, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_18, + ParentId: Id_42, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -638,23 +667,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_32, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_40, + SpanId: Id_44, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_43, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_45, + SpanId: Id_46, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_19, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -665,40 +699,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_33, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_20, + TraceId: Id_45, + SpanId: Id_47, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_46, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_34, + TraceId: Id_45, + SpanId: Id_48, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -719,23 +750,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_35, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_49, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_48, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_50, + SpanId: Id_51, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_22, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -746,13 +782,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_36, + TraceId: Id_50, + SpanId: Id_52, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_51, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_50, + SpanId: Id_53, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_52, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -773,12 +833,12 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_37, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_50, + SpanId: Id_54, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_24, + ParentId: Id_53, Tags: { env: integration_tests, language: dotnet, @@ -786,51 +846,82 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_38, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_55, + SpanId: Id_56, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_25, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_39, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - ParentId: Id_26, + TraceId: Id_55, + SpanId: Id_57, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_56, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_40, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_55, + SpanId: Id_58, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_27, + Type: web, + ParentId: Id_57, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_41, + TraceId: Id_55, + SpanId: Id_59, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_28, + ParentId: Id_58, Tags: { env: integration_tests, language: dotnet, @@ -838,38 +929,82 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_42, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_60, + SpanId: Id_61, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_29, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_43, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_60, + SpanId: Id_62, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_61, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_60, + SpanId: Id_63, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_30, + Type: web, + ParentId: Id_62, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_44, + TraceId: Id_60, + SpanId: Id_64, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_31, + ParentId: Id_63, Tags: { env: integration_tests, language: dotnet, @@ -877,38 +1012,82 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_45, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_65, + SpanId: Id_66, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_32, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_46, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_65, + SpanId: Id_67, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_66, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_65, + SpanId: Id_68, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_33, + Type: web, + ParentId: Id_67, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_47, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_65, + SpanId: Id_69, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_34, + ParentId: Id_68, Tags: { env: integration_tests, language: dotnet, @@ -916,38 +1095,82 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_48, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_70, + SpanId: Id_71, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_49, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_70, + SpanId: Id_72, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_71, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_70, + SpanId: Id_73, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_35, + Type: web, + ParentId: Id_72, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_50, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_70, + SpanId: Id_74, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_36, + ParentId: Id_73, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt index 95424f5de63d..8142b5da8003 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt @@ -2,8 +2,8 @@ { TraceId: Id_1, SpanId: Id_2, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -19,34 +19,47 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, + TraceId: Id_1, + SpanId: Id_3, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_5, - SpanId: Id_6, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_4, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_3, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -57,39 +70,28 @@ } }, { - TraceId: Id_7, - SpanId: Id_8, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_5, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, + ParentId: Id_4, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_10, - Name: internal, - Resource: WebClient, + TraceId: Id_6, + SpanId: Id_7, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 }, Metrics: { @@ -100,13 +102,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_11, + TraceId: Id_6, + SpanId: Id_8, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_7, Tags: { component: WebRequest, env: integration_tests, @@ -124,66 +126,95 @@ } }, { - TraceId: Id_9, - SpanId: Id_12, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_10, + TraceId: Id_6, + SpanId: Id_9, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_8, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_11, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 } }, { - TraceId: Id_9, + TraceId: Id_12, SpanId: Id_13, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_10, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, + TraceId: Id_12, SpanId: Id_14, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_13, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -196,66 +227,82 @@ } }, { - TraceId: Id_9, + TraceId: Id_12, SpanId: Id_15, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_10, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_14, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, + TraceId: Id_12, SpanId: Id_16, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_15, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_17, + SpanId: Id_18, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_17, + TraceId: Id_17, + SpanId: Id_19, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_18, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -268,71 +315,77 @@ } }, { - TraceId: Id_9, - SpanId: Id_18, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_10, + TraceId: Id_17, + SpanId: Id_20, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_19, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_19, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_10, + TraceId: Id_17, + SpanId: Id_21, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_23, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_20, + TraceId: Id_22, + SpanId: Id_24, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_23, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -345,66 +398,72 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_21, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_10, + TraceId: Id_22, + SpanId: Id_25, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_24, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_22, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_10, + TraceId: Id_22, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, - http.method: POST, - http.status_code: 500, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_23, + TraceId: Id_27, + SpanId: Id_29, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_10, + ParentId: Id_28, Tags: { component: WebRequest, env: integration_tests, @@ -422,13 +481,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_24, + TraceId: Id_27, + SpanId: Id_30, Name: wcf.request, - Resource: /WcfSample/?/CalculatorService, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_29, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -449,23 +508,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_25, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_27, + SpanId: Id_31, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_32, + SpanId: Id_33, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_12, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -476,23 +540,15 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_26, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_34, + SpanId: Id_35, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -503,23 +559,15 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_27, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_36, + SpanId: Id_37, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_14, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -530,23 +578,15 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_28, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_38, + SpanId: Id_39, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_15, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -557,23 +597,15 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_29, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_40, + SpanId: Id_41, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_16, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -584,40 +616,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_30, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_17, + TraceId: Id_40, + SpanId: Id_42, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_41, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_31, + TraceId: Id_40, + SpanId: Id_43, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_18, + ParentId: Id_42, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -638,23 +667,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_32, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_40, + SpanId: Id_44, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_43, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_45, + SpanId: Id_46, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_19, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -665,40 +699,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_33, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_20, + TraceId: Id_45, + SpanId: Id_47, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_46, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_34, + TraceId: Id_45, + SpanId: Id_48, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -719,23 +750,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_35, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_49, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_48, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_50, + SpanId: Id_51, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_22, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -746,13 +782,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_36, + TraceId: Id_50, + SpanId: Id_52, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_51, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_50, + SpanId: Id_53, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_52, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -773,12 +833,12 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_37, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_50, + SpanId: Id_54, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_24, + ParentId: Id_53, Tags: { env: integration_tests, language: dotnet, @@ -786,51 +846,82 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_38, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_55, + SpanId: Id_56, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_25, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_39, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - ParentId: Id_26, + TraceId: Id_55, + SpanId: Id_57, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_56, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_40, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_55, + SpanId: Id_58, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_27, + Type: web, + ParentId: Id_57, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_41, + TraceId: Id_55, + SpanId: Id_59, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_28, + ParentId: Id_58, Tags: { env: integration_tests, language: dotnet, @@ -838,38 +929,82 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_42, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_60, + SpanId: Id_61, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_29, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_43, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_60, + SpanId: Id_62, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_61, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_60, + SpanId: Id_63, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_30, + Type: web, + ParentId: Id_62, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_44, + TraceId: Id_60, + SpanId: Id_64, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_31, + ParentId: Id_63, Tags: { env: integration_tests, language: dotnet, @@ -877,38 +1012,82 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_45, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_65, + SpanId: Id_66, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_32, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_46, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_65, + SpanId: Id_67, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_66, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_65, + SpanId: Id_68, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_33, + Type: web, + ParentId: Id_67, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_47, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_65, + SpanId: Id_69, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_34, + ParentId: Id_68, Tags: { env: integration_tests, language: dotnet, @@ -916,38 +1095,82 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_48, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_70, + SpanId: Id_71, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_49, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_70, + SpanId: Id_72, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_71, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_70, + SpanId: Id_73, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_35, + Type: web, + ParentId: Id_72, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_50, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_70, + SpanId: Id_74, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_36, + ParentId: Id_73, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index 9b76f7c7373d..abfdd23e36e9 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,18 +2,13 @@ { TraceId: Id_1, SpanId: Id_2, - Name: internal, - Resource: WebClient, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, - span.kind: internal, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -39,7 +34,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -50,83 +45,83 @@ { TraceId: Id_1, SpanId: Id_4, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_3, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { TraceId: Id_1, SpanId: Id_5, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_4, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf - }, - Metrics: { - _dd.top_level: 1.0 + version: 1.0.0 } }, { TraceId: Id_1, SpanId: Id_6, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_4, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_7, + SpanId: Id_9, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_8, Tags: { component: WebRequest, env: integration_tests, @@ -135,7 +130,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -144,70 +139,99 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + TraceId: Id_7, + SpanId: Id_10, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_9, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_9, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + TraceId: Id_7, + SpanId: Id_11, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_10, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_12, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_13, + SpanId: Id_15, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_14, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -216,37 +240,91 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + TraceId: Id_13, + SpanId: Id_16, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_15, + Error: 1, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_13, + SpanId: Id_17, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_21, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_20, Tags: { component: WebRequest, env: integration_tests, @@ -260,7 +338,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -269,66 +347,78 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_13, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + TraceId: Id_19, + SpanId: Id_22, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_21, + Error: 1, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_14, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + TraceId: Id_19, + SpanId: Id_23, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_22, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_24, + SpanId: Id_25, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, - http.method: POST, - http.status_code: 500, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + runtime-id: Guid_1, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_24, + SpanId: Id_26, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_25, Tags: { component: WebRequest, env: integration_tests, @@ -337,7 +427,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -346,13 +436,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_24, + SpanId: Id_27, Name: wcf.request, - Resource: /WcfSample/123,123/CalculatorService, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_3, + ParentId: Id_26, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -361,7 +451,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -373,23 +463,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_17, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_24, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_4, + ParentId: Id_27, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -400,40 +495,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_18, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_5, + TraceId: Id_29, + SpanId: Id_31, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_30, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_19, + TraceId: Id_29, + SpanId: Id_32, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_6, + ParentId: Id_31, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -442,7 +534,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -454,23 +546,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_20, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_29, + SpanId: Id_33, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_7, + ParentId: Id_32, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_34, + SpanId: Id_35, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -481,40 +578,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_21, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_8, + TraceId: Id_34, + SpanId: Id_36, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_35, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_34, + SpanId: Id_37, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_9, + ParentId: Id_36, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -523,7 +617,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -535,23 +629,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_23, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_34, + SpanId: Id_38, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, + ParentId: Id_37, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_40, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -562,55 +661,46 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_24, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_11, + TraceId: Id_39, + SpanId: Id_41, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_25, + TraceId: Id_39, + SpanId: Id_42, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_12, - Error: 1, + ParentId: Id_41, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -622,23 +712,41 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_26, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_39, + SpanId: Id_43, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_13, + ParentId: Id_42, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_44, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_42, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_45, + SpanId: Id_46, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -649,46 +757,37 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_27, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_14, - Error: 1, + TraceId: Id_45, + SpanId: Id_47, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_46, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_28, + TraceId: Id_45, + SpanId: Id_48, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -697,7 +796,7 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -709,25 +808,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_29, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - ParentId: Id_16, - Tags: { - env: integration_tests, - language: dotnet, - version: 1.0.0 - } - }, - { - TraceId: Id_1, - SpanId: Id_30, + TraceId: Id_45, + SpanId: Id_49, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_17, + ParentId: Id_48, Tags: { env: integration_tests, language: dotnet, @@ -735,51 +821,82 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_31, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_50, + SpanId: Id_51, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_18, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_32, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - ParentId: Id_19, + TraceId: Id_50, + SpanId: Id_52, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_51, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_33, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_50, + SpanId: Id_53, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_20, + Type: web, + ParentId: Id_52, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_34, + TraceId: Id_50, + SpanId: Id_54, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_21, + ParentId: Id_53, Tags: { env: integration_tests, language: dotnet, @@ -787,51 +904,82 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_35, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_55, + SpanId: Id_56, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_22, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_36, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - ParentId: Id_23, + TraceId: Id_55, + SpanId: Id_57, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_56, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_37, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_55, + SpanId: Id_58, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_23, + Type: web, + ParentId: Id_57, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_38, + TraceId: Id_55, + SpanId: Id_59, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_24, + ParentId: Id_58, Tags: { env: integration_tests, language: dotnet, @@ -839,12 +987,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_39, + TraceId: Id_55, + SpanId: Id_60, Name: EndServerAsyncAdd, Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_24, + ParentId: Id_58, Tags: { env: integration_tests, language: dotnet, @@ -852,51 +1000,82 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_40, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_61, + SpanId: Id_62, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_25, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_41, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - ParentId: Id_25, + TraceId: Id_61, + SpanId: Id_63, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_62, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_42, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_61, + SpanId: Id_64, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_26, + Type: web, + ParentId: Id_63, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_43, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_61, + SpanId: Id_65, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_26, + ParentId: Id_64, Tags: { env: integration_tests, language: dotnet, @@ -904,38 +1083,82 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_44, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_66, + SpanId: Id_67, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_27, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_45, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_66, + SpanId: Id_68, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_67, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_66, + SpanId: Id_69, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_28, + Type: web, + ParentId: Id_68, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_46, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_66, + SpanId: Id_70, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_28, + ParentId: Id_69, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 03323b499261..d089fdef0286 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,18 +2,13 @@ { TraceId: Id_1, SpanId: Id_2, - Name: internal, - Resource: WebClient, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, - span.kind: internal, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -39,7 +34,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -50,83 +45,83 @@ { TraceId: Id_1, SpanId: Id_4, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_3, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { TraceId: Id_1, SpanId: Id_5, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_4, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf - }, - Metrics: { - _dd.top_level: 1.0 + version: 1.0.0 } }, { TraceId: Id_1, SpanId: Id_6, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_4, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_7, + SpanId: Id_9, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_8, Tags: { component: WebRequest, env: integration_tests, @@ -135,7 +130,7 @@ http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -144,70 +139,99 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + TraceId: Id_7, + SpanId: Id_10, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_9, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_9, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + TraceId: Id_7, + SpanId: Id_11, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_10, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_12, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_13, + SpanId: Id_15, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_14, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -216,37 +240,91 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + TraceId: Id_13, + SpanId: Id_16, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_15, + Error: 1, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_13, + SpanId: Id_17, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_21, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_20, Tags: { component: WebRequest, env: integration_tests, @@ -260,7 +338,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -269,66 +347,78 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_13, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + TraceId: Id_19, + SpanId: Id_22, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_21, + Error: 1, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_14, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_2, + TraceId: Id_19, + SpanId: Id_23, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_22, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_24, + SpanId: Id_25, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, - http.method: POST, - http.status_code: 500, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_2, - span.kind: client, - _dd.base_service: Samples.Wcf + runtime-id: Guid_1, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_24, + SpanId: Id_26, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_25, Tags: { component: WebRequest, env: integration_tests, @@ -337,7 +427,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -346,13 +436,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_24, + SpanId: Id_27, Name: wcf.request, - Resource: /WcfSample/?/CalculatorService, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_3, + ParentId: Id_26, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -361,7 +451,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -373,23 +463,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_17, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_24, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_4, + ParentId: Id_27, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -400,40 +495,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_18, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_5, + TraceId: Id_29, + SpanId: Id_31, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_30, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_19, + TraceId: Id_29, + SpanId: Id_32, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_6, + ParentId: Id_31, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -442,7 +534,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -454,23 +546,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_20, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_29, + SpanId: Id_33, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_7, + ParentId: Id_32, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_34, + SpanId: Id_35, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -481,40 +578,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_21, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_8, + TraceId: Id_34, + SpanId: Id_36, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_35, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_22, + TraceId: Id_34, + SpanId: Id_37, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_9, + ParentId: Id_36, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -523,7 +617,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -535,23 +629,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_23, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_34, + SpanId: Id_38, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, + ParentId: Id_37, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_40, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -562,55 +661,46 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_24, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_11, + TraceId: Id_39, + SpanId: Id_41, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_40, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_25, + TraceId: Id_39, + SpanId: Id_42, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_12, - Error: 1, + ParentId: Id_41, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, http.method: POST, http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -622,23 +712,41 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_26, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_39, + SpanId: Id_43, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_13, + ParentId: Id_42, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_44, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_42, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_45, + SpanId: Id_46, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -649,46 +757,37 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_27, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_14, - Error: 1, + TraceId: Id_45, + SpanId: Id_47, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_46, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_28, + TraceId: Id_45, + SpanId: Id_48, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -697,7 +796,7 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -709,25 +808,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_29, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - ParentId: Id_16, - Tags: { - env: integration_tests, - language: dotnet, - version: 1.0.0 - } - }, - { - TraceId: Id_1, - SpanId: Id_30, + TraceId: Id_45, + SpanId: Id_49, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_17, + ParentId: Id_48, Tags: { env: integration_tests, language: dotnet, @@ -735,51 +821,82 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_31, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_50, + SpanId: Id_51, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_18, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_32, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - ParentId: Id_19, + TraceId: Id_50, + SpanId: Id_52, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_51, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_33, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_50, + SpanId: Id_53, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_20, + Type: web, + ParentId: Id_52, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_34, + TraceId: Id_50, + SpanId: Id_54, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_21, + ParentId: Id_53, Tags: { env: integration_tests, language: dotnet, @@ -787,51 +904,82 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_35, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_55, + SpanId: Id_56, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_22, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_36, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - ParentId: Id_23, + TraceId: Id_55, + SpanId: Id_57, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_56, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_37, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_55, + SpanId: Id_58, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_23, + Type: web, + ParentId: Id_57, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_38, + TraceId: Id_55, + SpanId: Id_59, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_24, + ParentId: Id_58, Tags: { env: integration_tests, language: dotnet, @@ -839,12 +987,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_39, + TraceId: Id_55, + SpanId: Id_60, Name: EndServerAsyncAdd, Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_24, + ParentId: Id_58, Tags: { env: integration_tests, language: dotnet, @@ -852,51 +1000,82 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_40, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_61, + SpanId: Id_62, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_25, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_41, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - ParentId: Id_25, + TraceId: Id_61, + SpanId: Id_63, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_62, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_42, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_61, + SpanId: Id_64, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_26, + Type: web, + ParentId: Id_63, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_43, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_61, + SpanId: Id_65, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_26, + ParentId: Id_64, Tags: { env: integration_tests, language: dotnet, @@ -904,38 +1083,82 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_44, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_66, + SpanId: Id_67, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_27, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_45, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_66, + SpanId: Id_68, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_67, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_66, + SpanId: Id_69, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_28, + Type: web, + ParentId: Id_68, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_46, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_66, + SpanId: Id_70, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_28, + ParentId: Id_69, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=Custom_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=Custom_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 2688c00e64bb..69ef4d8e094a 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=Custom_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=Custom_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,18 +2,13 @@ { TraceId: Id_1, SpanId: Id_2, - Name: internal, - Resource: WebClient, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, - span.kind: internal, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -37,14 +32,14 @@ error.msg: The remote server returned an error: (500) Internal Server Error., error.stack: System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.GetResponse(), +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), error.type: System.Net.WebException, http.method: POST, http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -53,27 +48,46 @@ at System.Net.HttpWebRequest.GetResponse(), } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_4, + SpanId: Id_5, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_4, + SpanId: Id_6, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_5, Tags: { component: WebRequest, env: integration_tests, error.msg: The remote server returned an error: (500) Internal Server Error., error.stack: System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.GetResponse(), +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), error.type: System.Net.WebException, http.method: POST, http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -82,13 +96,32 @@ at System.Net.HttpWebRequest.GetResponse(), } }, { - TraceId: Id_1, - SpanId: Id_5, + TraceId: Id_7, + SpanId: Id_8, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_9, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_8, Tags: { component: WebRequest, env: integration_tests, @@ -102,7 +135,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -111,13 +144,32 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_10, + SpanId: Id_11, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_10, + SpanId: Id_12, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_11, Tags: { component: WebRequest, env: integration_tests, @@ -131,7 +183,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -140,27 +192,46 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_13, + SpanId: Id_14, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_15, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_14, Tags: { component: WebRequest, env: integration_tests, error.msg: The remote server returned an error: (500) Internal Server Error., error.stack: System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.GetResponse(), +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), error.type: System.Net.WebException, http.method: POST, http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -169,13 +240,32 @@ at System.Net.HttpWebRequest.GetResponse(), } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_16, + SpanId: Id_17, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_16, + SpanId: Id_18, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_17, Tags: { component: WebRequest, env: integration_tests, @@ -189,7 +279,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -198,27 +288,46 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_9, + TraceId: Id_19, + SpanId: Id_20, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_21, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_20, Tags: { component: WebRequest, env: integration_tests, error.msg: The remote server returned an error: (500) Internal Server Error., error.stack: System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), +at System.Net.HttpWebRequest.GetResponse(), error.type: System.Net.WebException, http.method: POST, http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -227,13 +336,32 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_22, + SpanId: Id_23, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_24, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_23, Tags: { component: WebRequest, env: integration_tests, @@ -247,7 +375,7 @@ at System.Net.HttpWebRequest.GetResponse(), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -256,27 +384,46 @@ at System.Net.HttpWebRequest.GetResponse(), } }, { - TraceId: Id_1, - SpanId: Id_11, + TraceId: Id_25, + SpanId: Id_26, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_25, + SpanId: Id_27, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_26, Tags: { component: WebRequest, env: integration_tests, error.msg: The remote server returned an error: (500) Internal Server Error., error.stack: System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), +at System.Net.HttpWebRequest.GetResponse(), error.type: System.Net.WebException, http.method: POST, http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -285,27 +432,46 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_28, + SpanId: Id_29, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_28, + SpanId: Id_30, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_29, Tags: { component: WebRequest, env: integration_tests, error.msg: The remote server returned an error: (500) Internal Server Error., error.stack: System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), +at System.Net.HttpWebRequest.GetResponse(), error.type: System.Net.WebException, http.method: POST, http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -314,13 +480,32 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_13, + TraceId: Id_31, + SpanId: Id_32, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_31, + SpanId: Id_33, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_32, Tags: { component: WebRequest, env: integration_tests, @@ -334,7 +519,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -343,13 +528,32 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_34, + SpanId: Id_35, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_34, + SpanId: Id_36, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_35, Tags: { component: WebRequest, env: integration_tests, @@ -363,7 +567,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, @@ -372,13 +576,32 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_37, + SpanId: Id_38, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_39, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: WebRequest, env: integration_tests, @@ -392,7 +615,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: client, _dd.base_service: Samples.Wcf }, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt index c525736d51f5..f1e933e4d475 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt @@ -2,8 +2,8 @@ { TraceId: Id_1, SpanId: Id_2, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -19,15 +19,21 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_3, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -37,11 +43,24 @@ _sampling_priority_v1: 1.0 } }, + { + TraceId: Id_1, + SpanId: Id_4, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_3, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, { TraceId: Id_5, SpanId: Id_6, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -57,15 +76,21 @@ } }, { - TraceId: Id_7, - SpanId: Id_8, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_5, + SpanId: Id_7, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_6, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -76,20 +101,41 @@ } }, { - TraceId: Id_9, - SpanId: Id_10, - Name: internal, - Resource: WebClient, + TraceId: Id_5, + SpanId: Id_8, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_9, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_10, + SpanId: Id_11, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 }, Metrics: { @@ -100,13 +146,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_11, + TraceId: Id_10, + SpanId: Id_12, Name: wcf.request, - Resource: /WcfSample/123,123/CalculatorService, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -125,21 +171,28 @@ } }, { - TraceId: Id_9, - SpanId: Id_12, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_10, + SpanId: Id_13, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_12, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_14, + SpanId: Id_15, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -150,13 +203,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_13, + TraceId: Id_14, + SpanId: Id_16, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_15, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -175,13 +228,45 @@ } }, { - TraceId: Id_9, - SpanId: Id_14, + TraceId: Id_14, + SpanId: Id_17, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_18, + SpanId: Id_19, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_18, + SpanId: Id_20, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_19, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -200,21 +285,28 @@ } }, { - TraceId: Id_9, - SpanId: Id_15, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_18, + SpanId: Id_21, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_23, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -225,13 +317,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_16, + TraceId: Id_22, + SpanId: Id_24, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_23, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -250,21 +342,28 @@ } }, { - TraceId: Id_9, - SpanId: Id_17, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_22, + SpanId: Id_25, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_26, + SpanId: Id_27, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -275,21 +374,15 @@ } }, { - TraceId: Id_9, - SpanId: Id_18, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_28, + SpanId: Id_29, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -300,21 +393,15 @@ } }, { - TraceId: Id_9, - SpanId: Id_19, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_30, + SpanId: Id_31, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -325,21 +412,15 @@ } }, { - TraceId: Id_9, - SpanId: Id_20, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_32, + SpanId: Id_33, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -350,21 +431,15 @@ } }, { - TraceId: Id_9, - SpanId: Id_21, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_34, + SpanId: Id_35, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -375,13 +450,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_22, + TraceId: Id_34, + SpanId: Id_36, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_35, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -400,13 +475,45 @@ } }, { - TraceId: Id_9, - SpanId: Id_23, + TraceId: Id_34, + SpanId: Id_37, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_36, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_38, + SpanId: Id_39, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_38, + SpanId: Id_40, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_39, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -425,12 +532,12 @@ } }, { - TraceId: Id_9, - SpanId: Id_24, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_38, + SpanId: Id_41, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_11, + ParentId: Id_40, Tags: { env: integration_tests, language: dotnet, @@ -438,38 +545,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_25, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_42, + SpanId: Id_43, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_12, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_26, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_42, + SpanId: Id_44, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_13, + Type: web, + ParentId: Id_43, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_27, + TraceId: Id_42, + SpanId: Id_45, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_14, + ParentId: Id_44, Tags: { env: integration_tests, language: dotnet, @@ -477,38 +602,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_28, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_46, + SpanId: Id_47, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_15, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_29, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_46, + SpanId: Id_48, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_16, + Type: web, + ParentId: Id_47, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_30, + TraceId: Id_46, + SpanId: Id_49, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_17, + ParentId: Id_48, Tags: { env: integration_tests, language: dotnet, @@ -516,38 +659,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_31, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_51, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_18, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_32, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_52, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_19, + Type: web, + ParentId: Id_51, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_33, + TraceId: Id_50, + SpanId: Id_53, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_20, + ParentId: Id_52, Tags: { env: integration_tests, language: dotnet, @@ -555,38 +716,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_34, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_55, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_21, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_35, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_56, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_21, + Type: web, + ParentId: Id_55, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_36, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_57, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_22, + ParentId: Id_56, Tags: { env: integration_tests, language: dotnet, @@ -594,12 +773,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_37, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_58, + SpanId: Id_59, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_23, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_58, + SpanId: Id_60, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_59, + Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, + env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_58, + SpanId: Id_61, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_60, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt index 40a9a71cc69d..319dd91c7ef0 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt @@ -2,8 +2,8 @@ { TraceId: Id_1, SpanId: Id_2, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -19,15 +19,21 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_3, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -37,11 +43,24 @@ _sampling_priority_v1: 1.0 } }, + { + TraceId: Id_1, + SpanId: Id_4, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_3, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, { TraceId: Id_5, SpanId: Id_6, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -57,15 +76,21 @@ } }, { - TraceId: Id_7, - SpanId: Id_8, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_5, + SpanId: Id_7, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_6, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -76,20 +101,41 @@ } }, { - TraceId: Id_9, - SpanId: Id_10, - Name: internal, - Resource: WebClient, + TraceId: Id_5, + SpanId: Id_8, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_9, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_10, + SpanId: Id_11, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 }, Metrics: { @@ -100,13 +146,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_11, + TraceId: Id_10, + SpanId: Id_12, Name: wcf.request, - Resource: /WcfSample/?/CalculatorService, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -125,21 +171,28 @@ } }, { - TraceId: Id_9, - SpanId: Id_12, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_10, + SpanId: Id_13, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_12, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_14, + SpanId: Id_15, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -150,13 +203,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_13, + TraceId: Id_14, + SpanId: Id_16, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_15, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -175,13 +228,45 @@ } }, { - TraceId: Id_9, - SpanId: Id_14, + TraceId: Id_14, + SpanId: Id_17, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_18, + SpanId: Id_19, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_18, + SpanId: Id_20, Name: wcf.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_19, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -200,21 +285,28 @@ } }, { - TraceId: Id_9, - SpanId: Id_15, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_18, + SpanId: Id_21, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_23, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -225,13 +317,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_16, + TraceId: Id_22, + SpanId: Id_24, Name: wcf.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_23, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -250,21 +342,28 @@ } }, { - TraceId: Id_9, - SpanId: Id_17, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_22, + SpanId: Id_25, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_26, + SpanId: Id_27, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -275,21 +374,15 @@ } }, { - TraceId: Id_9, - SpanId: Id_18, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_28, + SpanId: Id_29, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -300,21 +393,15 @@ } }, { - TraceId: Id_9, - SpanId: Id_19, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_30, + SpanId: Id_31, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -325,21 +412,15 @@ } }, { - TraceId: Id_9, - SpanId: Id_20, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_32, + SpanId: Id_33, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -350,21 +431,15 @@ } }, { - TraceId: Id_9, - SpanId: Id_21, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_34, + SpanId: Id_35, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -375,13 +450,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_22, + TraceId: Id_34, + SpanId: Id_36, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_35, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -400,13 +475,45 @@ } }, { - TraceId: Id_9, - SpanId: Id_23, + TraceId: Id_34, + SpanId: Id_37, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_36, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_38, + SpanId: Id_39, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_38, + SpanId: Id_40, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_39, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -425,12 +532,12 @@ } }, { - TraceId: Id_9, - SpanId: Id_24, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_38, + SpanId: Id_41, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_11, + ParentId: Id_40, Tags: { env: integration_tests, language: dotnet, @@ -438,38 +545,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_25, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_42, + SpanId: Id_43, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_12, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_26, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_42, + SpanId: Id_44, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_13, + Type: web, + ParentId: Id_43, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_27, + TraceId: Id_42, + SpanId: Id_45, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_14, + ParentId: Id_44, Tags: { env: integration_tests, language: dotnet, @@ -477,38 +602,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_28, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_46, + SpanId: Id_47, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_15, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_29, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_46, + SpanId: Id_48, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_16, + Type: web, + ParentId: Id_47, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_30, + TraceId: Id_46, + SpanId: Id_49, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_17, + ParentId: Id_48, Tags: { env: integration_tests, language: dotnet, @@ -516,38 +659,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_31, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_51, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_18, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_32, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_52, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_19, + Type: web, + ParentId: Id_51, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_33, + TraceId: Id_50, + SpanId: Id_53, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_20, + ParentId: Id_52, Tags: { env: integration_tests, language: dotnet, @@ -555,38 +716,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_34, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_55, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_21, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_35, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_56, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_21, + Type: web, + ParentId: Id_55, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_36, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_57, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_22, + ParentId: Id_56, Tags: { env: integration_tests, language: dotnet, @@ -594,12 +773,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_37, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_58, + SpanId: Id_59, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_23, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_58, + SpanId: Id_60, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_59, + Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, + env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_58, + SpanId: Id_61, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_60, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index e81501af467e..71a186dad042 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,18 +2,13 @@ { TraceId: Id_1, SpanId: Id_2, - Name: internal, - Resource: WebClient, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, - span.kind: internal, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -27,7 +22,7 @@ TraceId: Id_1, SpanId: Id_3, Name: wcf.request, - Resource: /WcfSample/123,123/CalculatorService, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, ParentId: Id_2, @@ -37,7 +32,7 @@ env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -51,19 +46,39 @@ { TraceId: Id_1, SpanId: Id_4, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, + ParentId: Id_3, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_5, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_3, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_7, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -74,20 +89,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_5, + TraceId: Id_6, + SpanId: Id_8, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_7, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -99,21 +114,41 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_6, + SpanId: Id_9, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, + ParentId: Id_8, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_10, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_8, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -124,20 +159,26 @@ } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_11, + SpanId: Id_13, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_12, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -149,21 +190,41 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_11, + SpanId: Id_14, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, + ParentId: Id_13, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_15, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_16, + SpanId: Id_17, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -174,20 +235,26 @@ } }, { - TraceId: Id_1, - SpanId: Id_9, + TraceId: Id_16, + SpanId: Id_18, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_17, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -199,21 +266,28 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_16, + SpanId: Id_19, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, + ParentId: Id_18, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_20, + SpanId: Id_21, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -224,20 +298,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, + TraceId: Id_20, + SpanId: Id_22, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_21, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -249,27 +323,28 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_20, + SpanId: Id_23, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, - Error: 1, + ParentId: Id_22, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_24, + SpanId: Id_25, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -280,20 +355,20 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_13, + TraceId: Id_24, + SpanId: Id_26, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_25, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -305,26 +380,52 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_24, + SpanId: Id_27, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_28, + SpanId: Id_29, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_28, + SpanId: Id_30, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_2, - Error: 1, + ParentId: Id_29, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -336,20 +437,52 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_28, + SpanId: Id_31, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_32, + SpanId: Id_33, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_32, + SpanId: Id_34, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_33, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -361,12 +494,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_16, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_32, + SpanId: Id_35, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_3, + ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, @@ -374,12 +507,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_17, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_32, + SpanId: Id_36, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_4, + ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, @@ -387,38 +520,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_18, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_37, + SpanId: Id_38, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_5, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_19, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_37, + SpanId: Id_39, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_6, + Type: web, + ParentId: Id_38, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_20, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_37, + SpanId: Id_40, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_7, + ParentId: Id_39, Tags: { env: integration_tests, language: dotnet, @@ -426,38 +577,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_21, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_41, + SpanId: Id_42, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_8, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_22, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_41, + SpanId: Id_43, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_9, + Type: web, + ParentId: Id_42, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_23, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_41, + SpanId: Id_44, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_10, + ParentId: Id_43, Tags: { env: integration_tests, language: dotnet, @@ -465,38 +634,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_24, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_46, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_10, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_25, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_47, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_11, + Type: web, + ParentId: Id_46, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_26, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_48, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_11, + ParentId: Id_47, Tags: { env: integration_tests, language: dotnet, @@ -504,12 +691,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_27, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_49, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_12, + ParentId: Id_47, Tags: { env: integration_tests, language: dotnet, @@ -517,38 +704,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_51, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_12, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_29, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_52, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_13, + Type: web, + ParentId: Id_51, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_30, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_53, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_13, + ParentId: Id_52, Tags: { env: integration_tests, language: dotnet, @@ -556,38 +761,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_31, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_55, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_14, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_32, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_56, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_15, + Type: web, + ParentId: Id_55, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_33, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_57, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_15, + ParentId: Id_56, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 7727a581dd5c..ae752a7e4bf6 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,18 +2,13 @@ { TraceId: Id_1, SpanId: Id_2, - Name: internal, - Resource: WebClient, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, - span.kind: internal, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -27,7 +22,7 @@ TraceId: Id_1, SpanId: Id_3, Name: wcf.request, - Resource: /WcfSample/?/CalculatorService, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, ParentId: Id_2, @@ -37,7 +32,7 @@ env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -51,19 +46,39 @@ { TraceId: Id_1, SpanId: Id_4, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, + ParentId: Id_3, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_5, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_3, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_7, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -74,20 +89,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_5, + TraceId: Id_6, + SpanId: Id_8, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_7, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -99,21 +114,41 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_6, + SpanId: Id_9, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, + ParentId: Id_8, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_10, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_8, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -124,20 +159,26 @@ } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_11, + SpanId: Id_13, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_12, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -149,21 +190,41 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_11, + SpanId: Id_14, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, + ParentId: Id_13, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_15, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_16, + SpanId: Id_17, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -174,20 +235,26 @@ } }, { - TraceId: Id_1, - SpanId: Id_9, + TraceId: Id_16, + SpanId: Id_18, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_17, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -199,21 +266,28 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_16, + SpanId: Id_19, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, + ParentId: Id_18, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_20, + SpanId: Id_21, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -224,20 +298,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, + TraceId: Id_20, + SpanId: Id_22, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_21, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -249,27 +323,28 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_20, + SpanId: Id_23, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, - Error: 1, + ParentId: Id_22, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_24, + SpanId: Id_25, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -280,20 +355,20 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_13, + TraceId: Id_24, + SpanId: Id_26, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_25, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -305,26 +380,52 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_24, + SpanId: Id_27, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_28, + SpanId: Id_29, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_28, + SpanId: Id_30, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_2, - Error: 1, + ParentId: Id_29, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -336,20 +437,52 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_28, + SpanId: Id_31, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_32, + SpanId: Id_33, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_32, + SpanId: Id_34, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_33, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -361,12 +494,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_16, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_32, + SpanId: Id_35, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_3, + ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, @@ -374,12 +507,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_17, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_32, + SpanId: Id_36, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_4, + ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, @@ -387,38 +520,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_18, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_37, + SpanId: Id_38, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_5, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_19, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_37, + SpanId: Id_39, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_6, + Type: web, + ParentId: Id_38, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_20, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_37, + SpanId: Id_40, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_7, + ParentId: Id_39, Tags: { env: integration_tests, language: dotnet, @@ -426,38 +577,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_21, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_41, + SpanId: Id_42, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_8, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_22, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_41, + SpanId: Id_43, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_9, + Type: web, + ParentId: Id_42, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_23, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_41, + SpanId: Id_44, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_10, + ParentId: Id_43, Tags: { env: integration_tests, language: dotnet, @@ -465,38 +634,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_24, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_46, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_10, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_25, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_47, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_11, + Type: web, + ParentId: Id_46, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_26, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_48, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_11, + ParentId: Id_47, Tags: { env: integration_tests, language: dotnet, @@ -504,12 +691,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_27, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_49, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_12, + ParentId: Id_47, Tags: { env: integration_tests, language: dotnet, @@ -517,38 +704,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_51, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_12, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_29, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_52, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_13, + Type: web, + ParentId: Id_51, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_30, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_53, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_13, + ParentId: Id_52, Tags: { env: integration_tests, language: dotnet, @@ -556,38 +761,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_31, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_55, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_14, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_32, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_56, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_15, + Type: web, + ParentId: Id_55, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_33, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_57, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_15, + ParentId: Id_56, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt index ce0ab4339200..72899278c3d9 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt @@ -2,8 +2,8 @@ { TraceId: Id_1, SpanId: Id_2, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -19,34 +19,47 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, + TraceId: Id_1, + SpanId: Id_3, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_5, - SpanId: Id_6, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_4, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_3, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -57,10 +70,23 @@ } }, { - TraceId: Id_7, - SpanId: Id_8, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_5, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_4, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_7, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -76,12 +102,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_10, + TraceId: Id_6, + SpanId: Id_8, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, + ParentId: Id_7, Tags: { component: WebRequest, env: integration_tests, @@ -95,27 +122,27 @@ _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_12, - Name: internal, - Resource: WebClient, + TraceId: Id_6, + SpanId: Id_9, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_8, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -126,42 +153,68 @@ } }, { - TraceId: Id_11, + TraceId: Id_6, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_11, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_12, SpanId: Id_13, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_12, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, + TraceId: Id_12, SpanId: Id_14, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, + ParentId: Id_13, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -174,90 +227,82 @@ } }, { - TraceId: Id_11, + TraceId: Id_12, SpanId: Id_15, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_12, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_14, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, + TraceId: Id_12, SpanId: Id_16, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_12, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_15, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf - }, - Metrics: { - _dd.top_level: 1.0 + version: 1.0.0 } }, { - TraceId: Id_11, - SpanId: Id_17, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_12, + TraceId: Id_17, + SpanId: Id_18, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_18, + TraceId: Id_17, + SpanId: Id_19, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, + ParentId: Id_18, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -270,61 +315,72 @@ } }, { - TraceId: Id_11, - SpanId: Id_19, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_12, + TraceId: Id_17, + SpanId: Id_20, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_19, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_20, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_12, + TraceId: Id_17, + SpanId: Id_21, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_23, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_21, + TraceId: Id_22, + SpanId: Id_24, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, + ParentId: Id_23, Tags: { component: WebRequest, env: integration_tests, @@ -342,37 +398,72 @@ } }, { - TraceId: Id_11, - SpanId: Id_22, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_12, - Tags: { - component: WebRequest, - env: integration_tests, - http.method: POST, - http.status_code: 200, + TraceId: Id_22, + SpanId: Id_25, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_24, + Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_23, + TraceId: Id_22, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_29, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, + ParentId: Id_28, Tags: { component: WebRequest, env: integration_tests, @@ -390,13 +481,128 @@ } }, { - TraceId: Id_11, - SpanId: Id_24, + TraceId: Id_27, + SpanId: Id_30, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_29, + Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_31, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_32, + SpanId: Id_33, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_34, + SpanId: Id_35, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_36, + SpanId: Id_37, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_38, + SpanId: Id_39, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_40, + SpanId: Id_41, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, Tags: { component: WebRequest, env: integration_tests, @@ -410,27 +616,44 @@ _dd.base_service: Samples.Wcf }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_25, + TraceId: Id_42, + SpanId: Id_43, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_42, + SpanId: Id_44, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, + ParentId: Id_43, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -443,13 +666,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_26, + TraceId: Id_42, + SpanId: Id_45, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, + ParentId: Id_43, Tags: { component: WebRequest, env: integration_tests, @@ -467,23 +690,18 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_27, + TraceId: Id_42, + SpanId: Id_46, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, + ParentId: Id_43, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -496,13 +714,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_28, + TraceId: Id_42, + SpanId: Id_47, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, + ParentId: Id_43, Tags: { component: WebRequest, env: integration_tests, @@ -520,13 +738,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_29, + TraceId: Id_42, + SpanId: Id_48, Name: wcf.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_44, Tags: { component: Wcf, env: integration_tests, @@ -546,13 +764,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_30, + TraceId: Id_42, + SpanId: Id_49, Name: wcf.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue, Service: Samples.Wcf, Type: web, - ParentId: Id_14, + ParentId: Id_45, Tags: { component: Wcf, env: integration_tests, @@ -572,13 +790,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_31, + TraceId: Id_42, + SpanId: Id_50, Name: wcf.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_46, Tags: { component: Wcf, env: integration_tests, @@ -598,13 +816,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_32, + TraceId: Id_42, + SpanId: Id_51, Name: wcf.request, Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_16, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -625,50 +843,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_33, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_42, + SpanId: Id_52, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_17, + ParentId: Id_51, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_34, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_53, + SpanId: Id_54, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_18, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -679,40 +875,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_35, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_19, + TraceId: Id_53, + SpanId: Id_55, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_54, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_36, + TraceId: Id_53, + SpanId: Id_56, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_20, + ParentId: Id_55, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -733,50 +926,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_37, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_53, + SpanId: Id_57, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_21, + ParentId: Id_56, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_38, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_58, + SpanId: Id_59, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_22, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -787,40 +958,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_39, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_23, + TraceId: Id_58, + SpanId: Id_60, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_59, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_40, + TraceId: Id_58, + SpanId: Id_61, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_24, + ParentId: Id_60, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -841,50 +1009,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_41, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_58, + SpanId: Id_62, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_25, + ParentId: Id_61, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_42, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_63, + SpanId: Id_64, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_26, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -895,40 +1041,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_43, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_27, + TraceId: Id_63, + SpanId: Id_65, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_64, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_44, + TraceId: Id_63, + SpanId: Id_66, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_28, + ParentId: Id_65, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -949,25 +1092,12 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_45, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - ParentId: Id_32, - Tags: { - env: integration_tests, - language: dotnet, - version: 1.0.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_46, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_63, + SpanId: Id_67, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_33, + ParentId: Id_66, Tags: { env: integration_tests, language: dotnet, @@ -975,51 +1105,82 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_47, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_68, + SpanId: Id_69, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_48, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - ParentId: Id_35, + TraceId: Id_68, + SpanId: Id_70, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_69, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_49, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_68, + SpanId: Id_71, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_36, + Type: web, + ParentId: Id_70, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_50, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_68, + SpanId: Id_72, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_37, + ParentId: Id_71, Tags: { env: integration_tests, language: dotnet, @@ -1027,51 +1188,82 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_51, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_73, + SpanId: Id_74, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_38, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_52, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - ParentId: Id_39, + TraceId: Id_73, + SpanId: Id_75, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_74, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_53, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_73, + SpanId: Id_76, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_40, + Type: web, + ParentId: Id_75, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_54, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_73, + SpanId: Id_77, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_41, + ParentId: Id_76, Tags: { env: integration_tests, language: dotnet, @@ -1079,51 +1271,82 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_55, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_78, + SpanId: Id_79, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_42, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_56, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - ParentId: Id_42, + TraceId: Id_78, + SpanId: Id_80, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_79, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_57, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_78, + SpanId: Id_81, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_43, + Type: web, + ParentId: Id_80, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_58, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_78, + SpanId: Id_82, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_44, + ParentId: Id_81, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt index 4122f3d1a16b..b18abf00b3c7 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt @@ -2,8 +2,8 @@ { TraceId: Id_1, SpanId: Id_2, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -19,34 +19,47 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, + TraceId: Id_1, + SpanId: Id_3, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_2, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_5, - SpanId: Id_6, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_4, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_3, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -57,10 +70,23 @@ } }, { - TraceId: Id_7, - SpanId: Id_8, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_5, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_4, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_7, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -76,12 +102,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_10, + TraceId: Id_6, + SpanId: Id_8, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, + ParentId: Id_7, Tags: { component: WebRequest, env: integration_tests, @@ -95,27 +122,27 @@ _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_12, - Name: internal, - Resource: WebClient, + TraceId: Id_6, + SpanId: Id_9, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: custom, + Type: web, + ParentId: Id_8, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -126,42 +153,68 @@ } }, { - TraceId: Id_11, + TraceId: Id_6, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_11, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_12, SpanId: Id_13, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_12, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, + TraceId: Id_12, SpanId: Id_14, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, + ParentId: Id_13, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -174,90 +227,82 @@ } }, { - TraceId: Id_11, + TraceId: Id_12, SpanId: Id_15, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_12, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_14, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, + TraceId: Id_12, SpanId: Id_16, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_12, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_15, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf - }, - Metrics: { - _dd.top_level: 1.0 + version: 1.0.0 } }, { - TraceId: Id_11, - SpanId: Id_17, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_12, + TraceId: Id_17, + SpanId: Id_18, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_18, + TraceId: Id_17, + SpanId: Id_19, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, + ParentId: Id_18, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -270,61 +315,72 @@ } }, { - TraceId: Id_11, - SpanId: Id_19, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_12, + TraceId: Id_17, + SpanId: Id_20, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_19, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_20, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_12, + TraceId: Id_17, + SpanId: Id_21, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_23, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_21, + TraceId: Id_22, + SpanId: Id_24, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, + ParentId: Id_23, Tags: { component: WebRequest, env: integration_tests, @@ -342,37 +398,72 @@ } }, { - TraceId: Id_11, - SpanId: Id_22, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_12, - Tags: { - component: WebRequest, - env: integration_tests, - http.method: POST, - http.status_code: 200, + TraceId: Id_22, + SpanId: Id_25, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_24, + Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_23, + TraceId: Id_22, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_29, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, + ParentId: Id_28, Tags: { component: WebRequest, env: integration_tests, @@ -390,13 +481,128 @@ } }, { - TraceId: Id_11, - SpanId: Id_24, + TraceId: Id_27, + SpanId: Id_30, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_29, + Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_31, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_32, + SpanId: Id_33, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_34, + SpanId: Id_35, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_36, + SpanId: Id_37, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_38, + SpanId: Id_39, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_40, + SpanId: Id_41, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, Tags: { component: WebRequest, env: integration_tests, @@ -410,27 +616,44 @@ _dd.base_service: Samples.Wcf }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_25, + TraceId: Id_42, + SpanId: Id_43, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_42, + SpanId: Id_44, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, + ParentId: Id_43, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -443,13 +666,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_26, + TraceId: Id_42, + SpanId: Id_45, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, + ParentId: Id_43, Tags: { component: WebRequest, env: integration_tests, @@ -467,23 +690,18 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_27, + TraceId: Id_42, + SpanId: Id_46, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, + ParentId: Id_43, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -496,13 +714,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_28, + TraceId: Id_42, + SpanId: Id_47, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_12, + ParentId: Id_43, Tags: { component: WebRequest, env: integration_tests, @@ -520,13 +738,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_29, + TraceId: Id_42, + SpanId: Id_48, Name: wcf.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_44, Tags: { component: Wcf, env: integration_tests, @@ -546,13 +764,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_30, + TraceId: Id_42, + SpanId: Id_49, Name: wcf.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue, Service: Samples.Wcf, Type: web, - ParentId: Id_14, + ParentId: Id_45, Tags: { component: Wcf, env: integration_tests, @@ -572,13 +790,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_31, + TraceId: Id_42, + SpanId: Id_50, Name: wcf.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_46, Tags: { component: Wcf, env: integration_tests, @@ -598,13 +816,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_32, + TraceId: Id_42, + SpanId: Id_51, Name: wcf.request, Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_16, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -625,50 +843,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_33, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_42, + SpanId: Id_52, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_17, + ParentId: Id_51, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_34, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_53, + SpanId: Id_54, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_18, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -679,40 +875,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_35, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_19, + TraceId: Id_53, + SpanId: Id_55, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_54, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_36, + TraceId: Id_53, + SpanId: Id_56, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_20, + ParentId: Id_55, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -733,50 +926,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_37, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_53, + SpanId: Id_57, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_21, + ParentId: Id_56, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_38, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_58, + SpanId: Id_59, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_22, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -787,40 +958,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_39, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_23, + TraceId: Id_58, + SpanId: Id_60, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_59, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_40, + TraceId: Id_58, + SpanId: Id_61, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_24, + ParentId: Id_60, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -841,50 +1009,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_41, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_58, + SpanId: Id_62, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_25, + ParentId: Id_61, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_42, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_63, + SpanId: Id_64, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_26, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -895,40 +1041,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_43, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_27, + TraceId: Id_63, + SpanId: Id_65, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_64, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_44, + TraceId: Id_63, + SpanId: Id_66, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_28, + ParentId: Id_65, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -949,25 +1092,12 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_45, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - ParentId: Id_32, - Tags: { - env: integration_tests, - language: dotnet, - version: 1.0.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_46, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_63, + SpanId: Id_67, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_33, + ParentId: Id_66, Tags: { env: integration_tests, language: dotnet, @@ -975,51 +1105,82 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_47, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_68, + SpanId: Id_69, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_48, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - ParentId: Id_35, + TraceId: Id_68, + SpanId: Id_70, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_69, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_49, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_68, + SpanId: Id_71, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_36, + Type: web, + ParentId: Id_70, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_50, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_68, + SpanId: Id_72, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_37, + ParentId: Id_71, Tags: { env: integration_tests, language: dotnet, @@ -1027,51 +1188,82 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_51, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_73, + SpanId: Id_74, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_38, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_52, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - ParentId: Id_39, + TraceId: Id_73, + SpanId: Id_75, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_74, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_53, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_73, + SpanId: Id_76, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_40, + Type: web, + ParentId: Id_75, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_54, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_73, + SpanId: Id_77, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_41, + ParentId: Id_76, Tags: { env: integration_tests, language: dotnet, @@ -1079,51 +1271,82 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_55, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_78, + SpanId: Id_79, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_42, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_56, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - ParentId: Id_42, + TraceId: Id_78, + SpanId: Id_80, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_79, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_57, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_78, + SpanId: Id_81, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_43, + Type: web, + ParentId: Id_80, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_58, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_78, + SpanId: Id_82, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_44, + ParentId: Id_81, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index 562ae315c80d..e29640e3f64e 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,10 +2,30 @@ { TraceId: Id_1, SpanId: Id_2, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_3, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -18,6 +38,30 @@ span.kind: client, _dd.base_service: Samples.Wcf }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_4, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_3, + Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, Metrics: { process_id: 0, _dd.top_level: 1.0, @@ -26,20 +70,41 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: internal, - Resource: WebClient, + TraceId: Id_1, + SpanId: Id_5, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_4, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_6, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_4, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 }, Metrics: { @@ -50,13 +115,13 @@ } }, { - TraceId: Id_3, - SpanId: Id_5, + TraceId: Id_7, + SpanId: Id_9, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_8, Tags: { component: WebRequest, env: integration_tests, @@ -74,66 +139,95 @@ } }, { - TraceId: Id_3, - SpanId: Id_6, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_4, + TraceId: Id_7, + SpanId: Id_10, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_9, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_7, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_4, + TraceId: Id_7, + SpanId: Id_11, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_12, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_8, + TraceId: Id_13, + SpanId: Id_15, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_14, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -146,42 +240,101 @@ } }, { - TraceId: Id_3, - SpanId: Id_9, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_4, + TraceId: Id_13, + SpanId: Id_16, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_15, + Error: 1, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_10, + TraceId: Id_13, + SpanId: Id_17, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_21, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_20, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -194,37 +347,78 @@ } }, { - TraceId: Id_3, - SpanId: Id_11, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_4, + TraceId: Id_19, + SpanId: Id_22, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_21, + Error: 1, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_12, + TraceId: Id_19, + SpanId: Id_23, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_22, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_24, + SpanId: Id_25, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_24, + SpanId: Id_26, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_25, Tags: { component: WebRequest, env: integration_tests, @@ -242,37 +436,72 @@ } }, { - TraceId: Id_3, - SpanId: Id_13, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_4, + TraceId: Id_24, + SpanId: Id_27, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_26, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_14, + TraceId: Id_24, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_27, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_31, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_30, Tags: { component: WebRequest, env: integration_tests, @@ -290,37 +519,52 @@ } }, { - TraceId: Id_3, - SpanId: Id_15, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_4, + TraceId: Id_29, + SpanId: Id_32, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_31, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_16, + TraceId: Id_29, + SpanId: Id_33, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_34, + SpanId: Id_35, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -334,27 +578,44 @@ _dd.base_service: Samples.Wcf }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_17, + TraceId: Id_36, + SpanId: Id_37, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_36, + SpanId: Id_38, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_37, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -367,13 +628,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_18, + TraceId: Id_36, + SpanId: Id_39, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_37, Tags: { component: WebRequest, env: integration_tests, @@ -391,23 +652,18 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_19, + TraceId: Id_36, + SpanId: Id_40, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_37, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -420,13 +676,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_20, + TraceId: Id_36, + SpanId: Id_41, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_37, Tags: { component: WebRequest, env: integration_tests, @@ -444,13 +700,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_21, + TraceId: Id_36, + SpanId: Id_42, Name: wcf.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_38, Tags: { component: Wcf, env: integration_tests, @@ -470,13 +726,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_22, + TraceId: Id_36, + SpanId: Id_43, Name: wcf.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue, Service: Samples.Wcf, Type: web, - ParentId: Id_6, + ParentId: Id_39, Tags: { component: Wcf, env: integration_tests, @@ -496,13 +752,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_23, + TraceId: Id_36, + SpanId: Id_44, Name: wcf.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_40, Tags: { component: Wcf, env: integration_tests, @@ -522,121 +778,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_24, + TraceId: Id_36, + SpanId: Id_45, Name: wcf.request, Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_8, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_25, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_9, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_26, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_10, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_27, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_11, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_28, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_12, + ParentId: Id_41, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -657,50 +805,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_29, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_36, + SpanId: Id_46, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_13, + ParentId: Id_45, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_30, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_47, + SpanId: Id_48, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_14, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -711,40 +837,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_31, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_15, + TraceId: Id_47, + SpanId: Id_49, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_48, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_32, + TraceId: Id_47, + SpanId: Id_50, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_16, + ParentId: Id_49, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -765,89 +888,41 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_33, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_47, + SpanId: Id_51, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_17, - Error: 1, + ParentId: Id_50, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_34, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_47, + SpanId: Id_52, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_18, + ParentId: Id_50, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_35, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_19, - Error: 1, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + TraceId: Id_53, + SpanId: Id_54, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -858,13 +933,37 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_36, + TraceId: Id_53, + SpanId: Id_55, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_54, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_53, + SpanId: Id_56, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_20, + ParentId: Id_55, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -885,25 +984,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_37, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - ParentId: Id_24, - Tags: { - env: integration_tests, - language: dotnet, - version: 1.0.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_38, + TraceId: Id_53, + SpanId: Id_57, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_25, + ParentId: Id_56, Tags: { env: integration_tests, language: dotnet, @@ -911,51 +997,82 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_39, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_58, + SpanId: Id_59, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_26, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_40, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - ParentId: Id_27, + TraceId: Id_58, + SpanId: Id_60, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_59, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_41, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_58, + SpanId: Id_61, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_28, + Type: web, + ParentId: Id_60, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_42, + TraceId: Id_58, + SpanId: Id_62, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_29, + ParentId: Id_61, Tags: { env: integration_tests, language: dotnet, @@ -963,51 +1080,82 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_43, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_63, + SpanId: Id_64, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_30, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_44, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - ParentId: Id_31, + TraceId: Id_63, + SpanId: Id_65, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_64, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_45, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_63, + SpanId: Id_66, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_31, + Type: web, + ParentId: Id_65, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_46, + TraceId: Id_63, + SpanId: Id_67, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_32, + ParentId: Id_66, Tags: { env: integration_tests, language: dotnet, @@ -1015,12 +1163,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_47, + TraceId: Id_63, + SpanId: Id_68, Name: EndServerAsyncAdd, Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_32, + ParentId: Id_66, Tags: { env: integration_tests, language: dotnet, @@ -1028,51 +1176,82 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_48, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_69, + SpanId: Id_70, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_33, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_49, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - ParentId: Id_33, + TraceId: Id_69, + SpanId: Id_71, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_70, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_50, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_69, + SpanId: Id_72, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_34, + Type: web, + ParentId: Id_71, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_51, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_69, + SpanId: Id_73, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_34, + ParentId: Id_72, Tags: { env: integration_tests, language: dotnet, @@ -1080,38 +1259,82 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_52, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_74, + SpanId: Id_75, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_35, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_53, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_74, + SpanId: Id_76, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_75, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_74, + SpanId: Id_77, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_36, + Type: web, + ParentId: Id_76, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_54, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_74, + SpanId: Id_78, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_36, + ParentId: Id_77, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index a1fdf7551a51..6e741d8c3b73 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v0_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,10 +2,30 @@ { TraceId: Id_1, SpanId: Id_2, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_3, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -18,6 +38,30 @@ span.kind: client, _dd.base_service: Samples.Wcf }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_4, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_3, + Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, Metrics: { process_id: 0, _dd.top_level: 1.0, @@ -26,20 +70,41 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: internal, - Resource: WebClient, + TraceId: Id_1, + SpanId: Id_5, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_4, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_6, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_4, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 }, Metrics: { @@ -50,13 +115,13 @@ } }, { - TraceId: Id_3, - SpanId: Id_5, + TraceId: Id_7, + SpanId: Id_9, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_8, Tags: { component: WebRequest, env: integration_tests, @@ -74,66 +139,95 @@ } }, { - TraceId: Id_3, - SpanId: Id_6, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_4, + TraceId: Id_7, + SpanId: Id_10, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_9, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_7, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_4, + TraceId: Id_7, + SpanId: Id_11, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_12, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_8, + TraceId: Id_13, + SpanId: Id_15, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_14, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -146,42 +240,101 @@ } }, { - TraceId: Id_3, - SpanId: Id_9, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_4, + TraceId: Id_13, + SpanId: Id_16, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_15, + Error: 1, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_10, + TraceId: Id_13, + SpanId: Id_17, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_21, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_20, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -194,37 +347,78 @@ } }, { - TraceId: Id_3, - SpanId: Id_11, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_4, + TraceId: Id_19, + SpanId: Id_22, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_21, + Error: 1, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_12, + TraceId: Id_19, + SpanId: Id_23, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_22, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_24, + SpanId: Id_25, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_24, + SpanId: Id_26, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_25, Tags: { component: WebRequest, env: integration_tests, @@ -242,37 +436,72 @@ } }, { - TraceId: Id_3, - SpanId: Id_13, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_4, + TraceId: Id_24, + SpanId: Id_27, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_26, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_14, + TraceId: Id_24, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_27, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_31, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_30, Tags: { component: WebRequest, env: integration_tests, @@ -290,37 +519,52 @@ } }, { - TraceId: Id_3, - SpanId: Id_15, - Name: http.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, - Service: Samples.Wcf-http-client, - Type: http, - ParentId: Id_4, + TraceId: Id_29, + SpanId: Id_32, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_31, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, runtime-id: Guid_1, - span.kind: client, - _dd.base_service: Samples.Wcf + span.kind: server, + version: 1.0.0 }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_16, + TraceId: Id_29, + SpanId: Id_33, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_34, + SpanId: Id_35, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -334,27 +578,44 @@ _dd.base_service: Samples.Wcf }, Metrics: { - _dd.top_level: 1.0 + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_17, + TraceId: Id_36, + SpanId: Id_37, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_36, + SpanId: Id_38, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_37, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -367,13 +628,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_18, + TraceId: Id_36, + SpanId: Id_39, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_37, Tags: { component: WebRequest, env: integration_tests, @@ -391,23 +652,18 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_19, + TraceId: Id_36, + SpanId: Id_40, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_37, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -420,13 +676,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_20, + TraceId: Id_36, + SpanId: Id_41, Name: http.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf-http-client, Type: http, - ParentId: Id_4, + ParentId: Id_37, Tags: { component: WebRequest, env: integration_tests, @@ -444,13 +700,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_21, + TraceId: Id_36, + SpanId: Id_42, Name: wcf.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_38, Tags: { component: Wcf, env: integration_tests, @@ -470,13 +726,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_22, + TraceId: Id_36, + SpanId: Id_43, Name: wcf.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue, Service: Samples.Wcf, Type: web, - ParentId: Id_6, + ParentId: Id_39, Tags: { component: Wcf, env: integration_tests, @@ -496,13 +752,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_23, + TraceId: Id_36, + SpanId: Id_44, Name: wcf.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_40, Tags: { component: Wcf, env: integration_tests, @@ -522,121 +778,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_24, + TraceId: Id_36, + SpanId: Id_45, Name: wcf.request, Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_8, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_25, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_9, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_26, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_10, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_27, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_11, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_28, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_12, + ParentId: Id_41, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -657,50 +805,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_29, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_36, + SpanId: Id_46, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_13, + ParentId: Id_45, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_30, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_47, + SpanId: Id_48, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_14, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -711,40 +837,37 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_31, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_15, + TraceId: Id_47, + SpanId: Id_49, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_48, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + out.host: localhost, runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 + span.kind: client, + _dd.base_service: Samples.Wcf }, Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + _dd.top_level: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_32, + TraceId: Id_47, + SpanId: Id_50, Name: wcf.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_16, + ParentId: Id_49, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -765,89 +888,41 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_33, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_47, + SpanId: Id_51, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_17, - Error: 1, + ParentId: Id_50, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_34, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_47, + SpanId: Id_52, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_18, + ParentId: Id_50, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_35, - Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_19, - Error: 1, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + TraceId: Id_53, + SpanId: Id_54, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -858,13 +933,37 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_36, + TraceId: Id_53, + SpanId: Id_55, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_54, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_53, + SpanId: Id_56, Name: wcf.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_20, + ParentId: Id_55, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -885,25 +984,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_37, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - ParentId: Id_24, - Tags: { - env: integration_tests, - language: dotnet, - version: 1.0.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_38, + TraceId: Id_53, + SpanId: Id_57, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_25, + ParentId: Id_56, Tags: { env: integration_tests, language: dotnet, @@ -911,51 +997,82 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_39, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_58, + SpanId: Id_59, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_26, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_40, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, - Service: Samples.Wcf, - ParentId: Id_27, + TraceId: Id_58, + SpanId: Id_60, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_59, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_41, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_58, + SpanId: Id_61, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_28, + Type: web, + ParentId: Id_60, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_42, + TraceId: Id_58, + SpanId: Id_62, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_29, + ParentId: Id_61, Tags: { env: integration_tests, language: dotnet, @@ -963,51 +1080,82 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_43, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_63, + SpanId: Id_64, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_30, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_44, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, - Service: Samples.Wcf, - ParentId: Id_31, + TraceId: Id_63, + SpanId: Id_65, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_64, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_45, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_63, + SpanId: Id_66, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_31, + Type: web, + ParentId: Id_65, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_46, + TraceId: Id_63, + SpanId: Id_67, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_32, + ParentId: Id_66, Tags: { env: integration_tests, language: dotnet, @@ -1015,12 +1163,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_47, + TraceId: Id_63, + SpanId: Id_68, Name: EndServerAsyncAdd, Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_32, + ParentId: Id_66, Tags: { env: integration_tests, language: dotnet, @@ -1028,51 +1176,82 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_48, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_69, + SpanId: Id_70, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_33, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_49, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, - Service: Samples.Wcf, - ParentId: Id_33, + TraceId: Id_69, + SpanId: Id_71, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_70, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_50, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_69, + SpanId: Id_72, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_34, + Type: web, + ParentId: Id_71, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_51, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_69, + SpanId: Id_73, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_34, + ParentId: Id_72, Tags: { env: integration_tests, language: dotnet, @@ -1080,38 +1259,82 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_52, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_74, + SpanId: Id_75, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_35, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_53, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_74, + SpanId: Id_76, + Name: http.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf-http-client, + Type: http, + ParentId: Id_75, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.Wcf + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_74, + SpanId: Id_77, + Name: wcf.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_36, + Type: web, + ParentId: Id_76, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_54, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_74, + SpanId: Id_78, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_36, + ParentId: Id_77, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt index 2056547c0767..0c9404103798 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt @@ -2,8 +2,8 @@ { TraceId: Id_1, SpanId: Id_2, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -19,34 +19,45 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_3, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, + Type: http, + ParentId: Id_2, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_5, - SpanId: Id_6, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_4, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_3, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -57,39 +68,28 @@ } }, { - TraceId: Id_7, - SpanId: Id_8, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_5, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, + ParentId: Id_4, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_10, - Name: internal, - Resource: WebClient, + TraceId: Id_6, + SpanId: Id_7, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 }, Metrics: { @@ -100,13 +100,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_11, + TraceId: Id_6, + SpanId: Id_8, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_10, + ParentId: Id_7, Tags: { component: WebRequest, env: integration_tests, @@ -122,106 +122,95 @@ } }, { - TraceId: Id_9, - SpanId: Id_12, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_6, + SpanId: Id_9, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_10, + Type: web, + ParentId: Id_8, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_13, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_6, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_10, + ParentId: Id_9, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + version: 1.0.0 } }, { - TraceId: Id_9, - SpanId: Id_14, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_6, + SpanId: Id_11, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_10, + ParentId: Id_9, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + version: 1.0.0 } }, { - TraceId: Id_9, - SpanId: Id_15, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_12, + SpanId: Id_13, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, Service: Samples.Wcf, - Type: http, - ParentId: Id_10, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_16, + TraceId: Id_12, + SpanId: Id_14, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_10, + ParentId: Id_13, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -232,79 +221,72 @@ } }, { - TraceId: Id_9, - SpanId: Id_17, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_12, + SpanId: Id_15, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_10, + Type: web, + ParentId: Id_14, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_18, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_12, + SpanId: Id_16, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_10, + ParentId: Id_15, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + version: 1.0.0 } }, { - TraceId: Id_9, - SpanId: Id_19, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_17, + SpanId: Id_18, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, Service: Samples.Wcf, - Type: http, - ParentId: Id_10, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_20, + TraceId: Id_17, + SpanId: Id_19, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_10, + ParentId: Id_18, Tags: { component: WebRequest, env: integration_tests, @@ -325,13 +307,72 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, + TraceId: Id_17, + SpanId: Id_20, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_19, + Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_17, SpanId: Id_21, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_23, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_24, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_10, + ParentId: Id_23, Tags: { component: WebRequest, env: integration_tests, @@ -347,40 +388,72 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_22, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_22, + SpanId: Id_25, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_10, + Type: web, + ParentId: Id_24, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_23, + TraceId: Id_22, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_29, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_10, + ParentId: Id_28, Tags: { component: WebRequest, env: integration_tests, @@ -396,13 +469,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_24, + TraceId: Id_27, + SpanId: Id_30, Name: http.server.request, - Resource: /WcfSample/123,123/CalculatorService, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_29, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -423,23 +496,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_25, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_27, + SpanId: Id_31, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_32, + SpanId: Id_33, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_12, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -450,23 +528,15 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_26, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_34, + SpanId: Id_35, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -477,23 +547,15 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_27, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_36, + SpanId: Id_37, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_14, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -504,23 +566,15 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_28, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_38, + SpanId: Id_39, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_15, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -531,23 +585,15 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_29, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_40, + SpanId: Id_41, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_16, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -558,13 +604,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_30, + TraceId: Id_40, + SpanId: Id_42, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_41, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_40, + SpanId: Id_43, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_42, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -585,23 +653,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_31, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_40, + SpanId: Id_44, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_43, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_45, + SpanId: Id_46, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_18, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -612,13 +685,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_32, + TraceId: Id_45, + SpanId: Id_47, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_46, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_45, + SpanId: Id_48, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_19, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -639,23 +734,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_33, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_49, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_48, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_50, + SpanId: Id_51, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_20, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -666,13 +766,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_34, + TraceId: Id_50, + SpanId: Id_52, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_51, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_50, + SpanId: Id_53, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_52, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -693,23 +815,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_35, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_54, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_53, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_55, + SpanId: Id_56, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_22, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -720,13 +847,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_36, + TraceId: Id_55, + SpanId: Id_57, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_56, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_55, + SpanId: Id_58, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_57, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -747,25 +896,12 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_37, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - ParentId: Id_24, - Tags: { - env: integration_tests, - language: dotnet, - version: 1.0.0 - } - }, - { - TraceId: Id_9, - SpanId: Id_38, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_55, + SpanId: Id_59, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_25, + ParentId: Id_58, Tags: { env: integration_tests, language: dotnet, @@ -773,51 +909,80 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_39, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_60, + SpanId: Id_61, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_26, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_40, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_60, + SpanId: Id_62, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_27, + Type: http, + ParentId: Id_61, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_9, - SpanId: Id_41, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_60, + SpanId: Id_63, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_28, + Type: web, + ParentId: Id_62, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_42, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_60, + SpanId: Id_64, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_29, + ParentId: Id_63, Tags: { env: integration_tests, language: dotnet, @@ -825,51 +990,80 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_43, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_65, + SpanId: Id_66, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_30, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_44, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_65, + SpanId: Id_67, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_31, + Type: http, + ParentId: Id_66, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_9, - SpanId: Id_45, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_65, + SpanId: Id_68, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_32, + Type: web, + ParentId: Id_67, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_46, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_65, + SpanId: Id_69, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_33, + ParentId: Id_68, Tags: { env: integration_tests, language: dotnet, @@ -877,51 +1071,80 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_47, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_70, + SpanId: Id_71, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_48, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_70, + SpanId: Id_72, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_34, + Type: http, + ParentId: Id_71, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_9, - SpanId: Id_49, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_70, + SpanId: Id_73, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_35, + Type: web, + ParentId: Id_72, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_50, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_70, + SpanId: Id_74, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_36, + ParentId: Id_73, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt index 3aaff22614cf..73d0797d968a 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt @@ -2,8 +2,8 @@ { TraceId: Id_1, SpanId: Id_2, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -19,34 +19,45 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_3, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, + Type: http, + ParentId: Id_2, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_5, - SpanId: Id_6, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_4, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_3, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -57,39 +68,28 @@ } }, { - TraceId: Id_7, - SpanId: Id_8, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_5, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, + ParentId: Id_4, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_10, - Name: internal, - Resource: WebClient, + TraceId: Id_6, + SpanId: Id_7, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 }, Metrics: { @@ -100,13 +100,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_11, + TraceId: Id_6, + SpanId: Id_8, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_10, + ParentId: Id_7, Tags: { component: WebRequest, env: integration_tests, @@ -122,106 +122,95 @@ } }, { - TraceId: Id_9, - SpanId: Id_12, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_6, + SpanId: Id_9, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_10, + Type: web, + ParentId: Id_8, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_13, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_6, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_10, + ParentId: Id_9, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + version: 1.0.0 } }, { - TraceId: Id_9, - SpanId: Id_14, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_6, + SpanId: Id_11, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_10, + ParentId: Id_9, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + version: 1.0.0 } }, { - TraceId: Id_9, - SpanId: Id_15, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_12, + SpanId: Id_13, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, Service: Samples.Wcf, - Type: http, - ParentId: Id_10, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_16, + TraceId: Id_12, + SpanId: Id_14, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_10, + ParentId: Id_13, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -232,79 +221,72 @@ } }, { - TraceId: Id_9, - SpanId: Id_17, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_12, + SpanId: Id_15, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_10, + Type: web, + ParentId: Id_14, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_18, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_12, + SpanId: Id_16, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_10, + ParentId: Id_15, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + version: 1.0.0 } }, { - TraceId: Id_9, - SpanId: Id_19, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_17, + SpanId: Id_18, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, Service: Samples.Wcf, - Type: http, - ParentId: Id_10, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_20, + TraceId: Id_17, + SpanId: Id_19, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_10, + ParentId: Id_18, Tags: { component: WebRequest, env: integration_tests, @@ -325,13 +307,72 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, + TraceId: Id_17, + SpanId: Id_20, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_19, + Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_17, SpanId: Id_21, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_23, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_24, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_10, + ParentId: Id_23, Tags: { component: WebRequest, env: integration_tests, @@ -347,40 +388,72 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_22, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_22, + SpanId: Id_25, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_10, + Type: web, + ParentId: Id_24, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_23, + TraceId: Id_22, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_29, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_10, + ParentId: Id_28, Tags: { component: WebRequest, env: integration_tests, @@ -396,13 +469,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_24, + TraceId: Id_27, + SpanId: Id_30, Name: http.server.request, - Resource: /WcfSample/?/CalculatorService, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_11, + ParentId: Id_29, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -423,23 +496,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_25, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_27, + SpanId: Id_31, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_32, + SpanId: Id_33, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_12, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -450,23 +528,15 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_26, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_34, + SpanId: Id_35, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -477,23 +547,15 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_27, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_36, + SpanId: Id_37, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_14, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -504,23 +566,15 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_28, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_38, + SpanId: Id_39, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_15, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -531,23 +585,15 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_29, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_40, + SpanId: Id_41, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_16, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -558,13 +604,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_30, + TraceId: Id_40, + SpanId: Id_42, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_41, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_40, + SpanId: Id_43, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_17, + ParentId: Id_42, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -585,23 +653,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_31, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_40, + SpanId: Id_44, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_43, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_45, + SpanId: Id_46, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_18, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -612,13 +685,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_32, + TraceId: Id_45, + SpanId: Id_47, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_46, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_45, + SpanId: Id_48, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_19, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -639,23 +734,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_33, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_49, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_48, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_50, + SpanId: Id_51, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_20, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -666,13 +766,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_34, + TraceId: Id_50, + SpanId: Id_52, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_51, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_50, + SpanId: Id_53, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_21, + ParentId: Id_52, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -693,23 +815,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_35, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_54, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_53, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_55, + SpanId: Id_56, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_22, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -720,13 +847,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_36, + TraceId: Id_55, + SpanId: Id_57, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_56, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_55, + SpanId: Id_58, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_23, + ParentId: Id_57, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -747,25 +896,12 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_37, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - ParentId: Id_24, - Tags: { - env: integration_tests, - language: dotnet, - version: 1.0.0 - } - }, - { - TraceId: Id_9, - SpanId: Id_38, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_55, + SpanId: Id_59, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_25, + ParentId: Id_58, Tags: { env: integration_tests, language: dotnet, @@ -773,51 +909,80 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_39, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_60, + SpanId: Id_61, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_26, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_40, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_60, + SpanId: Id_62, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_27, + Type: http, + ParentId: Id_61, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_9, - SpanId: Id_41, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_60, + SpanId: Id_63, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_28, + Type: web, + ParentId: Id_62, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_42, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_60, + SpanId: Id_64, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_29, + ParentId: Id_63, Tags: { env: integration_tests, language: dotnet, @@ -825,51 +990,80 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_43, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_65, + SpanId: Id_66, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_30, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_44, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_65, + SpanId: Id_67, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_31, + Type: http, + ParentId: Id_66, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_9, - SpanId: Id_45, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_65, + SpanId: Id_68, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_32, + Type: web, + ParentId: Id_67, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_46, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_65, + SpanId: Id_69, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_33, + ParentId: Id_68, Tags: { env: integration_tests, language: dotnet, @@ -877,51 +1071,80 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_9, - SpanId: Id_47, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_70, + SpanId: Id_71, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_48, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_70, + SpanId: Id_72, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_34, + Type: http, + ParentId: Id_71, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_9, - SpanId: Id_49, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_70, + SpanId: Id_73, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_35, + Type: web, + ParentId: Id_72, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_50, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_70, + SpanId: Id_74, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_36, + ParentId: Id_73, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index 31972104ed1b..83904b74d5fb 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,18 +2,13 @@ { TraceId: Id_1, SpanId: Id_2, - Name: internal, - Resource: WebClient, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, - span.kind: internal, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -48,99 +43,83 @@ { TraceId: Id_1, SpanId: Id_4, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, + Type: web, + ParentId: Id_3, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { TraceId: Id_1, SpanId: Id_5, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, + ParentId: Id_4, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + version: 1.0.0 } }, { TraceId: Id_1, SpanId: Id_6, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, + ParentId: Id_4, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + version: 1.0.0 } }, { - TraceId: Id_1, - SpanId: Id_7, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_7, + SpanId: Id_8, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_7, + SpanId: Id_9, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_8, Tags: { component: WebRequest, env: integration_tests, @@ -156,40 +135,95 @@ } }, { - TraceId: Id_1, - SpanId: Id_9, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_7, + SpanId: Id_10, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, + Type: web, + ParentId: Id_9, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_7, + SpanId: Id_11, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_12, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_15, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_14, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -200,35 +234,91 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_13, + SpanId: Id_16, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, + Type: web, + ParentId: Id_15, + Error: 1, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_13, + SpanId: Id_17, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_21, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_20, Tags: { component: WebRequest, env: integration_tests, @@ -249,62 +339,78 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_13, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_19, + SpanId: Id_22, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, + Type: web, + ParentId: Id_21, + Error: 1, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_23, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_22, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 } }, { - TraceId: Id_1, - SpanId: Id_14, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_24, + SpanId: Id_25, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, Tags: { - component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, - http.method: POST, - http.status_code: 500, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_24, + SpanId: Id_26, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_25, Tags: { component: WebRequest, env: integration_tests, @@ -320,13 +426,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_24, + SpanId: Id_27, Name: http.server.request, - Resource: /WcfSample/123,123/CalculatorService, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_3, + ParentId: Id_26, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -335,7 +441,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -347,50 +453,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_17, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_24, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_4, + ParentId: Id_27, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_18, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_29, + SpanId: Id_30, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_5, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -401,40 +485,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_19, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_29, + SpanId: Id_31, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - Type: web, - ParentId: Id_6, + Type: http, + ParentId: Id_30, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_29, + SpanId: Id_32, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_31, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -443,7 +522,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -455,23 +534,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_21, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_29, + SpanId: Id_33, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_8, + ParentId: Id_32, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_34, + SpanId: Id_35, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -482,40 +566,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_22, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_34, + SpanId: Id_36, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - Type: web, - ParentId: Id_9, + Type: http, + ParentId: Id_35, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_1, - SpanId: Id_23, + TraceId: Id_34, + SpanId: Id_37, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_36, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -524,7 +603,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -536,23 +615,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_24, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_34, + SpanId: Id_38, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_11, + ParentId: Id_37, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_40, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -563,46 +647,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_25, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_39, + SpanId: Id_41, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - Type: web, - ParentId: Id_12, - Error: 1, + Type: http, + ParentId: Id_40, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_39, + SpanId: Id_42, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_41, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -611,7 +684,7 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -623,29 +696,41 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_27, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_39, + SpanId: Id_43, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_42, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_44, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_42, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_45, + SpanId: Id_46, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_14, - Error: 1, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -656,13 +741,35 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_28, + TraceId: Id_45, + SpanId: Id_47, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_46, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_45, + SpanId: Id_48, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -671,7 +778,7 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -683,12 +790,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_29, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_45, + SpanId: Id_49, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_16, + ParentId: Id_48, Tags: { env: integration_tests, language: dotnet, @@ -696,51 +803,80 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_30, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_50, + SpanId: Id_51, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_17, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_31, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_50, + SpanId: Id_52, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_18, + Type: http, + ParentId: Id_51, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_1, - SpanId: Id_32, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_50, + SpanId: Id_53, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_19, + Type: web, + ParentId: Id_52, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_33, + TraceId: Id_50, + SpanId: Id_54, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_20, + ParentId: Id_53, Tags: { env: integration_tests, language: dotnet, @@ -748,51 +884,80 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_34, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_55, + SpanId: Id_56, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_21, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_35, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_55, + SpanId: Id_57, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_22, + Type: http, + ParentId: Id_56, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_1, - SpanId: Id_36, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_55, + SpanId: Id_58, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_23, + Type: web, + ParentId: Id_57, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_37, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_55, + SpanId: Id_59, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_23, + ParentId: Id_58, Tags: { env: integration_tests, language: dotnet, @@ -800,12 +965,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_38, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_55, + SpanId: Id_60, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_24, + ParentId: Id_58, Tags: { env: integration_tests, language: dotnet, @@ -813,51 +978,80 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_39, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_61, + SpanId: Id_62, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_24, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_40, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_61, + SpanId: Id_63, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_25, + Type: http, + ParentId: Id_62, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_1, - SpanId: Id_41, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_61, + SpanId: Id_64, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_25, + Type: web, + ParentId: Id_63, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_42, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_61, + SpanId: Id_65, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_26, + ParentId: Id_64, Tags: { env: integration_tests, language: dotnet, @@ -865,51 +1059,80 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_43, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_66, + SpanId: Id_67, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_26, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_44, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_66, + SpanId: Id_68, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_27, + Type: http, + ParentId: Id_67, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_1, - SpanId: Id_45, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_66, + SpanId: Id_69, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_28, + Type: web, + ParentId: Id_68, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_46, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_66, + SpanId: Id_70, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_28, + ParentId: Id_69, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 01430c4a4145..45f3eff7a3ea 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=BasicHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,18 +2,13 @@ { TraceId: Id_1, SpanId: Id_2, - Name: internal, - Resource: WebClient, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, - span.kind: internal, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -48,99 +43,83 @@ { TraceId: Id_1, SpanId: Id_4, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, + Type: web, + ParentId: Id_3, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { TraceId: Id_1, SpanId: Id_5, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, + ParentId: Id_4, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + version: 1.0.0 } }, { TraceId: Id_1, SpanId: Id_6, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, + ParentId: Id_4, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + version: 1.0.0 } }, { - TraceId: Id_1, - SpanId: Id_7, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_7, + SpanId: Id_8, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_7, + SpanId: Id_9, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_8, Tags: { component: WebRequest, env: integration_tests, @@ -156,40 +135,95 @@ } }, { - TraceId: Id_1, - SpanId: Id_9, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_7, + SpanId: Id_10, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, + Type: web, + ParentId: Id_9, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_7, + SpanId: Id_11, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_12, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_15, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_14, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -200,35 +234,91 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_13, + SpanId: Id_16, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, + Type: web, + ParentId: Id_15, + Error: 1, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_13, + SpanId: Id_17, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_21, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_20, Tags: { component: WebRequest, env: integration_tests, @@ -249,62 +339,78 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_13, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_19, + SpanId: Id_22, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, + Type: web, + ParentId: Id_21, + Error: 1, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_23, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_22, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 } }, { - TraceId: Id_1, - SpanId: Id_14, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_24, + SpanId: Id_25, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_2, Tags: { - component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, - http.method: POST, - http.status_code: 500, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_24, + SpanId: Id_26, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_25, Tags: { component: WebRequest, env: integration_tests, @@ -320,13 +426,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_16, + TraceId: Id_24, + SpanId: Id_27, Name: http.server.request, - Resource: /WcfSample/?/CalculatorService, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_3, + ParentId: Id_26, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -335,7 +441,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -347,50 +453,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_17, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_24, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_4, + ParentId: Id_27, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_18, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_29, + SpanId: Id_30, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_5, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -401,40 +485,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_19, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_29, + SpanId: Id_31, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - Type: web, - ParentId: Id_6, + Type: http, + ParentId: Id_30, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_1, - SpanId: Id_20, + TraceId: Id_29, + SpanId: Id_32, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_31, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -443,7 +522,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -455,23 +534,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_21, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_29, + SpanId: Id_33, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_8, + ParentId: Id_32, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_34, + SpanId: Id_35, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -482,40 +566,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_22, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_34, + SpanId: Id_36, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - Type: web, - ParentId: Id_9, + Type: http, + ParentId: Id_35, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_1, - SpanId: Id_23, + TraceId: Id_34, + SpanId: Id_37, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_36, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -524,7 +603,7 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -536,23 +615,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_24, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_34, + SpanId: Id_38, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_11, + ParentId: Id_37, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_40, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -563,46 +647,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_25, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_39, + SpanId: Id_41, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - Type: web, - ParentId: Id_12, - Error: 1, + Type: http, + ParentId: Id_40, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_1, - SpanId: Id_26, + TraceId: Id_39, + SpanId: Id_42, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_41, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -611,7 +684,7 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -623,29 +696,41 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_27, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_39, + SpanId: Id_43, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_42, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_39, + SpanId: Id_44, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_42, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_45, + SpanId: Id_46, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_14, - Error: 1, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -656,13 +741,35 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_28, + TraceId: Id_45, + SpanId: Id_47, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_46, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_45, + SpanId: Id_48, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -671,7 +778,7 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -683,12 +790,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_29, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_45, + SpanId: Id_49, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_16, + ParentId: Id_48, Tags: { env: integration_tests, language: dotnet, @@ -696,51 +803,80 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_30, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_50, + SpanId: Id_51, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_17, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_31, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_50, + SpanId: Id_52, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_18, + Type: http, + ParentId: Id_51, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_1, - SpanId: Id_32, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_50, + SpanId: Id_53, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_19, + Type: web, + ParentId: Id_52, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_33, + TraceId: Id_50, + SpanId: Id_54, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_20, + ParentId: Id_53, Tags: { env: integration_tests, language: dotnet, @@ -748,51 +884,80 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_34, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_55, + SpanId: Id_56, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_21, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_35, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_55, + SpanId: Id_57, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_22, + Type: http, + ParentId: Id_56, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_1, - SpanId: Id_36, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_55, + SpanId: Id_58, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_23, + Type: web, + ParentId: Id_57, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_37, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_55, + SpanId: Id_59, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_23, + ParentId: Id_58, Tags: { env: integration_tests, language: dotnet, @@ -800,12 +965,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_38, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_55, + SpanId: Id_60, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_24, + ParentId: Id_58, Tags: { env: integration_tests, language: dotnet, @@ -813,51 +978,80 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_39, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_61, + SpanId: Id_62, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_24, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_40, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_61, + SpanId: Id_63, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_25, + Type: http, + ParentId: Id_62, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_1, - SpanId: Id_41, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_61, + SpanId: Id_64, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_25, + Type: web, + ParentId: Id_63, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_42, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_61, + SpanId: Id_65, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_26, + ParentId: Id_64, Tags: { env: integration_tests, language: dotnet, @@ -865,51 +1059,80 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_43, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_66, + SpanId: Id_67, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_26, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_44, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_66, + SpanId: Id_68, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_27, + Type: http, + ParentId: Id_67, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_1, - SpanId: Id_45, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_66, + SpanId: Id_69, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_28, + Type: web, + ParentId: Id_68, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_46, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_66, + SpanId: Id_70, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_28, + ParentId: Id_69, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=Custom_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=Custom_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 52f49eefcfc9..e7a0eae26aa0 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=Custom_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=Custom_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,18 +2,13 @@ { TraceId: Id_1, SpanId: Id_2, - Name: internal, - Resource: WebClient, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, - span.kind: internal, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -37,7 +32,7 @@ error.msg: The remote server returned an error: (500) Internal Server Error., error.stack: System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.GetResponse(), +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), error.type: System.Net.WebException, http.method: POST, http.status_code: 500, @@ -51,20 +46,39 @@ at System.Net.HttpWebRequest.GetResponse(), } }, { - TraceId: Id_1, - SpanId: Id_4, + TraceId: Id_4, + SpanId: Id_5, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_4, + SpanId: Id_6, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_5, Tags: { component: WebRequest, env: integration_tests, error.msg: The remote server returned an error: (500) Internal Server Error., error.stack: System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.GetResponse(), +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), error.type: System.Net.WebException, http.method: POST, http.status_code: 500, @@ -78,13 +92,32 @@ at System.Net.HttpWebRequest.GetResponse(), } }, { - TraceId: Id_1, - SpanId: Id_5, + TraceId: Id_7, + SpanId: Id_8, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_9, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_8, Tags: { component: WebRequest, env: integration_tests, @@ -105,13 +138,32 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_6, + TraceId: Id_10, + SpanId: Id_11, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_10, + SpanId: Id_12, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_11, Tags: { component: WebRequest, env: integration_tests, @@ -132,20 +184,39 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_13, + SpanId: Id_14, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_15, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_14, Tags: { component: WebRequest, env: integration_tests, error.msg: The remote server returned an error: (500) Internal Server Error., error.stack: System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.GetResponse(), +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), error.type: System.Net.WebException, http.method: POST, http.status_code: 500, @@ -159,13 +230,32 @@ at System.Net.HttpWebRequest.GetResponse(), } }, { - TraceId: Id_1, - SpanId: Id_8, + TraceId: Id_16, + SpanId: Id_17, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_16, + SpanId: Id_18, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_17, Tags: { component: WebRequest, env: integration_tests, @@ -186,20 +276,39 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_9, + TraceId: Id_19, + SpanId: Id_20, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_21, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_20, Tags: { component: WebRequest, env: integration_tests, error.msg: The remote server returned an error: (500) Internal Server Error., error.stack: System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), +at System.Net.HttpWebRequest.GetResponse(), error.type: System.Net.WebException, http.method: POST, http.status_code: 500, @@ -213,13 +322,32 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_10, + TraceId: Id_22, + SpanId: Id_23, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_24, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_23, Tags: { component: WebRequest, env: integration_tests, @@ -240,20 +368,39 @@ at System.Net.HttpWebRequest.GetResponse(), } }, { - TraceId: Id_1, - SpanId: Id_11, + TraceId: Id_25, + SpanId: Id_26, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_25, + SpanId: Id_27, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_26, Tags: { component: WebRequest, env: integration_tests, error.msg: The remote server returned an error: (500) Internal Server Error., error.stack: System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), +at System.Net.HttpWebRequest.GetResponse(), error.type: System.Net.WebException, http.method: POST, http.status_code: 500, @@ -267,20 +414,39 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_12, + TraceId: Id_28, + SpanId: Id_29, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_28, + SpanId: Id_30, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_29, Tags: { component: WebRequest, env: integration_tests, error.msg: The remote server returned an error: (500) Internal Server Error., error.stack: System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), +at System.Net.HttpWebRequest.GetResponse(), error.type: System.Net.WebException, http.method: POST, http.status_code: 500, @@ -294,13 +460,32 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_13, + TraceId: Id_31, + SpanId: Id_32, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_31, + SpanId: Id_33, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_32, Tags: { component: WebRequest, env: integration_tests, @@ -321,13 +506,32 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_34, + SpanId: Id_35, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_34, + SpanId: Id_36, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_35, Tags: { component: WebRequest, env: integration_tests, @@ -348,13 +552,32 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_37, + SpanId: Id_38, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_37, + SpanId: Id_39, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_2, + ParentId: Id_38, Tags: { component: WebRequest, env: integration_tests, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt index 272af0043dec..b5414c820589 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt @@ -2,8 +2,8 @@ { TraceId: Id_1, SpanId: Id_2, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -19,15 +19,21 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_3, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -37,11 +43,24 @@ _sampling_priority_v1: 1.0 } }, + { + TraceId: Id_1, + SpanId: Id_4, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_3, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, { TraceId: Id_5, SpanId: Id_6, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -57,15 +76,21 @@ } }, { - TraceId: Id_7, - SpanId: Id_8, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_5, + SpanId: Id_7, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_6, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -76,20 +101,41 @@ } }, { - TraceId: Id_9, - SpanId: Id_10, - Name: internal, - Resource: WebClient, + TraceId: Id_5, + SpanId: Id_8, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_9, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_10, + SpanId: Id_11, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 }, Metrics: { @@ -100,13 +146,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_11, + TraceId: Id_10, + SpanId: Id_12, Name: http.server.request, - Resource: /WcfSample/123,123/CalculatorService, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -125,21 +171,28 @@ } }, { - TraceId: Id_9, - SpanId: Id_12, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_10, + SpanId: Id_13, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_12, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_14, + SpanId: Id_15, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -150,13 +203,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_13, + TraceId: Id_14, + SpanId: Id_16, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_15, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -175,13 +228,45 @@ } }, { - TraceId: Id_9, - SpanId: Id_14, + TraceId: Id_14, + SpanId: Id_17, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_18, + SpanId: Id_19, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_18, + SpanId: Id_20, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_19, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -200,21 +285,28 @@ } }, { - TraceId: Id_9, - SpanId: Id_15, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_18, + SpanId: Id_21, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_23, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -225,13 +317,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_16, + TraceId: Id_22, + SpanId: Id_24, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_23, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -250,21 +342,28 @@ } }, { - TraceId: Id_9, - SpanId: Id_17, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_22, + SpanId: Id_25, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_26, + SpanId: Id_27, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -275,21 +374,15 @@ } }, { - TraceId: Id_9, - SpanId: Id_18, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_28, + SpanId: Id_29, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -300,21 +393,15 @@ } }, { - TraceId: Id_9, - SpanId: Id_19, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_30, + SpanId: Id_31, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -325,21 +412,15 @@ } }, { - TraceId: Id_9, - SpanId: Id_20, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_32, + SpanId: Id_33, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -350,21 +431,15 @@ } }, { - TraceId: Id_9, - SpanId: Id_21, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_34, + SpanId: Id_35, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -375,13 +450,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_22, + TraceId: Id_34, + SpanId: Id_36, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_35, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -400,13 +475,45 @@ } }, { - TraceId: Id_9, - SpanId: Id_23, + TraceId: Id_34, + SpanId: Id_37, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_36, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_38, + SpanId: Id_39, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_38, + SpanId: Id_40, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_39, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -425,12 +532,12 @@ } }, { - TraceId: Id_9, - SpanId: Id_24, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_38, + SpanId: Id_41, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_11, + ParentId: Id_40, Tags: { env: integration_tests, language: dotnet, @@ -438,38 +545,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_25, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_42, + SpanId: Id_43, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_12, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_26, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_42, + SpanId: Id_44, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_13, + Type: web, + ParentId: Id_43, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_27, + TraceId: Id_42, + SpanId: Id_45, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_14, + ParentId: Id_44, Tags: { env: integration_tests, language: dotnet, @@ -477,38 +602,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_28, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_46, + SpanId: Id_47, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_15, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_29, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_46, + SpanId: Id_48, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_16, + Type: web, + ParentId: Id_47, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_30, + TraceId: Id_46, + SpanId: Id_49, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_17, + ParentId: Id_48, Tags: { env: integration_tests, language: dotnet, @@ -516,38 +659,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_31, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_51, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_18, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_32, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_52, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_19, + Type: web, + ParentId: Id_51, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_33, + TraceId: Id_50, + SpanId: Id_53, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_20, + ParentId: Id_52, Tags: { env: integration_tests, language: dotnet, @@ -555,38 +716,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_34, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_55, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_21, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_35, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_56, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_21, + Type: web, + ParentId: Id_55, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_36, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_57, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_22, + ParentId: Id_56, Tags: { env: integration_tests, language: dotnet, @@ -594,12 +773,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_37, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_58, + SpanId: Id_59, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_23, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_58, + SpanId: Id_60, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_59, + Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, + env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_58, + SpanId: Id_61, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_60, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt index 4e345835d914..16d4ad58e3fb 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt @@ -2,8 +2,8 @@ { TraceId: Id_1, SpanId: Id_2, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -19,15 +19,21 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_3, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_2, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -37,11 +43,24 @@ _sampling_priority_v1: 1.0 } }, + { + TraceId: Id_1, + SpanId: Id_4, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_3, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, { TraceId: Id_5, SpanId: Id_6, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -57,15 +76,21 @@ } }, { - TraceId: Id_7, - SpanId: Id_8, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_5, + SpanId: Id_7, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_6, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -76,20 +101,41 @@ } }, { - TraceId: Id_9, - SpanId: Id_10, - Name: internal, - Resource: WebClient, + TraceId: Id_5, + SpanId: Id_8, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_5, + SpanId: Id_9, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_10, + SpanId: Id_11, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 }, Metrics: { @@ -100,13 +146,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_11, + TraceId: Id_10, + SpanId: Id_12, Name: http.server.request, - Resource: /WcfSample/?/CalculatorService, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_11, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -125,21 +171,28 @@ } }, { - TraceId: Id_9, - SpanId: Id_12, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_10, + SpanId: Id_13, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_12, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_14, + SpanId: Id_15, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -150,13 +203,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_13, + TraceId: Id_14, + SpanId: Id_16, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_15, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -175,13 +228,45 @@ } }, { - TraceId: Id_9, - SpanId: Id_14, + TraceId: Id_14, + SpanId: Id_17, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_18, + SpanId: Id_19, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_18, + SpanId: Id_20, Name: http.server.request, Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_19, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -200,21 +285,28 @@ } }, { - TraceId: Id_9, - SpanId: Id_15, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_18, + SpanId: Id_21, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_23, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -225,13 +317,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_16, + TraceId: Id_22, + SpanId: Id_24, Name: http.server.request, Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_23, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -250,21 +342,28 @@ } }, { - TraceId: Id_9, - SpanId: Id_17, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_22, + SpanId: Id_25, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_24, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_26, + SpanId: Id_27, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -275,21 +374,15 @@ } }, { - TraceId: Id_9, - SpanId: Id_18, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_28, + SpanId: Id_29, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -300,21 +393,15 @@ } }, { - TraceId: Id_9, - SpanId: Id_19, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_30, + SpanId: Id_31, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -325,21 +412,15 @@ } }, { - TraceId: Id_9, - SpanId: Id_20, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_32, + SpanId: Id_33, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -350,21 +431,15 @@ } }, { - TraceId: Id_9, - SpanId: Id_21, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_34, + SpanId: Id_35, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_10, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -375,13 +450,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_22, + TraceId: Id_34, + SpanId: Id_36, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_35, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -400,13 +475,45 @@ } }, { - TraceId: Id_9, - SpanId: Id_23, + TraceId: Id_34, + SpanId: Id_37, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_36, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_38, + SpanId: Id_39, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_38, + SpanId: Id_40, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_10, + ParentId: Id_39, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -425,12 +532,12 @@ } }, { - TraceId: Id_9, - SpanId: Id_24, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_38, + SpanId: Id_41, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_11, + ParentId: Id_40, Tags: { env: integration_tests, language: dotnet, @@ -438,38 +545,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_25, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_42, + SpanId: Id_43, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_12, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_26, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_42, + SpanId: Id_44, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_13, + Type: web, + ParentId: Id_43, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_27, + TraceId: Id_42, + SpanId: Id_45, Name: ServerSyncAdd, Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_14, + ParentId: Id_44, Tags: { env: integration_tests, language: dotnet, @@ -477,38 +602,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_28, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_46, + SpanId: Id_47, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_15, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_29, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_46, + SpanId: Id_48, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_16, + Type: web, + ParentId: Id_47, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_30, + TraceId: Id_46, + SpanId: Id_49, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_17, + ParentId: Id_48, Tags: { env: integration_tests, language: dotnet, @@ -516,38 +659,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_31, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_51, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_18, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_32, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_52, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_19, + Type: web, + ParentId: Id_51, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_33, + TraceId: Id_50, + SpanId: Id_53, Name: BeginServerAsyncAdd, Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_20, + ParentId: Id_52, Tags: { env: integration_tests, language: dotnet, @@ -555,38 +716,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_34, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_55, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_21, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_35, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_56, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_21, + Type: web, + ParentId: Id_55, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_9, - SpanId: Id_36, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_57, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_22, + ParentId: Id_56, Tags: { env: integration_tests, language: dotnet, @@ -594,12 +773,56 @@ } }, { - TraceId: Id_9, - SpanId: Id_37, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_58, + SpanId: Id_59, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_23, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_58, + SpanId: Id_60, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_59, + Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, + env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_58, + SpanId: Id_61, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_60, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index fe97c4df462b..d19082bdb53a 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,18 +2,13 @@ { TraceId: Id_1, SpanId: Id_2, - Name: internal, - Resource: WebClient, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, - span.kind: internal, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -27,7 +22,7 @@ TraceId: Id_1, SpanId: Id_3, Name: http.server.request, - Resource: /WcfSample/123,123/CalculatorService, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, ParentId: Id_2, @@ -37,7 +32,7 @@ env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -51,19 +46,39 @@ { TraceId: Id_1, SpanId: Id_4, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, + ParentId: Id_3, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_5, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_3, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_7, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -74,20 +89,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_5, + TraceId: Id_6, + SpanId: Id_8, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_7, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -99,21 +114,41 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_6, + SpanId: Id_9, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, + ParentId: Id_8, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_10, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_8, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -124,20 +159,26 @@ } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_11, + SpanId: Id_13, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_12, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -149,21 +190,41 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_11, + SpanId: Id_14, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, + ParentId: Id_13, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_15, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_16, + SpanId: Id_17, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -174,20 +235,26 @@ } }, { - TraceId: Id_1, - SpanId: Id_9, + TraceId: Id_16, + SpanId: Id_18, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_17, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -199,21 +266,28 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_16, + SpanId: Id_19, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, + ParentId: Id_18, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_20, + SpanId: Id_21, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -224,20 +298,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, + TraceId: Id_20, + SpanId: Id_22, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_21, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -249,27 +323,28 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_20, + SpanId: Id_23, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, - Error: 1, + ParentId: Id_22, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_24, + SpanId: Id_25, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -280,20 +355,20 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_13, + TraceId: Id_24, + SpanId: Id_26, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_25, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -305,26 +380,52 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_24, + SpanId: Id_27, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_28, + SpanId: Id_29, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_28, + SpanId: Id_30, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_2, - Error: 1, + ParentId: Id_29, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -336,20 +437,52 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_28, + SpanId: Id_31, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_32, + SpanId: Id_33, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_32, + SpanId: Id_34, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_33, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -361,12 +494,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_16, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_32, + SpanId: Id_35, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_3, + ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, @@ -374,12 +507,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_17, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_32, + SpanId: Id_36, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_4, + ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, @@ -387,38 +520,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_18, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_37, + SpanId: Id_38, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_5, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_19, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_37, + SpanId: Id_39, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_6, + Type: web, + ParentId: Id_38, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_20, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_37, + SpanId: Id_40, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_7, + ParentId: Id_39, Tags: { env: integration_tests, language: dotnet, @@ -426,38 +577,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_21, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_41, + SpanId: Id_42, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_8, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_22, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_41, + SpanId: Id_43, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_9, + Type: web, + ParentId: Id_42, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_23, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_41, + SpanId: Id_44, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_10, + ParentId: Id_43, Tags: { env: integration_tests, language: dotnet, @@ -465,38 +634,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_24, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_46, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_10, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_25, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_47, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_11, + Type: web, + ParentId: Id_46, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_26, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_48, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_11, + ParentId: Id_47, Tags: { env: integration_tests, language: dotnet, @@ -504,12 +691,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_27, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_49, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_12, + ParentId: Id_47, Tags: { env: integration_tests, language: dotnet, @@ -517,38 +704,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_51, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_12, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_29, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_52, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_13, + Type: web, + ParentId: Id_51, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_30, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_53, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_13, + ParentId: Id_52, Tags: { env: integration_tests, language: dotnet, @@ -556,38 +761,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_31, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_55, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_14, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_32, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_56, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_15, + Type: web, + ParentId: Id_55, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_33, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_57, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_15, + ParentId: Id_56, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index a875da7b521d..4995ea61167b 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=NetTcpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,18 +2,13 @@ { TraceId: Id_1, SpanId: Id_2, - Name: internal, - Resource: WebClient, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_1, - runtime-id: Guid_2, - span.kind: internal, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -27,7 +22,7 @@ TraceId: Id_1, SpanId: Id_3, Name: http.server.request, - Resource: /WcfSample/?/CalculatorService, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, ParentId: Id_2, @@ -37,7 +32,7 @@ env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -51,19 +46,39 @@ { TraceId: Id_1, SpanId: Id_4, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, + ParentId: Id_3, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_5, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_3, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_7, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -74,20 +89,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_5, + TraceId: Id_6, + SpanId: Id_8, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_7, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -99,21 +114,41 @@ } }, { - TraceId: Id_1, - SpanId: Id_6, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, + TraceId: Id_6, + SpanId: Id_9, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, + ParentId: Id_8, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_10, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_8, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_12, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -124,20 +159,26 @@ } }, { - TraceId: Id_1, - SpanId: Id_7, + TraceId: Id_11, + SpanId: Id_13, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_12, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -149,21 +190,41 @@ } }, { - TraceId: Id_1, - SpanId: Id_8, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_11, + SpanId: Id_14, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, + ParentId: Id_13, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_11, + SpanId: Id_15, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_16, + SpanId: Id_17, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -174,20 +235,26 @@ } }, { - TraceId: Id_1, - SpanId: Id_9, + TraceId: Id_16, + SpanId: Id_18, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_17, + Error: 1, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -199,21 +266,28 @@ } }, { - TraceId: Id_1, - SpanId: Id_10, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_16, + SpanId: Id_19, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, + ParentId: Id_18, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_20, + SpanId: Id_21, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -224,20 +298,20 @@ } }, { - TraceId: Id_1, - SpanId: Id_11, + TraceId: Id_20, + SpanId: Id_22, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_21, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -249,27 +323,28 @@ } }, { - TraceId: Id_1, - SpanId: Id_12, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_20, + SpanId: Id_23, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_2, - Error: 1, + ParentId: Id_22, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, - http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, - span.kind: server, + version: 1.0.0 + } + }, + { + TraceId: Id_24, + SpanId: Id_25, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, version: 1.0.0 }, Metrics: { @@ -280,20 +355,20 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_13, + TraceId: Id_24, + SpanId: Id_26, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_25, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -305,26 +380,52 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_1, - SpanId: Id_14, + TraceId: Id_24, + SpanId: Id_27, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_26, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_28, + SpanId: Id_29, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_28, + SpanId: Id_30, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_2, - Error: 1, + ParentId: Id_29, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -336,20 +437,52 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_15, + TraceId: Id_28, + SpanId: Id_31, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_32, + SpanId: Id_33, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_32, + SpanId: Id_34, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_2, + ParentId: Id_33, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, env: integration_tests, http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_2, + runtime-id: Guid_1, span.kind: server, version: 1.0.0 }, @@ -361,12 +494,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_16, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_32, + SpanId: Id_35, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_3, + ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, @@ -374,12 +507,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_17, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_32, + SpanId: Id_36, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_4, + ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, @@ -387,38 +520,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_18, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_37, + SpanId: Id_38, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_5, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_19, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_37, + SpanId: Id_39, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_6, + Type: web, + ParentId: Id_38, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_20, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_37, + SpanId: Id_40, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_7, + ParentId: Id_39, Tags: { env: integration_tests, language: dotnet, @@ -426,38 +577,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_21, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_41, + SpanId: Id_42, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_8, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_22, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_41, + SpanId: Id_43, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_9, + Type: web, + ParentId: Id_42, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_23, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_41, + SpanId: Id_44, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_10, + ParentId: Id_43, Tags: { env: integration_tests, language: dotnet, @@ -465,38 +634,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_24, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_46, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_10, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_25, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_47, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_11, + Type: web, + ParentId: Id_46, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_26, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_48, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_11, + ParentId: Id_47, Tags: { env: integration_tests, language: dotnet, @@ -504,12 +691,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_27, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_45, + SpanId: Id_49, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_12, + ParentId: Id_47, Tags: { env: integration_tests, language: dotnet, @@ -517,38 +704,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_28, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_51, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_12, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_29, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_52, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_13, + Type: web, + ParentId: Id_51, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_30, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_50, + SpanId: Id_53, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_13, + ParentId: Id_52, Tags: { env: integration_tests, language: dotnet, @@ -556,38 +761,56 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_1, - SpanId: Id_31, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_55, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_14, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_32, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_56, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_15, + Type: web, + ParentId: Id_55, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.url: net.tcp://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_1, - SpanId: Id_33, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_54, + SpanId: Id_57, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_15, + ParentId: Id_56, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt index 8c7af1ead790..d3073121aa3d 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=False.verified.txt @@ -2,8 +2,8 @@ { TraceId: Id_1, SpanId: Id_2, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -19,15 +19,45 @@ } }, { - TraceId: Id_3, + TraceId: Id_1, + SpanId: Id_3, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, SpanId: Id_4, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_3, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -38,29 +68,23 @@ } }, { - TraceId: Id_5, - SpanId: Id_6, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_5, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, + ParentId: Id_4, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_7, - SpanId: Id_8, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_6, + SpanId: Id_7, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -76,12 +100,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_10, + TraceId: Id_6, + SpanId: Id_8, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, + ParentId: Id_7, Tags: { component: WebRequest, env: integration_tests, @@ -91,10 +116,30 @@ language: dotnet, out.host: localhost, peer.service: localhost, - runtime-id: Guid_1, span.kind: client, version: 1.0.0, _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_6, + SpanId: Id_9, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_8, + Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 }, Metrics: { process_id: 0, @@ -104,20 +149,41 @@ } }, { - TraceId: Id_11, - SpanId: Id_12, - Name: internal, - Resource: WebClient, + TraceId: Id_6, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_11, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_12, + SpanId: Id_13, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 }, Metrics: { @@ -128,18 +194,23 @@ } }, { - TraceId: Id_11, - SpanId: Id_13, + TraceId: Id_12, + SpanId: Id_14, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, + ParentId: Id_13, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -150,62 +221,82 @@ } }, { - TraceId: Id_11, - SpanId: Id_14, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_12, + SpanId: Id_15, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_12, + Type: web, + ParentId: Id_14, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_15, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_12, + SpanId: Id_16, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_12, + ParentId: Id_15, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + version: 1.0.0 } }, { - TraceId: Id_11, - SpanId: Id_16, + TraceId: Id_17, + SpanId: Id_18, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_17, + SpanId: Id_19, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, + ParentId: Id_18, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -216,35 +307,72 @@ } }, { - TraceId: Id_11, - SpanId: Id_17, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_17, + SpanId: Id_20, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_12, + Type: web, + ParentId: Id_19, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_18, + TraceId: Id_17, + SpanId: Id_21, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_23, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_24, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, + ParentId: Id_23, Tags: { component: WebRequest, env: integration_tests, @@ -260,35 +388,72 @@ } }, { - TraceId: Id_11, - SpanId: Id_19, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_22, + SpanId: Id_25, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_12, + Type: web, + ParentId: Id_24, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_20, + TraceId: Id_22, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_29, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, + ParentId: Id_28, Tags: { component: WebRequest, env: integration_tests, @@ -304,57 +469,128 @@ } }, { - TraceId: Id_11, - SpanId: Id_21, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_27, + SpanId: Id_30, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_12, + Type: web, + ParentId: Id_29, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_31, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_32, + SpanId: Id_33, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_34, + SpanId: Id_35, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_36, + SpanId: Id_37, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_22, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_38, + SpanId: Id_39, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_12, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_23, + TraceId: Id_40, + SpanId: Id_41, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, Tags: { component: WebRequest, env: integration_tests, @@ -364,51 +600,50 @@ language: dotnet, out.host: localhost, peer.service: localhost, + runtime-id: Guid_1, span.kind: client, version: 1.0.0, _dd.peer.service.source: out.host + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_24, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_42, + SpanId: Id_43, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_12, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_25, + TraceId: Id_42, + SpanId: Id_44, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, + ParentId: Id_43, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -419,13 +654,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_26, + TraceId: Id_42, + SpanId: Id_45, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, + ParentId: Id_43, Tags: { component: WebRequest, env: integration_tests, @@ -441,23 +676,18 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_27, + TraceId: Id_42, + SpanId: Id_46, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, + ParentId: Id_43, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -468,13 +698,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_28, + TraceId: Id_42, + SpanId: Id_47, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, + ParentId: Id_43, Tags: { component: WebRequest, env: integration_tests, @@ -490,13 +720,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_29, + TraceId: Id_42, + SpanId: Id_48, Name: http.server.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_44, Tags: { component: Wcf, env: integration_tests, @@ -516,13 +746,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_30, + TraceId: Id_42, + SpanId: Id_49, Name: http.server.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue, Service: Samples.Wcf, Type: web, - ParentId: Id_14, + ParentId: Id_45, Tags: { component: Wcf, env: integration_tests, @@ -542,13 +772,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_31, + TraceId: Id_42, + SpanId: Id_50, Name: http.server.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_46, Tags: { component: Wcf, env: integration_tests, @@ -568,121 +798,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_32, + TraceId: Id_42, + SpanId: Id_51, Name: http.server.request, Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_16, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_33, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_17, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_34, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_18, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_35, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_19, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_36, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_20, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -703,50 +825,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_37, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_42, + SpanId: Id_52, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_21, + ParentId: Id_51, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_38, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_53, + SpanId: Id_54, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_22, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -757,40 +857,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_39, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_53, + SpanId: Id_55, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - Type: web, - ParentId: Id_23, + Type: http, + ParentId: Id_54, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_11, - SpanId: Id_40, + TraceId: Id_53, + SpanId: Id_56, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_24, + ParentId: Id_55, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -811,23 +906,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_41, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_53, + SpanId: Id_57, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_56, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_58, + SpanId: Id_59, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_25, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -838,13 +938,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_42, + TraceId: Id_58, + SpanId: Id_60, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_59, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_58, + SpanId: Id_61, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_26, + ParentId: Id_60, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -865,23 +987,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_43, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_58, + SpanId: Id_62, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_61, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_63, + SpanId: Id_64, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_27, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -892,13 +1019,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_44, + TraceId: Id_63, + SpanId: Id_65, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_64, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_63, + SpanId: Id_66, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_28, + ParentId: Id_65, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -919,25 +1068,12 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_45, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - ParentId: Id_32, - Tags: { - env: integration_tests, - language: dotnet, - version: 1.0.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_46, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_63, + SpanId: Id_67, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_33, + ParentId: Id_66, Tags: { env: integration_tests, language: dotnet, @@ -945,51 +1081,80 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_47, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_68, + SpanId: Id_69, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_48, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_68, + SpanId: Id_70, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_35, + Type: http, + ParentId: Id_69, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_11, - SpanId: Id_49, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_68, + SpanId: Id_71, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_36, + Type: web, + ParentId: Id_70, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_50, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_68, + SpanId: Id_72, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_37, + ParentId: Id_71, Tags: { env: integration_tests, language: dotnet, @@ -997,51 +1162,80 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_51, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_73, + SpanId: Id_74, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_38, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_52, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_73, + SpanId: Id_75, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_39, + Type: http, + ParentId: Id_74, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_11, - SpanId: Id_53, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_73, + SpanId: Id_76, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_40, + Type: web, + ParentId: Id_75, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_54, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_73, + SpanId: Id_77, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_41, + ParentId: Id_76, Tags: { env: integration_tests, language: dotnet, @@ -1049,51 +1243,80 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_55, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_78, + SpanId: Id_79, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_42, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_56, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_78, + SpanId: Id_80, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_42, + Type: http, + ParentId: Id_79, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_11, - SpanId: Id_57, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_78, + SpanId: Id_81, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_43, + Type: web, + ParentId: Id_80, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_58, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_78, + SpanId: Id_82, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_44, + ParentId: Id_81, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt index c96b07fc3652..317281be1f4d 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=False_enableWcfObfuscation=True.verified.txt @@ -2,8 +2,8 @@ { TraceId: Id_1, SpanId: Id_2, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -19,15 +19,45 @@ } }, { - TraceId: Id_3, + TraceId: Id_1, + SpanId: Id_3, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_2, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, SpanId: Id_4, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, + Type: web, + ParentId: Id_3, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, + span.kind: server, version: 1.0.0 }, Metrics: { @@ -38,29 +68,23 @@ } }, { - TraceId: Id_5, - SpanId: Id_6, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_1, + SpanId: Id_5, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, + ParentId: Id_4, Tags: { env: integration_tests, language: dotnet, - runtime-id: Guid_1, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_7, - SpanId: Id_8, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_6, + SpanId: Id_7, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, Tags: { env: integration_tests, @@ -76,12 +100,13 @@ } }, { - TraceId: Id_9, - SpanId: Id_10, + TraceId: Id_6, + SpanId: Id_8, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, + ParentId: Id_7, Tags: { component: WebRequest, env: integration_tests, @@ -91,10 +116,30 @@ language: dotnet, out.host: localhost, peer.service: localhost, - runtime-id: Guid_1, span.kind: client, version: 1.0.0, _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_6, + SpanId: Id_9, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_8, + Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 }, Metrics: { process_id: 0, @@ -104,20 +149,41 @@ } }, { - TraceId: Id_11, - SpanId: Id_12, - Name: internal, - Resource: WebClient, + TraceId: Id_6, + SpanId: Id_10, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_6, + SpanId: Id_11, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_12, + SpanId: Id_13, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 }, Metrics: { @@ -128,18 +194,23 @@ } }, { - TraceId: Id_11, - SpanId: Id_13, + TraceId: Id_12, + SpanId: Id_14, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, + ParentId: Id_13, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -150,62 +221,82 @@ } }, { - TraceId: Id_11, - SpanId: Id_14, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_12, + SpanId: Id_15, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_12, + Type: web, + ParentId: Id_14, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_15, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_12, + SpanId: Id_16, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_12, + ParentId: Id_15, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + version: 1.0.0 } }, { - TraceId: Id_11, - SpanId: Id_16, + TraceId: Id_17, + SpanId: Id_18, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_17, + SpanId: Id_19, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, + ParentId: Id_18, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -216,35 +307,72 @@ } }, { - TraceId: Id_11, - SpanId: Id_17, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_17, + SpanId: Id_20, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_12, + Type: web, + ParentId: Id_19, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_18, + TraceId: Id_17, + SpanId: Id_21, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_20, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_23, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_22, + SpanId: Id_24, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, + ParentId: Id_23, Tags: { component: WebRequest, env: integration_tests, @@ -260,35 +388,72 @@ } }, { - TraceId: Id_11, - SpanId: Id_19, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_22, + SpanId: Id_25, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_12, + Type: web, + ParentId: Id_24, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_20, + TraceId: Id_22, + SpanId: Id_26, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_25, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_28, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_29, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, + ParentId: Id_28, Tags: { component: WebRequest, env: integration_tests, @@ -304,57 +469,128 @@ } }, { - TraceId: Id_11, - SpanId: Id_21, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_27, + SpanId: Id_30, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_12, + Type: web, + ParentId: Id_29, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_27, + SpanId: Id_31, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_30, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_32, + SpanId: Id_33, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_34, + SpanId: Id_35, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_36, + SpanId: Id_37, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_22, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_38, + SpanId: Id_39, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_12, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_23, + TraceId: Id_40, + SpanId: Id_41, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, Tags: { component: WebRequest, env: integration_tests, @@ -364,51 +600,50 @@ language: dotnet, out.host: localhost, peer.service: localhost, + runtime-id: Guid_1, span.kind: client, version: 1.0.0, _dd.peer.service.source: out.host + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_24, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_42, + SpanId: Id_43, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_12, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_25, + TraceId: Id_42, + SpanId: Id_44, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, + ParentId: Id_43, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -419,13 +654,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_26, + TraceId: Id_42, + SpanId: Id_45, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, + ParentId: Id_43, Tags: { component: WebRequest, env: integration_tests, @@ -441,23 +676,18 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_27, + TraceId: Id_42, + SpanId: Id_46, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, + ParentId: Id_43, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -468,13 +698,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_28, + TraceId: Id_42, + SpanId: Id_47, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_12, + ParentId: Id_43, Tags: { component: WebRequest, env: integration_tests, @@ -490,13 +720,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_29, + TraceId: Id_42, + SpanId: Id_48, Name: http.server.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue, Service: Samples.Wcf, Type: web, - ParentId: Id_13, + ParentId: Id_44, Tags: { component: Wcf, env: integration_tests, @@ -516,13 +746,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_30, + TraceId: Id_42, + SpanId: Id_49, Name: http.server.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue, Service: Samples.Wcf, Type: web, - ParentId: Id_14, + ParentId: Id_45, Tags: { component: Wcf, env: integration_tests, @@ -542,13 +772,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_31, + TraceId: Id_42, + SpanId: Id_50, Name: http.server.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_46, Tags: { component: Wcf, env: integration_tests, @@ -568,121 +798,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_32, + TraceId: Id_42, + SpanId: Id_51, Name: http.server.request, Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_16, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_33, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_17, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_34, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_18, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_35, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_19, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_36, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_20, + ParentId: Id_47, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -703,50 +825,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_37, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_42, + SpanId: Id_52, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_21, + ParentId: Id_51, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_38, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_53, + SpanId: Id_54, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_22, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -757,40 +857,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_39, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_53, + SpanId: Id_55, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - Type: web, - ParentId: Id_23, + Type: http, + ParentId: Id_54, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_11, - SpanId: Id_40, + TraceId: Id_53, + SpanId: Id_56, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_24, + ParentId: Id_55, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -811,23 +906,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_41, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_53, + SpanId: Id_57, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_56, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_58, + SpanId: Id_59, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_25, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -838,13 +938,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_42, + TraceId: Id_58, + SpanId: Id_60, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_59, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_58, + SpanId: Id_61, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_26, + ParentId: Id_60, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -865,23 +987,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_43, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_58, + SpanId: Id_62, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_61, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_63, + SpanId: Id_64, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_27, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -892,13 +1019,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_44, + TraceId: Id_63, + SpanId: Id_65, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, + Service: Samples.Wcf, + Type: http, + ParentId: Id_64, + Tags: { + component: WebRequest, + env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_63, + SpanId: Id_66, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_28, + ParentId: Id_65, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -919,25 +1068,12 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_45, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, - Service: Samples.Wcf, - ParentId: Id_32, - Tags: { - env: integration_tests, - language: dotnet, - version: 1.0.0 - } - }, - { - TraceId: Id_11, - SpanId: Id_46, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_63, + SpanId: Id_67, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_33, + ParentId: Id_66, Tags: { env: integration_tests, language: dotnet, @@ -945,51 +1081,80 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_47, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_68, + SpanId: Id_69, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_48, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_68, + SpanId: Id_70, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_35, + Type: http, + ParentId: Id_69, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_11, - SpanId: Id_49, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_68, + SpanId: Id_71, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_36, + Type: web, + ParentId: Id_70, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_50, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_68, + SpanId: Id_72, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_37, + ParentId: Id_71, Tags: { env: integration_tests, language: dotnet, @@ -997,51 +1162,80 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_51, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_73, + SpanId: Id_74, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_38, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_52, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_73, + SpanId: Id_75, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_39, + Type: http, + ParentId: Id_74, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_11, - SpanId: Id_53, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_73, + SpanId: Id_76, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_40, + Type: web, + ParentId: Id_75, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_54, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_73, + SpanId: Id_77, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_41, + ParentId: Id_76, Tags: { env: integration_tests, language: dotnet, @@ -1049,51 +1243,80 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_11, - SpanId: Id_55, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_78, + SpanId: Id_79, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_42, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_56, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_78, + SpanId: Id_80, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_42, + Type: http, + ParentId: Id_79, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_11, - SpanId: Id_57, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_78, + SpanId: Id_81, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_43, + Type: web, + ParentId: Id_80, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_11, - SpanId: Id_58, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_78, + SpanId: Id_82, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_44, + ParentId: Id_81, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt index e8ca0d9d9d38..e86cb602bbb4 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=False.verified.txt @@ -2,10 +2,30 @@ { TraceId: Id_1, SpanId: Id_2, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_3, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -15,10 +35,30 @@ language: dotnet, out.host: localhost, peer.service: localhost, - runtime-id: Guid_1, span.kind: client, version: 1.0.0, _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_4, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_3, + Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 }, Metrics: { process_id: 0, @@ -28,20 +68,41 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: internal, - Resource: WebClient, + TraceId: Id_1, + SpanId: Id_5, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_4, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_6, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_4, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 }, Metrics: { @@ -52,13 +113,13 @@ } }, { - TraceId: Id_3, - SpanId: Id_5, + TraceId: Id_7, + SpanId: Id_9, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_8, Tags: { component: WebRequest, env: integration_tests, @@ -74,40 +135,95 @@ } }, { - TraceId: Id_3, - SpanId: Id_6, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_7, + SpanId: Id_10, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_4, + Type: web, + ParentId: Id_9, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_11, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_12, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_7, + TraceId: Id_13, + SpanId: Id_15, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_14, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -118,40 +234,101 @@ } }, { - TraceId: Id_3, - SpanId: Id_8, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_13, + SpanId: Id_16, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_4, + Type: web, + ParentId: Id_15, + Error: 1, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_9, + TraceId: Id_13, + SpanId: Id_17, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_21, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_20, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -162,35 +339,78 @@ } }, { - TraceId: Id_3, - SpanId: Id_10, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_19, + SpanId: Id_22, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_4, + Type: web, + ParentId: Id_21, + Error: 1, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_11, + TraceId: Id_19, + SpanId: Id_23, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_22, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_24, + SpanId: Id_25, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_24, + SpanId: Id_26, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_25, Tags: { component: WebRequest, env: integration_tests, @@ -206,35 +426,72 @@ } }, { - TraceId: Id_3, - SpanId: Id_12, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_24, + SpanId: Id_27, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_4, + Type: web, + ParentId: Id_26, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_24, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_27, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_13, + TraceId: Id_29, + SpanId: Id_31, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_30, Tags: { component: WebRequest, env: integration_tests, @@ -250,35 +507,52 @@ } }, { - TraceId: Id_3, - SpanId: Id_14, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_29, + SpanId: Id_32, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_4, + Type: web, + ParentId: Id_31, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_33, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 } }, { - TraceId: Id_3, - SpanId: Id_15, + TraceId: Id_34, + SpanId: Id_35, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -288,51 +562,50 @@ language: dotnet, out.host: localhost, peer.service: localhost, + runtime-id: Guid_1, span.kind: client, version: 1.0.0, _dd.peer.service.source: out.host + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_16, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_36, + SpanId: Id_37, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_4, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_17, + TraceId: Id_36, + SpanId: Id_38, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_37, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -343,13 +616,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_18, + TraceId: Id_36, + SpanId: Id_39, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_37, Tags: { component: WebRequest, env: integration_tests, @@ -365,23 +638,18 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_19, + TraceId: Id_36, + SpanId: Id_40, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_37, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -392,13 +660,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_20, + TraceId: Id_36, + SpanId: Id_41, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_37, Tags: { component: WebRequest, env: integration_tests, @@ -414,13 +682,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_21, + TraceId: Id_36, + SpanId: Id_42, Name: http.server.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_38, Tags: { component: Wcf, env: integration_tests, @@ -440,13 +708,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_22, + TraceId: Id_36, + SpanId: Id_43, Name: http.server.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue, Service: Samples.Wcf, Type: web, - ParentId: Id_6, + ParentId: Id_39, Tags: { component: Wcf, env: integration_tests, @@ -466,13 +734,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_23, + TraceId: Id_36, + SpanId: Id_44, Name: http.server.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_40, Tags: { component: Wcf, env: integration_tests, @@ -492,94 +760,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_24, + TraceId: Id_36, + SpanId: Id_45, Name: http.server.request, Resource: /WcfSample/123,123/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_8, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_25, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_9, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_26, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_10, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_27, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_11, + ParentId: Id_41, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -600,50 +787,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_28, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_36, + SpanId: Id_46, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_12, + ParentId: Id_45, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_29, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_47, + SpanId: Id_48, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -654,40 +819,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_30, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_47, + SpanId: Id_49, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - Type: web, - ParentId: Id_14, + Type: http, + ParentId: Id_48, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_3, - SpanId: Id_31, + TraceId: Id_47, + SpanId: Id_50, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_49, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -708,83 +868,41 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_32, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_47, + SpanId: Id_51, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_16, + ParentId: Id_50, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_33, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_47, + SpanId: Id_52, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_17, - Error: 1, + ParentId: Id_50, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, - { - TraceId: Id_3, - SpanId: Id_34, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + { + TraceId: Id_53, + SpanId: Id_54, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_18, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -795,46 +913,35 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_3, - SpanId: Id_35, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_53, + SpanId: Id_55, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - Type: web, - ParentId: Id_19, - Error: 1, + Type: http, + ParentId: Id_54, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_3, - SpanId: Id_36, + TraceId: Id_53, + SpanId: Id_56, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_20, + ParentId: Id_55, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -855,12 +962,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_37, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_53, + SpanId: Id_57, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_24, + ParentId: Id_56, Tags: { env: integration_tests, language: dotnet, @@ -868,51 +975,80 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_38, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_58, + SpanId: Id_59, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_25, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_39, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_58, + SpanId: Id_60, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_26, + Type: http, + ParentId: Id_59, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_3, - SpanId: Id_40, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_58, + SpanId: Id_61, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_27, + Type: web, + ParentId: Id_60, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_41, + TraceId: Id_58, + SpanId: Id_62, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_28, + ParentId: Id_61, Tags: { env: integration_tests, language: dotnet, @@ -920,51 +1056,80 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_42, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_63, + SpanId: Id_64, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_29, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_43, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_63, + SpanId: Id_65, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_30, + Type: http, + ParentId: Id_64, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_3, - SpanId: Id_44, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_63, + SpanId: Id_66, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_31, + Type: web, + ParentId: Id_65, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_45, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_63, + SpanId: Id_67, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_31, + ParentId: Id_66, Tags: { env: integration_tests, language: dotnet, @@ -972,12 +1137,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_46, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_63, + SpanId: Id_68, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_32, + ParentId: Id_66, Tags: { env: integration_tests, language: dotnet, @@ -985,51 +1150,80 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_47, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_69, + SpanId: Id_70, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_32, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_48, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_69, + SpanId: Id_71, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_33, + Type: http, + ParentId: Id_70, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_3, - SpanId: Id_49, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_69, + SpanId: Id_72, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_33, + Type: web, + ParentId: Id_71, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_50, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_69, + SpanId: Id_73, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_34, + ParentId: Id_72, Tags: { env: integration_tests, language: dotnet, @@ -1037,51 +1231,80 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_51, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_74, + SpanId: Id_75, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_52, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_74, + SpanId: Id_76, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_35, + Type: http, + ParentId: Id_75, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_3, - SpanId: Id_53, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_74, + SpanId: Id_77, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_36, + Type: web, + ParentId: Id_76, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_54, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_74, + SpanId: Id_78, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_36, + ParentId: Id_77, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt index 747b4d975f50..5f36bf3390b1 100644 --- a/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt +++ b/tracer/test/snapshots/WcfTests.__metadataSchemaVersion=v1_binding=WSHttpBinding_enableNewWcfInstrumentation=True_enableWcfObfuscation=True.verified.txt @@ -2,10 +2,30 @@ { TraceId: Id_1, SpanId: Id_2, + Name: Begin_ServerAsyncAdd_false_false, + Resource: Begin_ServerAsyncAdd_false_false, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_3, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, + ParentId: Id_2, Tags: { component: WebRequest, env: integration_tests, @@ -15,10 +35,30 @@ language: dotnet, out.host: localhost, peer.service: localhost, - runtime-id: Guid_1, span.kind: client, version: 1.0.0, _dd.peer.service.source: out.host + } + }, + { + TraceId: Id_1, + SpanId: Id_4, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, + Service: Samples.Wcf, + Type: web, + ParentId: Id_3, + Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, + env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, + language: dotnet, + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 }, Metrics: { process_id: 0, @@ -28,20 +68,41 @@ } }, { - TraceId: Id_3, - SpanId: Id_4, - Name: internal, - Resource: WebClient, + TraceId: Id_1, + SpanId: Id_5, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_4, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_6, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_4, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_8, + Name: Begin_ServerAsyncAdd_false_true, + Resource: Begin_ServerAsyncAdd_false_true, Service: Samples.Wcf, - Type: custom, Tags: { env: integration_tests, language: dotnet, - otel.library.name: Samples.Wcf, - otel.status_code: STATUS_CODE_UNSET, - otel.trace_id: Guid_2, runtime-id: Guid_1, - span.kind: internal, version: 1.0.0 }, Metrics: { @@ -52,13 +113,13 @@ } }, { - TraceId: Id_3, - SpanId: Id_5, + TraceId: Id_7, + SpanId: Id_9, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_8, Tags: { component: WebRequest, env: integration_tests, @@ -74,40 +135,95 @@ } }, { - TraceId: Id_3, - SpanId: Id_6, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_7, + SpanId: Id_10, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_4, + Type: web, + ParentId: Id_9, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_11, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_7, + SpanId: Id_12, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_10, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_14, + Name: Begin_ServerAsyncAdd_true_false, + Resource: Begin_ServerAsyncAdd_true_false, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_7, + TraceId: Id_13, + SpanId: Id_15, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_14, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -118,40 +234,101 @@ } }, { - TraceId: Id_3, - SpanId: Id_8, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_13, + SpanId: Id_16, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_4, + Type: web, + ParentId: Id_15, + Error: 1, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), + error.type: System.ServiceModel.FaultException, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_9, + TraceId: Id_13, + SpanId: Id_17, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_13, + SpanId: Id_18, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_16, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_20, + Name: Begin_ServerAsyncAdd_true_true, + Resource: Begin_ServerAsyncAdd_true_true, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_19, + SpanId: Id_21, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_20, Tags: { component: WebRequest, env: integration_tests, + error.msg: The remote server returned an error: (500) Internal Server Error., + error.stack: +System.Net.WebException: The remote server returned an error: (500) Internal Server Error. +at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), + error.type: System.Net.WebException, http.method: POST, - http.status_code: 200, + http.status_code: 500, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -162,35 +339,78 @@ } }, { - TraceId: Id_3, - SpanId: Id_10, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_19, + SpanId: Id_22, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_4, + Type: web, + ParentId: Id_21, + Error: 1, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + error.msg: Something happened, + error.stack: +System.ServiceModel.FaultException: Something happened +at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), + error.type: System.ServiceModel.FaultException, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_11, + TraceId: Id_19, + SpanId: Id_23, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, + Service: Samples.Wcf, + ParentId: Id_22, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_24, + SpanId: Id_25, + Name: BeginEnd_ServerSyncAdd, + Resource: BeginEnd_ServerSyncAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_24, + SpanId: Id_26, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_25, Tags: { component: WebRequest, env: integration_tests, @@ -206,35 +426,72 @@ } }, { - TraceId: Id_3, - SpanId: Id_12, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_24, + SpanId: Id_27, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_4, + Type: web, + ParentId: Id_26, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_24, + SpanId: Id_28, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, + Service: Samples.Wcf, + ParentId: Id_27, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_30, + Name: BeginEnd_ServerTaskAdd, + Resource: BeginEnd_ServerTaskAdd, + Service: Samples.Wcf, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_13, + TraceId: Id_29, + SpanId: Id_31, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_30, Tags: { component: WebRequest, env: integration_tests, @@ -250,35 +507,52 @@ } }, { - TraceId: Id_3, - SpanId: Id_14, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_29, + SpanId: Id_32, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_4, + Type: web, + ParentId: Id_31, Tags: { - component: WebRequest, + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, http.method: POST, - http.status_code: 200, + http.request.headers.host: localhost:00000, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + span.kind: server, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 + } + }, + { + TraceId: Id_29, + SpanId: Id_33, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, + Service: Samples.Wcf, + ParentId: Id_32, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 } }, { - TraceId: Id_3, - SpanId: Id_15, + TraceId: Id_34, + SpanId: Id_35, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, Tags: { component: WebRequest, env: integration_tests, @@ -288,51 +562,50 @@ language: dotnet, out.host: localhost, peer.service: localhost, + runtime-id: Guid_1, span.kind: client, version: 1.0.0, _dd.peer.service.source: out.host + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_16, - Name: http.client.request, - Resource: POST localhost:00000/WcfSample/?/CalculatorService, + TraceId: Id_36, + SpanId: Id_37, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: http, - ParentId: Id_4, Tags: { - component: WebRequest, env: integration_tests, - http.method: POST, - http.status_code: 200, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - out.host: localhost, - peer.service: localhost, - span.kind: client, - version: 1.0.0, - _dd.peer.service.source: out.host + runtime-id: Guid_1, + version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_17, + TraceId: Id_36, + SpanId: Id_38, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_37, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -343,13 +616,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_18, + TraceId: Id_36, + SpanId: Id_39, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_37, Tags: { component: WebRequest, env: integration_tests, @@ -365,23 +638,18 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_19, + TraceId: Id_36, + SpanId: Id_40, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_37, Tags: { component: WebRequest, env: integration_tests, - error.msg: The remote server returned an error: (500) Internal Server Error., - error.stack: -System.Net.WebException: The remote server returned an error: (500) Internal Server Error. -at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), - error.type: System.Net.WebException, http.method: POST, - http.status_code: 500, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, out.host: localhost, @@ -392,13 +660,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_20, + TraceId: Id_36, + SpanId: Id_41, Name: http.client.request, Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: http, - ParentId: Id_4, + ParentId: Id_37, Tags: { component: WebRequest, env: integration_tests, @@ -414,13 +682,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_21, + TraceId: Id_36, + SpanId: Id_42, Name: http.server.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue, Service: Samples.Wcf, Type: web, - ParentId: Id_5, + ParentId: Id_38, Tags: { component: Wcf, env: integration_tests, @@ -440,13 +708,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_22, + TraceId: Id_36, + SpanId: Id_43, Name: http.server.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue, Service: Samples.Wcf, Type: web, - ParentId: Id_6, + ParentId: Id_39, Tags: { component: Wcf, env: integration_tests, @@ -466,13 +734,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_23, + TraceId: Id_36, + SpanId: Id_44, Name: http.server.request, Resource: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT, Service: Samples.Wcf, Type: web, - ParentId: Id_7, + ParentId: Id_40, Tags: { component: Wcf, env: integration_tests, @@ -492,94 +760,13 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_24, + TraceId: Id_36, + SpanId: Id_45, Name: http.server.request, Resource: /WcfSample/?/CalculatorService, Service: Samples.Wcf, Type: web, - ParentId: Id_8, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_25, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_9, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_26, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_10, - Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, - env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, - language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 - } - }, - { - TraceId: Id_3, - SpanId: Id_27, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerSyncAdd, - Service: Samples.Wcf, - Type: web, - ParentId: Id_11, + ParentId: Id_41, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -600,50 +787,28 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_28, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_36, + SpanId: Id_46, + Name: ServerEmptyActionAdd, + Resource: ServerEmptyActionAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_12, + ParentId: Id_45, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_29, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_47, + SpanId: Id_48, + Name: Sync_ServerAsyncAdd, + Resource: Sync_ServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_13, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -654,40 +819,35 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_30, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerTaskAdd, + TraceId: Id_47, + SpanId: Id_49, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - Type: web, - ParentId: Id_14, + Type: http, + ParentId: Id_48, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_3, - SpanId: Id_31, + TraceId: Id_47, + SpanId: Id_50, Name: http.server.request, Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_15, + ParentId: Id_49, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -708,83 +868,41 @@ at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult), } }, { - TraceId: Id_3, - SpanId: Id_32, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_47, + SpanId: Id_51, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_16, + ParentId: Id_50, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_33, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_47, + SpanId: Id_52, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_17, - Error: 1, + ParentId: Id_50, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResult), - error.type: System.ServiceModel.FaultException, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 } }, - { - TraceId: Id_3, - SpanId: Id_34, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + { + TraceId: Id_53, + SpanId: Id_54, + Name: Sync_ServerSyncAdd, + Resource: Sync_ServerSyncAdd, Service: Samples.Wcf, - Type: web, - ParentId: Id_18, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, env: integration_tests, - http.method: POST, - http.request.headers.host: localhost:00000, - http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, runtime-id: Guid_1, - span.kind: server, version: 1.0.0 }, Metrics: { @@ -795,46 +913,35 @@ at Samples.Wcf.Server.CalculatorService.EndServerAsyncAdd(IAsyncResult asyncResu } }, { - TraceId: Id_3, - SpanId: Id_35, - Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + TraceId: Id_53, + SpanId: Id_55, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - Type: web, - ParentId: Id_19, - Error: 1, + Type: http, + ParentId: Id_54, Tags: { - component: Wcf, - custom-tag: DispatchMessageInspector, + component: WebRequest, env: integration_tests, - error.msg: Something happened, - error.stack: -System.ServiceModel.FaultException: Something happened -at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2, Boolean throwsException, Boolean synchronouslyCompletes, AsyncCallback callback, Object state), - error.type: System.ServiceModel.FaultException, http.method: POST, - http.request.headers.host: localhost:00000, + http.status_code: 200, http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - runtime-id: Guid_1, - span.kind: server, - version: 1.0.0 - }, - Metrics: { - process_id: 0, - _dd.top_level: 1.0, - _dd.tracer_kr: 1.0, - _sampling_priority_v1: 1.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_3, - SpanId: Id_36, + TraceId: Id_53, + SpanId: Id_56, Name: http.server.request, - Resource: WcfSample/ICalculator/ServerAsyncAdd, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, Type: web, - ParentId: Id_20, + ParentId: Id_55, Tags: { component: Wcf, custom-tag: DispatchMessageInspector, @@ -855,12 +962,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_37, - Name: ServerEmptyActionAdd, - Resource: ServerEmptyActionAdd, + TraceId: Id_53, + SpanId: Id_57, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_24, + ParentId: Id_56, Tags: { env: integration_tests, language: dotnet, @@ -868,51 +975,80 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_38, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_58, + SpanId: Id_59, + Name: Sync_ServerTaskAdd, + Resource: Sync_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_25, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_39, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_58, + SpanId: Id_60, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_26, + Type: http, + ParentId: Id_59, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_3, - SpanId: Id_40, - Name: ServerSyncAdd, - Resource: ServerSyncAdd, + TraceId: Id_58, + SpanId: Id_61, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_27, + Type: web, + ParentId: Id_60, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_41, + TraceId: Id_58, + SpanId: Id_62, Name: ServerTaskAdd, Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_28, + ParentId: Id_61, Tags: { env: integration_tests, language: dotnet, @@ -920,51 +1056,80 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_42, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_63, + SpanId: Id_64, + Name: Task_ServerAsyncAdd, + Resource: Task_ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_29, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_43, - Name: ServerTaskAdd, - Resource: ServerTaskAdd, + TraceId: Id_63, + SpanId: Id_65, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_30, + Type: http, + ParentId: Id_64, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_3, - SpanId: Id_44, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_63, + SpanId: Id_66, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_31, + Type: web, + ParentId: Id_65, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_45, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_63, + SpanId: Id_67, + Name: BeginServerAsyncAdd, + Resource: BeginServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_31, + ParentId: Id_66, Tags: { env: integration_tests, language: dotnet, @@ -972,12 +1137,12 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_46, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_63, + SpanId: Id_68, + Name: EndServerAsyncAdd, + Resource: EndServerAsyncAdd, Service: Samples.Wcf, - ParentId: Id_32, + ParentId: Id_66, Tags: { env: integration_tests, language: dotnet, @@ -985,51 +1150,80 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_47, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_69, + SpanId: Id_70, + Name: Task_ServerSyncAdd, + Resource: Task_ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_32, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_48, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_69, + SpanId: Id_71, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_33, + Type: http, + ParentId: Id_70, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_3, - SpanId: Id_49, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_69, + SpanId: Id_72, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_33, + Type: web, + ParentId: Id_71, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_50, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_69, + SpanId: Id_73, + Name: ServerSyncAdd, + Resource: ServerSyncAdd, Service: Samples.Wcf, - ParentId: Id_34, + ParentId: Id_72, Tags: { env: integration_tests, language: dotnet, @@ -1037,51 +1231,80 @@ at Samples.Wcf.Server.CalculatorService.BeginServerAsyncAdd(Double n1, Double n2 } }, { - TraceId: Id_3, - SpanId: Id_51, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_74, + SpanId: Id_75, + Name: Task_ServerTaskAdd, + Resource: Task_ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_34, Tags: { env: integration_tests, language: dotnet, + runtime-id: Guid_1, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_52, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_74, + SpanId: Id_76, + Name: http.client.request, + Resource: POST localhost:00000/WcfSample/?/CalculatorService, Service: Samples.Wcf, - ParentId: Id_35, + Type: http, + ParentId: Id_75, Tags: { + component: WebRequest, env: integration_tests, + http.method: POST, + http.status_code: 200, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, - version: 1.0.0 + out.host: localhost, + peer.service: localhost, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: out.host } }, { - TraceId: Id_3, - SpanId: Id_53, - Name: BeginServerAsyncAdd, - Resource: BeginServerAsyncAdd, + TraceId: Id_74, + SpanId: Id_77, + Name: http.server.request, + Resource: WcfSample/ICalculator/ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_36, + Type: web, + ParentId: Id_76, Tags: { + component: Wcf, + custom-tag: DispatchMessageInspector, env: integration_tests, + http.method: POST, + http.request.headers.host: localhost:00000, + http.url: http://localhost:00000/WcfSample/123,123/CalculatorService, language: dotnet, + runtime-id: Guid_1, + span.kind: server, version: 1.0.0 + }, + Metrics: { + process_id: 0, + _dd.top_level: 1.0, + _dd.tracer_kr: 1.0, + _sampling_priority_v1: 1.0 } }, { - TraceId: Id_3, - SpanId: Id_54, - Name: EndServerAsyncAdd, - Resource: EndServerAsyncAdd, + TraceId: Id_74, + SpanId: Id_78, + Name: ServerTaskAdd, + Resource: ServerTaskAdd, Service: Samples.Wcf, - ParentId: Id_36, + ParentId: Id_77, Tags: { env: integration_tests, language: dotnet, diff --git a/tracer/test/test-applications/integrations/Samples.Wcf/Client/Startup.cs b/tracer/test/test-applications/integrations/Samples.Wcf/Client/Startup.cs index ba2dc4cc7453..98802ffb8f2e 100644 --- a/tracer/test/test-applications/integrations/Samples.Wcf/Client/Startup.cs +++ b/tracer/test/test-applications/integrations/Samples.Wcf/Client/Startup.cs @@ -17,16 +17,12 @@ public static async Task InvokeCalculatorService(Binding binding, Uri baseAddres int exceptionsSeen = 0; using (var calculator = new CalculatorClient(binding, address)) { - using(var scope = _sampleHelpers.CreateScope("WebClient")) - { - calculator.DatadogScope = scope; - // Add the CustomEndpointBehavior / ClientMessageInspector to add headers on calls to the service - calculator.ChannelFactory.Endpoint.EndpointBehaviors.Add(new CustomEndpointBehavior()); + // Add the CustomEndpointBehavior / ClientMessageInspector to add headers on calls to the service + calculator.ChannelFactory.Endpoint.EndpointBehaviors.Add(new CustomEndpointBehavior()); - exceptionsSeen += await Invoke_ServerSyncAdd_Endpoints(calculator); - exceptionsSeen += await Invoke_ServerTaskAdd_Endpoints(calculator); - exceptionsSeen += await Invoke_ServerAsyncAdd_Endpoints(calculator); - } + exceptionsSeen += await Invoke_ServerSyncAdd_Endpoints(calculator); + exceptionsSeen += await Invoke_ServerTaskAdd_Endpoints(calculator); + exceptionsSeen += await Invoke_ServerAsyncAdd_Endpoints(calculator); } if (exceptionsSeen != expectedExceptionCount) @@ -57,6 +53,8 @@ private static async Task Invoke_ServerSyncAdd_Endpoints(CalculatorClient c try { + using var scope = SampleHelpers.CreateScope("ServerEmptyActionAdd"); + calculator.DatadogScope = scope; Console.WriteLine(); LoggingHelper.WriteLineWithDate($"[Client] Invoke: ServerEmptyActionAdd(1, 2)"); double result = calculator.ServerEmptyActionAdd(1, 2); @@ -70,6 +68,8 @@ private static async Task Invoke_ServerSyncAdd_Endpoints(CalculatorClient c try { + using var scope = SampleHelpers.CreateScope("Sync_ServerSyncAdd"); + calculator.DatadogScope = scope; Console.WriteLine(); LoggingHelper.WriteLineWithDate($"[Client] Invoke: Sync_ServerSyncAdd(1, 2)"); double result = calculator.Sync_ServerSyncAdd(1, 2); @@ -83,6 +83,8 @@ private static async Task Invoke_ServerSyncAdd_Endpoints(CalculatorClient c try { + using var scope = SampleHelpers.CreateScope("BeginEnd_ServerSyncAdd"); + calculator.DatadogScope = scope; Console.WriteLine(); LoggingHelper.WriteLineWithDate($"[Client] Invoke: Begin_ServerSyncAdd(1, 2)"); IAsyncResult asyncResult = calculator.Begin_ServerSyncAdd(1, 2, null, null); @@ -98,6 +100,8 @@ private static async Task Invoke_ServerSyncAdd_Endpoints(CalculatorClient c try { + using var scope = SampleHelpers.CreateScope("Task_ServerSyncAdd"); + calculator.DatadogScope = scope; Console.WriteLine(); LoggingHelper.WriteLineWithDate($"[Client] Invoke: Task_ServerSyncAdd(1, 2)"); double result = await calculator.Task_ServerSyncAdd(1, 2); @@ -130,6 +134,8 @@ private static async Task Invoke_ServerTaskAdd_Endpoints(CalculatorClient c try { + using var scope = SampleHelpers.CreateScope("Sync_ServerTaskAdd"); + calculator.DatadogScope = scope; Console.WriteLine(); LoggingHelper.WriteLineWithDate($"[Client] Invoke: Sync_ServerTaskAdd(1, 2)"); double result = calculator.Sync_ServerTaskAdd(1, 2); @@ -143,6 +149,8 @@ private static async Task Invoke_ServerTaskAdd_Endpoints(CalculatorClient c try { + using var scope = SampleHelpers.CreateScope("BeginEnd_ServerTaskAdd"); + calculator.DatadogScope = scope; Console.WriteLine(); LoggingHelper.WriteLineWithDate($"[Client] Invoke: Begin_ServerTaskAdd(1, 2)"); IAsyncResult asyncResult = calculator.Begin_ServerTaskAdd(1, 2, null, null); @@ -158,6 +166,8 @@ private static async Task Invoke_ServerTaskAdd_Endpoints(CalculatorClient c try { + using var scope = SampleHelpers.CreateScope("Task_ServerTaskAdd"); + calculator.DatadogScope = scope; Console.WriteLine(); LoggingHelper.WriteLineWithDate($"[Client] Invoke: Task_ServerTaskAdd(1, 2)"); double result = await calculator.Task_ServerTaskAdd(1, 2); @@ -189,6 +199,8 @@ private static async Task Invoke_ServerAsyncAdd_Endpoints(CalculatorClient try { + using var scope = SampleHelpers.CreateScope("Sync_ServerAsyncAdd"); + calculator.DatadogScope = scope; Console.WriteLine(); LoggingHelper.WriteLineWithDate($"[Client] Invoke: Sync_ServerAsyncAdd(1, 2, false, false)"); double result = calculator.Sync_ServerAsyncAdd(1, 2, false, false); @@ -202,6 +214,8 @@ private static async Task Invoke_ServerAsyncAdd_Endpoints(CalculatorClient try { + using var scope = SampleHelpers.CreateScope("Begin_ServerAsyncAdd_false_false"); + calculator.DatadogScope = scope; Console.WriteLine(); LoggingHelper.WriteLineWithDate($"[Client] Invoke: Begin_ServerAsyncAdd(1, 2, false, false)"); IAsyncResult asyncResult = calculator.Begin_ServerAsyncAdd(1, 2, false, false, null, null); @@ -217,6 +231,8 @@ private static async Task Invoke_ServerAsyncAdd_Endpoints(CalculatorClient try { + using var scope = SampleHelpers.CreateScope("Begin_ServerAsyncAdd_true_false"); + calculator.DatadogScope = scope; Console.WriteLine(); LoggingHelper.WriteLineWithDate($"[Client] Invoke: Begin_ServerAsyncAdd(1, 2, true, false)"); IAsyncResult asyncResult = calculator.Begin_ServerAsyncAdd(1, 2, true, false, null, null); @@ -232,6 +248,8 @@ private static async Task Invoke_ServerAsyncAdd_Endpoints(CalculatorClient try { + using var scope = SampleHelpers.CreateScope("Begin_ServerAsyncAdd_false_true"); + calculator.DatadogScope = scope; Console.WriteLine(); LoggingHelper.WriteLineWithDate($"[Client] Invoke: Begin_ServerAsyncAdd(1, 2, false, true)"); IAsyncResult asyncResult = calculator.Begin_ServerAsyncAdd(1, 2, false, true, null, null); @@ -247,6 +265,8 @@ private static async Task Invoke_ServerAsyncAdd_Endpoints(CalculatorClient try { + using var scope = SampleHelpers.CreateScope("Begin_ServerAsyncAdd_true_true"); + calculator.DatadogScope = scope; Console.WriteLine(); LoggingHelper.WriteLineWithDate($"[Client] Invoke: Begin_ServerAsyncAdd(1, 2, true, true)"); IAsyncResult asyncResult = calculator.Begin_ServerAsyncAdd(1, 2, true, true, null, null); @@ -262,6 +282,8 @@ private static async Task Invoke_ServerAsyncAdd_Endpoints(CalculatorClient try { + using var scope = SampleHelpers.CreateScope("Task_ServerAsyncAdd"); + calculator.DatadogScope = scope; Console.WriteLine(); LoggingHelper.WriteLineWithDate($"[Client] Invoke: Task_ServerAsyncAdd(1, 2, false, false)"); double result = await calculator.Task_ServerAsyncAdd(1, 2, false, false); diff --git a/tracer/test/test-applications/integrations/Samples.Wcf/Program.cs b/tracer/test/test-applications/integrations/Samples.Wcf/Program.cs index 3a4fa2e77d79..0e86ff1f3a37 100644 --- a/tracer/test/test-applications/integrations/Samples.Wcf/Program.cs +++ b/tracer/test/test-applications/integrations/Samples.Wcf/Program.cs @@ -119,32 +119,43 @@ private static async Task RunHttpServer(string[] args, string port) cf.Endpoint.EndpointBehaviors.Add(new CustomEndpointBehavior()); var sampleHelper = new ActivitySourceHelper("Samples.Wcf"); - using var scope = sampleHelper.CreateScope("WebClient"); var calculator = cf.CreateChannel(); - Console.WriteLine(); - LoggingHelper.WriteLineWithDate($"[Client] Invoke: ServerSyncAddJson(1, 2)"); - var result = calculator.ServerSyncAddJson("1", "2"); - AssertResult(result); - LoggingHelper.WriteLineWithDate($"[Client] Result: {result}"); - - Console.WriteLine(); - LoggingHelper.WriteLineWithDate($"[Client] Invoke: ServerSyncAddXml(1, 2)"); - result = calculator.ServerSyncAddXml("1", "2"); - AssertResult(result); - LoggingHelper.WriteLineWithDate($"[Client] Result: {result}"); - - Console.WriteLine(); - LoggingHelper.WriteLineWithDate($"[Client] Invoke: ServerTaskAddPost(1, 2)"); - result = await calculator.ServerTaskAddPost(new() { Arg1 = 1, Arg2 = 2 }); - AssertResult(result); - LoggingHelper.WriteLineWithDate($"[Client] Result: {result}"); - - Console.WriteLine(); - LoggingHelper.WriteLineWithDate($"[Client] Invoke: ServerSyncAddWrapped(1, 2)"); - result = calculator.ServerSyncAddWrapped("1", "2"); - AssertResult(result); - LoggingHelper.WriteLineWithDate($"[Client] Result: {result}"); + using (sampleHelper.CreateScope("ServerSyncAddJson")) + { + Console.WriteLine(); + LoggingHelper.WriteLineWithDate($"[Client] Invoke: ServerSyncAddJson(1, 2)"); + var result = calculator.ServerSyncAddJson("1", "2"); + AssertResult(result); + LoggingHelper.WriteLineWithDate($"[Client] Result: {result}"); + } + + using (sampleHelper.CreateScope("ServerSyncAddXml")) + { + Console.WriteLine(); + LoggingHelper.WriteLineWithDate($"[Client] Invoke: ServerSyncAddXml(1, 2)"); + var result = calculator.ServerSyncAddXml("1", "2"); + AssertResult(result); + LoggingHelper.WriteLineWithDate($"[Client] Result: {result}"); + } + + using (sampleHelper.CreateScope("ServerTaskAddPost")) + { + Console.WriteLine(); + LoggingHelper.WriteLineWithDate($"[Client] Invoke: ServerTaskAddPost(1, 2)"); + var result = await calculator.ServerTaskAddPost(new() { Arg1 = 1, Arg2 = 2 }); + AssertResult(result); + LoggingHelper.WriteLineWithDate($"[Client] Result: {result}"); + } + + using (sampleHelper.CreateScope("ServerSyncAddWrapped")) + { + Console.WriteLine(); + LoggingHelper.WriteLineWithDate($"[Client] Invoke: ServerSyncAddWrapped(1, 2)"); + var result = calculator.ServerSyncAddWrapped("1", "2"); + AssertResult(result); + LoggingHelper.WriteLineWithDate($"[Client] Result: {result}"); + } } private static void AssertResult(double result) From 02ef8fd7de58988379cb356a2900ba98c5efa45f Mon Sep 17 00:00:00 2001 From: Andrew Lock Date: Thu, 20 Nov 2025 09:53:17 +0000 Subject: [PATCH 6/6] nit: delay capturing the context unless we need it --- .../ClrProfiler/AutoInstrumentation/Wcf/WcfCommon.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/WcfCommon.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/WcfCommon.cs index 6e2dc3469298..e860f2b1a2fe 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/WcfCommon.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/Wcf/WcfCommon.cs @@ -227,7 +227,6 @@ public static CallTargetState ActivateScopeFromContext() // First, capture the active scope var tracer = Tracer.Instance; var activeScope = tracer.InternalActiveScope; - var spanContextRaw = DistributedTracer.Instance.GetSpanContextRaw() ?? activeScope?.Span?.Context; var operationContext = WcfCommon.GetCurrentOperationContext?.Invoke(); if (operationContext != null && operationContext.TryDuckCast(out var operationContextProxy)) @@ -238,9 +237,12 @@ public static CallTargetState ActivateScopeFromContext() if (requestContext?.Instance is { } requestContextInstance && Scopes.TryGetValue(requestContextInstance, out var scope) && scope is not null - && scope.Span.SpanId != activeScope?.Span?.SpanId) + && scope.Span.SpanId != activeScope?.Span.SpanId) { + // capture the raw context for later activation + var spanContextRaw = DistributedTracer.Instance.GetSpanContextRaw() ?? activeScope?.Span.Context; Log.Debug("Activating scope from operation context {ActivatedSpan}", scope.Span); + tracer.ActivateSpan(scope.Span); // Add the exception but do not dispose the span. // BeforeSendReplyIntegration is responsible for closing the span.