From 801f63a8d8deab445ddd9ef6be5f14a22233745c Mon Sep 17 00:00:00 2001 From: Steven Bouwkamp Date: Mon, 21 Oct 2024 16:52:01 -0400 Subject: [PATCH] Add ability to disable additional `ADO.NET` Command Types (#6042) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary of changes Allows users to configure _additionally_ `ADO.NET` `DbCommand`s to be disabled so they won't have a Span created from them. ## Reason for change Since we instrument basically _any_ `DbCommand` in `ADO.NET` this can lead to unwanted/duplicate Spans that customers have little control over. This allows for a comma-separated list of command type names that the .NET Tracer will not create a Span for if they encounter it. ## Implementation details Adds new Environment Variable `DD_TRACE_DISABLED_ADONET_COMMAND_TYPES` that accepts a comma-separated `string` of `ADO.NET` Command Type names that the Tracer will not create a Span for. For example (some pseudo-code here): Assuming we have a custom `DbCommand` `FooDbCommand` that we don't want Spans for -> ```csharp public class FooDbCommand : DbCommand { ... class contents here } ``` We'd need to set `DD_TRACE_DISABLED_ADONET_COMMAND_TYPES` to -> ``` DD_TRACE_DISABLED_ADONET_COMMAND_TYPES="FooDbCommand" ``` ## Test coverage - Extended current `DbScopeFactoryTests` to add new value. - Extended `FakeCommandTests` to include disabling of `FakeCommand` - Snapshotted those tests as well. ## Other details Merge the dd-go PR when this PR is merged: https://github.com/DataDog/dd-go/pull/150493 Backported to 2.x in https://github.com/DataDog/dd-trace-dotnet/pull/6054 --------- Co-authored-by: Lucas Pimentel --- .../AdoNet/DbScopeFactory.cs | 27 +- .../Configuration/ConfigurationKeys.cs | 8 + .../Configuration/ImmutableTracerSettings.cs | 6 + .../Configuration/TracerSettings.cs | 16 + .../AdoNet/FakeCommandTests.cs | 45 + .../DbScopeFactoryTests.cs | 22 + .../Telemetry/config_norm_rules.json | 1 + .../FakeCommandTests_v0.verified.txt | 2004 +++++++++++++++++ ...dTests_v0_disabledFakeCommand.verified.txt | 281 +++ .../FakeCommandTests_v1.verified.txt | 1822 +++++++++++++++ ...dTests_v1_disabledFakeCommand.verified.txt | 281 +++ 11 files changed, 4512 insertions(+), 1 deletion(-) create mode 100644 tracer/test/snapshots/FakeCommandTests_v0.verified.txt create mode 100644 tracer/test/snapshots/FakeCommandTests_v0_disabledFakeCommand.verified.txt create mode 100644 tracer/test/snapshots/FakeCommandTests_v1.verified.txt create mode 100644 tracer/test/snapshots/FakeCommandTests_v1_disabledFakeCommand.verified.txt diff --git a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/AdoNet/DbScopeFactory.cs b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/AdoNet/DbScopeFactory.cs index 1ec5bb1138de..1319b55fb0a2 100644 --- a/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/AdoNet/DbScopeFactory.cs +++ b/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/AdoNet/DbScopeFactory.cs @@ -170,7 +170,7 @@ public static bool TryGetIntegrationDetails( return true; default: string commandTypeName = commandTypeFullName.Substring(commandTypeFullName.LastIndexOf(".", StringComparison.Ordinal) + 1); - if (commandTypeName == "InterceptableDbCommand" || commandTypeName == "ProfiledDbCommand") + if (IsDisabledCommandType(commandTypeName)) { integrationId = null; dbType = null; @@ -198,6 +198,31 @@ _ when commandTypeName.EndsWith(commandSuffix) => } } + internal static bool IsDisabledCommandType(string commandTypeName) + { + if (string.IsNullOrEmpty(commandTypeName)) + { + return false; + } + + var disabledTypes = Tracer.Instance.Settings.DisabledAdoNetCommandTypes; + + if (disabledTypes is null || disabledTypes.Count == 0) + { + return false; + } + + foreach (var disabledType in disabledTypes) + { + if (string.Equals(disabledType, commandTypeName, StringComparison.OrdinalIgnoreCase)) + { + return true; + } + } + + return false; + } + public static class Cache { // ReSharper disable StaticMemberInGenericType diff --git a/tracer/src/Datadog.Trace/Configuration/ConfigurationKeys.cs b/tracer/src/Datadog.Trace/Configuration/ConfigurationKeys.cs index b6d641bbfd98..f7c4f5b0c462 100644 --- a/tracer/src/Datadog.Trace/Configuration/ConfigurationKeys.cs +++ b/tracer/src/Datadog.Trace/Configuration/ConfigurationKeys.cs @@ -463,6 +463,14 @@ internal static partial class ConfigurationKeys /// public const string RemoveClientServiceNamesEnabled = "DD_TRACE_REMOVE_INTEGRATION_SERVICE_NAMES_ENABLED"; + /// + /// Configuration key for the comma-separated list of user disabled + /// ADO.NET CommandType names that should not have Span created for them. + /// "InterceptableDbCommand" and "ProfiledDbCommand" are always disabled by default. + /// + /// + public const string DisabledAdoNetCommandTypes = "DD_TRACE_DISABLED_ADONET_COMMAND_TYPES"; + /// /// String constants for CI Visibility configuration keys. /// diff --git a/tracer/src/Datadog.Trace/Configuration/ImmutableTracerSettings.cs b/tracer/src/Datadog.Trace/Configuration/ImmutableTracerSettings.cs index 97385d6bb52b..1335131114be 100644 --- a/tracer/src/Datadog.Trace/Configuration/ImmutableTracerSettings.cs +++ b/tracer/src/Datadog.Trace/Configuration/ImmutableTracerSettings.cs @@ -185,6 +185,7 @@ internal ImmutableTracerSettings(TracerSettings settings, bool unusedParamNotToU } DbmPropagationMode = settings.DbmPropagationMode; + DisabledAdoNetCommandTypes = settings.DisabledAdoNetCommandTypes; // We need to take a snapshot of the config telemetry for the tracer settings, // but we can't send it to the static collector, as this settings object may never be "activated" @@ -638,6 +639,11 @@ internal ImmutableTracerSettings(TracerSettings settings, bool unusedParamNotToU || IsRunningInGCPFunctions || LambdaMetadata.IsRunningInLambda); + /// + /// Gets the disabled ADO.NET Command Types that won't have spans generated for them. + /// + internal HashSet DisabledAdoNetCommandTypes { get; } + /// /// Create a populated from the default sources /// returned by . diff --git a/tracer/src/Datadog.Trace/Configuration/TracerSettings.cs b/tracer/src/Datadog.Trace/Configuration/TracerSettings.cs index a1f6c79ed598..7248cb566268 100644 --- a/tracer/src/Datadog.Trace/Configuration/TracerSettings.cs +++ b/tracer/src/Datadog.Trace/Configuration/TracerSettings.cs @@ -495,6 +495,17 @@ _ when x.ToBoolean() is { } boolean => boolean, .WithKeys(ConfigurationKeys.FeatureFlags.CommandsCollectionEnabled) .AsBool(false); + var defaultDisabledAdoNetCommandTypes = new string[] { "InterceptableDbCommand", "ProfiledDbCommand" }; + var userDisabledAdoNetCommandTypes = config.WithKeys(ConfigurationKeys.DisabledAdoNetCommandTypes).AsString(); + + DisabledAdoNetCommandTypes = new HashSet(defaultDisabledAdoNetCommandTypes, StringComparer.OrdinalIgnoreCase); + + if (!string.IsNullOrEmpty(userDisabledAdoNetCommandTypes)) + { + var userSplit = TrimSplitString(userDisabledAdoNetCommandTypes, commaSeparator); + DisabledAdoNetCommandTypes.UnionWith(userSplit); + } + // we "enrich" with these values which aren't _strictly_ configuration, but which we want to track as we tracked them in v1 telemetry.Record(ConfigTelemetryData.NativeTracerVersion, Instrumentation.GetNativeTracerVersion(), recordValue: true, ConfigurationOrigins.Default); telemetry.Record(ConfigTelemetryData.FullTrustAppDomain, value: AppDomain.CurrentDomain.IsFullyTrusted, ConfigurationOrigins.Default); @@ -1040,6 +1051,11 @@ public bool DiagnosticSourceEnabled /// internal SchemaVersion MetadataSchemaVersion { get; } + /// + /// Gets the disabled ADO.NET Command Types that won't have spans generated for them. + /// + internal HashSet DisabledAdoNetCommandTypes { get; } + /// /// Create a populated from the default sources /// returned by . diff --git a/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/AdoNet/FakeCommandTests.cs b/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/AdoNet/FakeCommandTests.cs index 3d8d19eb837e..3e6c440b7cf7 100644 --- a/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/AdoNet/FakeCommandTests.cs +++ b/tracer/test/Datadog.Trace.ClrProfiler.IntegrationTests/AdoNet/FakeCommandTests.cs @@ -4,14 +4,17 @@ // using System.Linq; +using System.Text.RegularExpressions; using System.Threading.Tasks; using Datadog.Trace.Configuration; using Datadog.Trace.TestHelpers; +using VerifyXunit; using Xunit; using Xunit.Abstractions; namespace Datadog.Trace.ClrProfiler.IntegrationTests.AdoNet { + [UsesVerify] public class FakeCommandTests : TracingIntegrationTest { public FakeCommandTests(ITestOutputHelper output) @@ -30,6 +33,14 @@ public FakeCommandTests(ITestOutputHelper output) [Trait("Category", "EndToEnd")] public Task SubmitsTracesV1() => RunTest("v1"); + [SkippableFact] + [Trait("Category", "EndToEnd")] + public Task SubmitTracesDisabledFakeCommandV0() => RunDisabledFakeCommandTest("v0"); + + [SkippableFact] + [Trait("Category", "EndToEnd")] + public Task SubmitTracesDisabledFakeCommandV1() => RunDisabledFakeCommandTest("v1"); + private async Task RunTest(string metadataSchemaVersion) { // ALWAYS: 91 spans @@ -63,7 +74,41 @@ private async Task RunTest(string metadataSchemaVersion) Assert.Equal(expectedOperationName, span.Name); } + var settings = VerifyHelper.GetSpanVerifierSettings(); + var dbResourceRegex = new Regex("Test-[0-9a-fA-F]+"); + settings.AddRegexScrubber(dbResourceRegex, "Test-GUID"); + await VerifyHelper.VerifySpans(spans, settings) + .UseFileName(nameof(FakeCommandTests) + $"_{metadataSchemaVersion}"); + telemetry.AssertIntegrationEnabled(IntegrationId.AdoNet); } + + private async Task RunDisabledFakeCommandTest(string metadataSchemaVersion) + { + // ALWAYS: 21 spans - these are the custom spans from RelationalDatabaseTestHarness + // There should be NO SQL spans in the snapshots + const int expectedSpanCount = 21; + + SetEnvironmentVariable("DD_TRACE_SPAN_ATTRIBUTE_SCHEMA", metadataSchemaVersion); + SetEnvironmentVariable("DD_TRACE_DISABLED_ADONET_COMMAND_TYPES", "FakeCommand"); + var isExternalSpan = metadataSchemaVersion == "v0"; + var clientSpanServiceName = EnvironmentHelper.FullSampleName; + + using var telemetry = this.ConfigureTelemetry(); + using var agent = EnvironmentHelper.GetMockAgent(); + using var process = await RunSampleAndWaitForExit(agent); + var spans = agent.WaitForSpans(expectedSpanCount); + int actualSpanCount = spans.Count(); + + Assert.Equal(expectedSpanCount, actualSpanCount); + var settings = VerifyHelper.GetSpanVerifierSettings(); + var dbResourceRegex = new Regex("Test-[0-9a-fA-F]+"); + settings.AddRegexScrubber(dbResourceRegex, "Test-GUID"); + await VerifyHelper.VerifySpans(spans, settings) + .UseFileName(nameof(FakeCommandTests) + $"_{metadataSchemaVersion}_disabledFakeCommand"); + + // We should have created 0 spans from ADO.NET integration - spans created are from RelationaTestHarness and are manual spans + telemetry.AssertIntegrationDisabled(IntegrationId.AdoNet); + } } } diff --git a/tracer/test/Datadog.Trace.ClrProfiler.Managed.Tests/DbScopeFactoryTests.cs b/tracer/test/Datadog.Trace.ClrProfiler.Managed.Tests/DbScopeFactoryTests.cs index 15330b0331cf..a764f0cfd746 100644 --- a/tracer/test/Datadog.Trace.ClrProfiler.Managed.Tests/DbScopeFactoryTests.cs +++ b/tracer/test/Datadog.Trace.ClrProfiler.Managed.Tests/DbScopeFactoryTests.cs @@ -20,6 +20,8 @@ namespace Datadog.Trace.ClrProfiler.Managed.Tests { + [Collection("DbScopeFactoryTests")] + [TracerRestorer] public class DbScopeFactoryTests { private const string DbmCommandText = "SELECT 1"; @@ -271,6 +273,26 @@ internal void TryGetIntegrationDetails_FailsForKnownCommandType() Assert.Null(actualDbType2); } + [Fact] + internal void TryGetIntegrationDetails_FailsForKnownCommandTypes_AndUserDefined() + { + Tracer.Configure(TracerSettings.Create(new Dictionary { { ConfigurationKeys.DisabledAdoNetCommandTypes, "SomeFakeDbCommand" } })); + bool result = DbScopeFactory.TryGetIntegrationDetails("InterceptableDbCommand", out var actualIntegrationId, out var actualDbType); + Assert.False(result); + Assert.False(actualIntegrationId.HasValue); + Assert.Null(actualDbType); + + bool result2 = DbScopeFactory.TryGetIntegrationDetails("ProfiledDbCommand", out var actualIntegrationId2, out var actualDbType2); + Assert.False(result2); + Assert.False(actualIntegrationId2.HasValue); + Assert.Null(actualDbType2); + + bool result3 = DbScopeFactory.TryGetIntegrationDetails("SomeFakeDbCommand", out var actualIntegrationId3, out var actualDbType3); + Assert.False(result3); + Assert.False(actualIntegrationId3.HasValue); + Assert.Null(actualDbType3); + } + [Theory] [InlineData("System.Data.SqlClient.SqlCommand", "SqlClient", "sql-server")] [InlineData("MySql.Data.MySqlClient.MySqlCommand", "MySql", "mysql")] diff --git a/tracer/test/Datadog.Trace.Tests/Telemetry/config_norm_rules.json b/tracer/test/Datadog.Trace.Tests/Telemetry/config_norm_rules.json index d6b28db73736..9a7d9ea899b0 100644 --- a/tracer/test/Datadog.Trace.Tests/Telemetry/config_norm_rules.json +++ b/tracer/test/Datadog.Trace.Tests/Telemetry/config_norm_rules.json @@ -530,6 +530,7 @@ "DD_IAST_DB_ROWS_TO_TAINT": "iast_db_rows_to_taint", "DD_IAST_COOKIE_FILTER_PATTERN": "iast_cookie_filter_pattern", "DD_TRACE_STARTUP_LOGS": "trace_startup_logs_enabled", + "DD_TRACE_DISABLED_ADONET_COMMAND_TYPES": "trace_disabled_adonet_command_types", "DD_MAX_LOGFILE_SIZE": "trace_log_file_max_size", "DD_TRACE_LOGGING_RATE": "trace_log_rate", "DD_TRACE_LOG_PATH": "trace_log_path", diff --git a/tracer/test/snapshots/FakeCommandTests_v0.verified.txt b/tracer/test/snapshots/FakeCommandTests_v0.verified.txt new file mode 100644 index 000000000000..60a7b131be62 --- /dev/null +++ b/tracer/test/snapshots/FakeCommandTests_v0.verified.txt @@ -0,0 +1,2004 @@ +[ + { + TraceId: Id_1, + SpanId: Id_2, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_3, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_4, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_5, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_6, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_7, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_8, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_9, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_10, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_11, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_12, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_13, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_14, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_15, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_16, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_17, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_18, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_19, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_20, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_21, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_22, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_23, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_24, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_25, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_26, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_27, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_28, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_3, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_29, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_5, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_30, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_7, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_31, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_9, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_32, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_11, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_33, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_13, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_34, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_15, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_35, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_17, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_36, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_19, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_37, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_21, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_38, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_23, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_39, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_25, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_40, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_27, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_41, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_3, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_42, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_5, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_43, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_7, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_44, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_9, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_45, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_11, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_46, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_13, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_47, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_15, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_48, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_17, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_49, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_19, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_50, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_21, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_51, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_23, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_52, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_25, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_53, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_27, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_54, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_3, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_55, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_3, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_56, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_5, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_57, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_5, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_58, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_7, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_59, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_7, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_60, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_9, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_61, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_9, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_62, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_11, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_63, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_11, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_64, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_13, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_65, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_13, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_66, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_15, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_67, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_15, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_68, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_17, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_69, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_17, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_70, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_19, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_71, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_19, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_72, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_21, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_73, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_21, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_74, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_23, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_75, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_23, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_76, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_25, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_77, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_25, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_78, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_27, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_79, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_27, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_80, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_3, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_81, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_5, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_82, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_7, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_83, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_9, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_84, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_11, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_85, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_13, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_86, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_15, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_87, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_17, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_88, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_19, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_89, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_21, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_90, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_23, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_91, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_25, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_92, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_27, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_93, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_3, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_94, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_5, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_95, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_7, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_96, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_9, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_97, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_11, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_98, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_13, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_99, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_15, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_100, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_17, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_101, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_19, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_102, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_21, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_103, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_23, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_104, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_25, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_105, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand-fake, + Type: sql, + ParentId: Id_27, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + span.kind: client, + _dd.base_service: Samples.FakeDbCommand + }, + Metrics: { + _dd.top_level: 1.0 + } + } +] \ No newline at end of file diff --git a/tracer/test/snapshots/FakeCommandTests_v0_disabledFakeCommand.verified.txt b/tracer/test/snapshots/FakeCommandTests_v0_disabledFakeCommand.verified.txt new file mode 100644 index 000000000000..4bc3586ad765 --- /dev/null +++ b/tracer/test/snapshots/FakeCommandTests_v0_disabledFakeCommand.verified.txt @@ -0,0 +1,281 @@ +[ + { + TraceId: Id_1, + SpanId: Id_2, + Name: RunAllAsync, + Resource: RunAllAsync, + Service: Samples.FakeDbCommand, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 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: command, + Resource: FakeCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_2, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_4, + Name: command, + Resource: DbCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_2, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_5, + Name: command, + Resource: IDbCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_2, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_6, + Name: command, + Resource: IDbCommandGenericConstraint, + Service: Samples.FakeDbCommand, + ParentId: Id_2, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_7, + Name: command, + Resource: DbCommand-netstandard, + Service: Samples.FakeDbCommand, + ParentId: Id_2, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_8, + Name: command, + Resource: IDbCommand-netstandard, + Service: Samples.FakeDbCommand, + ParentId: Id_2, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_9, + Name: command, + Resource: IDbCommandGenericConstraint-netstandard, + Service: Samples.FakeDbCommand, + ParentId: Id_2, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_10, + Name: sync, + Resource: FakeCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_3, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_11, + Name: async, + Resource: FakeCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_3, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_12, + Name: async-with-cancellation, + Resource: FakeCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_3, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_13, + Name: sync, + Resource: DbCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_4, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_14, + Name: async, + Resource: DbCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_4, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_15, + Name: async-with-cancellation, + Resource: DbCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_4, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_16, + Name: sync, + Resource: IDbCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_5, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_17, + Name: sync, + Resource: IDbCommandGenericConstraint, + Service: Samples.FakeDbCommand, + ParentId: Id_6, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_18, + Name: sync, + Resource: DbCommand-netstandard, + Service: Samples.FakeDbCommand, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_19, + Name: async, + Resource: DbCommand-netstandard, + Service: Samples.FakeDbCommand, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_20, + Name: async-with-cancellation, + Resource: DbCommand-netstandard, + Service: Samples.FakeDbCommand, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_21, + Name: sync, + Resource: IDbCommand-netstandard, + Service: Samples.FakeDbCommand, + ParentId: Id_8, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_22, + Name: sync, + Resource: IDbCommandGenericConstraint-netstandard, + Service: Samples.FakeDbCommand, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + } +] \ No newline at end of file diff --git a/tracer/test/snapshots/FakeCommandTests_v1.verified.txt b/tracer/test/snapshots/FakeCommandTests_v1.verified.txt new file mode 100644 index 000000000000..28516745e013 --- /dev/null +++ b/tracer/test/snapshots/FakeCommandTests_v1.verified.txt @@ -0,0 +1,1822 @@ +[ + { + TraceId: Id_1, + SpanId: Id_2, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_3, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_4, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_5, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_6, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_7, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_8, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_9, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_10, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_11, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_12, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_13, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_14, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_15, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_16, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_17, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_18, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_19, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_20, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_21, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_22, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_23, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_24, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_25, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_26, + Name: fake.query, + Resource: DELETE FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_27, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_28, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_3, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_29, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_5, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_30, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_7, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_31, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_9, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_32, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_11, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_33, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_13, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_34, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_15, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_35, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_17, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_36, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_19, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_37, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_21, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_38, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_23, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_39, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_25, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_40, + Name: fake.query, + Resource: DROP TABLE IF EXISTS [FakeDbCommand-Test-GUID]; CREATE TABLE [FakeDbCommand-Test-GUID] (Id int PRIMARY KEY, Name varchar(100));, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_27, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_41, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_3, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_42, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_5, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_43, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_7, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_44, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_9, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_45, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_11, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_46, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_13, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_47, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_15, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_48, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_17, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_49, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_19, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_50, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_21, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_51, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_23, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_52, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_25, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_53, + Name: fake.query, + Resource: INSERT INTO [FakeDbCommand-Test-GUID] (Id, Name) VALUES (@Id, @Name);, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_27, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_54, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_3, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_55, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_3, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_56, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_5, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_57, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_5, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_58, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_7, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_59, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_7, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_60, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_9, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_61, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_9, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_62, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_11, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_63, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_11, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_64, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_13, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_65, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_13, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_66, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_15, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_67, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_15, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_68, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_17, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_69, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_17, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_70, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_19, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_71, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_19, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_72, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_21, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_73, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_21, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_74, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_23, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_75, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_23, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_76, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_25, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_77, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_25, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_78, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_27, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_79, + Name: fake.query, + Resource: SELECT * FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_27, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_80, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_3, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_81, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_5, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_82, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_7, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_83, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_9, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_84, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_11, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_85, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_13, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_86, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_15, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_87, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_17, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_88, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_19, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_89, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_21, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_90, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_23, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_91, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_25, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_92, + Name: fake.query, + Resource: SELECT Name FROM [FakeDbCommand-Test-GUID] WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_27, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_93, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_3, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_94, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_5, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_95, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_7, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_96, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_9, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_97, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_11, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_98, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_13, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_99, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_15, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_100, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_17, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_101, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_19, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_102, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_21, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_103, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_23, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_104, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_25, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + }, + { + TraceId: Id_1, + SpanId: Id_105, + Name: fake.query, + Resource: UPDATE [FakeDbCommand-Test-GUID] SET Name=@Name WHERE Id=@Id;, + Service: Samples.FakeDbCommand, + Type: sql, + ParentId: Id_27, + Tags: { + component: AdoNet, + db.name: fake, + db.type: fake, + env: integration_tests, + language: dotnet, + peer.service: fake, + span.kind: client, + version: 1.0.0, + _dd.peer.service.source: db.name + } + } +] \ No newline at end of file diff --git a/tracer/test/snapshots/FakeCommandTests_v1_disabledFakeCommand.verified.txt b/tracer/test/snapshots/FakeCommandTests_v1_disabledFakeCommand.verified.txt new file mode 100644 index 000000000000..4bc3586ad765 --- /dev/null +++ b/tracer/test/snapshots/FakeCommandTests_v1_disabledFakeCommand.verified.txt @@ -0,0 +1,281 @@ +[ + { + TraceId: Id_1, + SpanId: Id_2, + Name: RunAllAsync, + Resource: RunAllAsync, + Service: Samples.FakeDbCommand, + Tags: { + env: integration_tests, + language: dotnet, + runtime-id: Guid_1, + version: 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: command, + Resource: FakeCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_2, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_4, + Name: command, + Resource: DbCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_2, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_5, + Name: command, + Resource: IDbCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_2, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_6, + Name: command, + Resource: IDbCommandGenericConstraint, + Service: Samples.FakeDbCommand, + ParentId: Id_2, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_7, + Name: command, + Resource: DbCommand-netstandard, + Service: Samples.FakeDbCommand, + ParentId: Id_2, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_8, + Name: command, + Resource: IDbCommand-netstandard, + Service: Samples.FakeDbCommand, + ParentId: Id_2, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_9, + Name: command, + Resource: IDbCommandGenericConstraint-netstandard, + Service: Samples.FakeDbCommand, + ParentId: Id_2, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_10, + Name: sync, + Resource: FakeCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_3, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_11, + Name: async, + Resource: FakeCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_3, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_12, + Name: async-with-cancellation, + Resource: FakeCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_3, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_13, + Name: sync, + Resource: DbCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_4, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_14, + Name: async, + Resource: DbCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_4, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_15, + Name: async-with-cancellation, + Resource: DbCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_4, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_16, + Name: sync, + Resource: IDbCommand, + Service: Samples.FakeDbCommand, + ParentId: Id_5, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_17, + Name: sync, + Resource: IDbCommandGenericConstraint, + Service: Samples.FakeDbCommand, + ParentId: Id_6, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_18, + Name: sync, + Resource: DbCommand-netstandard, + Service: Samples.FakeDbCommand, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_19, + Name: async, + Resource: DbCommand-netstandard, + Service: Samples.FakeDbCommand, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_20, + Name: async-with-cancellation, + Resource: DbCommand-netstandard, + Service: Samples.FakeDbCommand, + ParentId: Id_7, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_21, + Name: sync, + Resource: IDbCommand-netstandard, + Service: Samples.FakeDbCommand, + ParentId: Id_8, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + }, + { + TraceId: Id_1, + SpanId: Id_22, + Name: sync, + Resource: IDbCommandGenericConstraint-netstandard, + Service: Samples.FakeDbCommand, + ParentId: Id_9, + Tags: { + env: integration_tests, + language: dotnet, + version: 1.0.0 + } + } +] \ No newline at end of file