From 1bdad8b6545cec4bd00071125964502916b15e1e Mon Sep 17 00:00:00 2001 From: Sourabh Jain Date: Mon, 5 Aug 2024 08:04:52 +0530 Subject: [PATCH] cosmetic changes --- Microsoft.Azure.Cosmos/src/Batch/BatchCore.cs | 4 +- .../src/Batch/TransactionalBatchInternal.cs | 45 +- .../src/Batch/TransactionalBatchResponse.cs | 11 + .../OpenTelemetryAttributeKeys.cs | 134 +++- .../OpenTelemetry/OpenTelemetryAttributes.cs | 20 +- .../OpenTelemetryCoreRecorder.cs | 11 +- .../OpenTelemetry/OpenTelemetryResponse.cs | 4 +- ...iterBaselineTests.BatchOperationsAsync.xml | 161 ++++- ...riterBaselineTests.BulkOperationsAsync.xml | 606 +++++++++--------- ...aceWriterBaselineTests.ChangeFeedAsync.xml | 126 ++-- ...eWriterBaselineTests.MiscellanousAsync.xml | 16 +- ...neTests.PointOperationsExceptionsAsync.xml | 36 +- ...EndTraceWriterBaselineTests.QueryAsync.xml | 168 ++--- ...TraceWriterBaselineTests.ReadFeedAsync.xml | 96 +-- ...TraceWriterBaselineTests.ReadManyAsync.xml | 12 +- ...selineTests.StreamPointOperationsAsync.xml | 24 +- ...aselineTests.TypedPointOperationsAsync.xml | 24 +- .../Tracing/AssertActivity.cs | 16 +- .../Tracing/CustomListener.cs | 14 +- .../EndToEndTraceWriterBaselineTests.cs | 30 +- 20 files changed, 962 insertions(+), 596 deletions(-) diff --git a/Microsoft.Azure.Cosmos/src/Batch/BatchCore.cs b/Microsoft.Azure.Cosmos/src/Batch/BatchCore.cs index d7025a99f7..c95cf26ff0 100644 --- a/Microsoft.Azure.Cosmos/src/Batch/BatchCore.cs +++ b/Microsoft.Azure.Cosmos/src/Batch/BatchCore.cs @@ -235,8 +235,8 @@ public override Task ExecuteAsync( }, openTelemetry: (response) => new OpenTelemetryResponse( responseMessage: response, - operationFlag: this.isHomogenousOperations, - operationName: this.lastItemBatchOperation.OperationType)); + isHomogenousOperations: this.isHomogenousOperations, + batchOperation: this.lastItemBatchOperation.OperationType)); } /// diff --git a/Microsoft.Azure.Cosmos/src/Batch/TransactionalBatchInternal.cs b/Microsoft.Azure.Cosmos/src/Batch/TransactionalBatchInternal.cs index 915b6eb370..3dd6c2fd85 100644 --- a/Microsoft.Azure.Cosmos/src/Batch/TransactionalBatchInternal.cs +++ b/Microsoft.Azure.Cosmos/src/Batch/TransactionalBatchInternal.cs @@ -11,14 +11,52 @@ namespace Microsoft.Azure.Cosmos using System.Threading.Tasks; using Microsoft.Azure.Documents; + /// + /// Represents an internal abstract class for handling transactional batches of operations. + /// internal abstract class TransactionalBatchInternal : TransactionalBatch { + /// + /// The list of operations in the batch. + /// protected List operations; - internal bool isHomogenousOperations = false; + /// + /// Indicates whether all operations in the batch are of the same type. + /// + internal bool isHomogenousOperations = true; + /// + /// The last operation added to the batch. + /// internal ItemBatchOperation lastItemBatchOperation = null; + /// + /// Adds a new operation to the batch of operations and updates the homogeneity status of the operations. + /// + /// The operation to be added to the batch. + /// + /// This method performs the following actions: + /// + /// + /// Adds the given to the operations list. + /// + /// + /// If the added operation is the first operation in the batch, it sets this operation as the . + /// + /// + /// If there are existing operations in the batch and the operations are currently homogeneous, it checks if the last added operation's type matches the new operation's type: + /// + /// If they match, the batch remains homogeneous. + /// If they do not match, the batch is no longer considered homogeneous. + /// + /// + /// + /// + /// Updates the to the newly added operation. + /// + /// + /// protected void AddOperation(ItemBatchOperation itemBatchOperation) { this.operations.Add(itemBatchOperation); @@ -26,10 +64,9 @@ protected void AddOperation(ItemBatchOperation itemBatchOperation) { this.lastItemBatchOperation = itemBatchOperation; } - else + else if (this.isHomogenousOperations) { - this.isHomogenousOperations = this.isHomogenousOperations - && this.lastItemBatchOperation.OperationType == itemBatchOperation.OperationType; + this.isHomogenousOperations = this.lastItemBatchOperation.OperationType == itemBatchOperation.OperationType; this.lastItemBatchOperation = itemBatchOperation; } } diff --git a/Microsoft.Azure.Cosmos/src/Batch/TransactionalBatchResponse.cs b/Microsoft.Azure.Cosmos/src/Batch/TransactionalBatchResponse.cs index 14f880a6f0..ba7a1d473c 100644 --- a/Microsoft.Azure.Cosmos/src/Batch/TransactionalBatchResponse.cs +++ b/Microsoft.Azure.Cosmos/src/Batch/TransactionalBatchResponse.cs @@ -392,6 +392,17 @@ private static async Task PopulateFromContentAsync( return response; } + /// + /// Retrieves the size of the transactional batch. + /// + /// + /// An integer representing the number of operations in the batch. + /// Returns 0 if there are no operations. + /// + /// + /// This method checks the property to determine the number of operations in the current transactional batch. + /// If the property is null, it returns 0, indicating that there are no operations in the batch. + /// internal int GetBatchSize() { if (this.Operations == null) diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributeKeys.cs b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributeKeys.cs index c34967420c..bb228ba229 100644 --- a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributeKeys.cs +++ b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributeKeys.cs @@ -4,43 +4,159 @@ namespace Microsoft.Azure.Cosmos.Telemetry { + /// + /// Contains constant string values representing OpenTelemetry attribute keys for monitoring and tracing Cosmos DB operations. + /// These keys follow the OpenTelemetry conventions and the Cosmos DB semantic conventions as outlined in the OpenTelemetry specification. + /// + /// + /// For more details on the semantic conventions, refer to the OpenTelemetry documentation at: + /// + /// internal sealed class OpenTelemetryAttributeKeys { // Azure defaults + + /// + /// Represents the diagnostic namespace for Azure Cosmos. + /// public const string DiagnosticNamespace = "Azure.Cosmos"; + + /// + /// Represents the resource provider namespace for Azure Cosmos. + /// public const string ResourceProviderNamespace = "Microsoft.DocumentDB"; + + /// + /// Represents the prefix for operation names. + /// public const string OperationPrefix = "Operation"; + + /// + /// Represents the prefix for network-level operations. + /// public const string NetworkLevelPrefix = "Request"; // Common database attributes + + /// + /// Represents the name of the database system. + /// public const string DbSystemName = "db.system"; - public const string DbName = "db.name"; - public const string DbOperation = "db.operation"; + + /// + /// Represents the namespace of the database. + /// + public const string DbName = "db.namespace"; + + /// + /// Represents the name of the database operation. + /// + public const string DbOperation = "db.operation.name"; + + /// + /// Represents the server address. + /// public const string ServerAddress = "server.address"; - // Cosmos Db Specific + // Cosmos DB specific attributes + + /// + /// Represents the client ID for Cosmos DB. + /// public const string ClientId = "db.cosmosdb.client_id"; + + /// + /// Represents the machine ID for Cosmos DB. + /// public const string MachineId = "db.cosmosdb.machine_id"; - public const string UserAgent = "user_agent.original"; // Compliant with open telemetry conventions + + /// + /// Represents the user agent, compliant with OpenTelemetry conventions. + /// + public const string UserAgent = "user_agent.original"; + + /// + /// Represents the connection mode for Cosmos DB. + /// public const string ConnectionMode = "db.cosmosdb.connection_mode"; + + /// + /// Represents the type of operation for Cosmos DB. + /// public const string OperationType = "db.cosmosdb.operation_type"; - // Request/Response Specifics - public const string ContainerName = "db.cosmosdb.container"; - public const string RequestContentLength = "db.cosmosdb.request_content_length_bytes"; - public const string ResponseContentLength = "db.cosmosdb.response_content_length_bytes"; + // Request/Response specifics + + /// + /// Represents the name of the container in Cosmos DB. + /// + public const string ContainerName = "db.collection.name"; + + /// + /// Represents the content length of the request. + /// + public const string RequestContentLength = "db.cosmosdb.request_content_length"; + + /// + /// Represents the content length of the response. + /// + public const string ResponseContentLength = "db.cosmosdb.response_content_length"; + + /// + /// Represents the status code of the response. + /// public const string StatusCode = "db.cosmosdb.status_code"; + + /// + /// Represents the sub-status code of the response. + /// public const string SubStatusCode = "db.cosmosdb.sub_status_code"; + + /// + /// Represents the request charge for the operation. + /// public const string RequestCharge = "db.cosmosdb.request_charge"; + + /// + /// Represents the regions contacted for the operation. + /// public const string Region = "db.cosmosdb.regions_contacted"; + + /// + /// Represents the item count in the operation. + /// public const string ItemCount = "db.cosmosdb.item_count"; + + /// + /// Represents the activity ID for the operation. + /// public const string ActivityId = "db.cosmosdb.activity_id"; + + /// + /// Represents the correlated activity ID for the operation. + /// public const string CorrelatedActivityId = "db.cosmosdb.correlated_activity_id"; - public const string BatchSize = "db.cosmosdb.batch_size"; + + /// + /// Represents the size of the batch operation. + /// + public const string BatchSize = "db.operation.batch.size"; // Exceptions + + /// + /// Represents the type of exception. + /// public const string ExceptionType = "exception.type"; + + /// + /// Represents the message of the exception. + /// public const string ExceptionMessage = "exception.message"; + + /// + /// Represents the stack trace of the exception. + /// public const string ExceptionStacktrace = "exception.stacktrace"; } } diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributes.cs b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributes.cs index 713f17cf1b..7dbf7aab51 100644 --- a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributes.cs +++ b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributes.cs @@ -76,8 +76,26 @@ internal OpenTelemetryAttributes(RequestMessage requestMessage) internal int? BatchSize { get; set; } /// - /// Will have value for homogeneous batch operation and will be null for heterogeneous batch operation + /// Gets or sets the operation type for batch operations. + /// Will have a value for homogeneous batch operations and will be null for heterogeneous batch operations. + /// + /// Operation name should be prepended with BATCH for homogeneous operations, or be just BATCH for heterogeneous operations. /// + /// + /// For example, if you have a batch of homogeneous operations like Read: + /// + /// var recorder = new OpenTelemetryCoreRecorder(); + /// recorder.BatchOperationName = Documents.OperationType.Read; // Homogeneous batch + /// string operationName = "BATCH." + recorder.BatchOperationName; // Results in "BATCH.Read" + /// + /// + /// For a batch of heterogeneous operations: + /// + /// var recorder = new OpenTelemetryCoreRecorder(); + /// recorder.BatchOperationName = null; // Heterogeneous batch + /// string operationName = "BATCH"; // No specific operation type + /// + /// internal Documents.OperationType? BatchOperationName { get; set; } } } diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryCoreRecorder.cs b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryCoreRecorder.cs index 759eb0c10e..522e4817e0 100644 --- a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryCoreRecorder.cs +++ b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryCoreRecorder.cs @@ -12,7 +12,8 @@ namespace Microsoft.Azure.Cosmos.Telemetry using Microsoft.Azure.Documents; /// - /// This class is used to add information in an Activity tags ref. https://github.com/Azure/azure-cosmos-dotnet-v3/issues/3058 + /// This class is used to add information in an Activity tags for OpenTelemetry. + /// Refer to for more details. /// internal struct OpenTelemetryCoreRecorder : IDisposable { @@ -27,6 +28,9 @@ internal struct OpenTelemetryCoreRecorder : IDisposable private OpenTelemetryAttributes response = null; + /// + /// Maps exception types to actions that record their OpenTelemetry attributes. + /// internal static IDictionary> OTelCompatibleExceptions = new Dictionary>() { { typeof(CosmosNullReferenceException), (exception, scope) => CosmosNullReferenceException.RecordOtelAttributes((CosmosNullReferenceException)exception, scope)}, @@ -76,9 +80,10 @@ private OpenTelemetryCoreRecorder( } /// - /// Used for creating parent activity in scenario where there are no listeners at operation level - /// but they are present at network level + /// Creates a parent activity for scenarios where there are no listeners at the operation level but are present at the network level. /// + /// The network-level diagnostic scope. + /// An instance of . public static OpenTelemetryCoreRecorder CreateNetworkLevelParentActivity(DiagnosticScope networkScope) { return new OpenTelemetryCoreRecorder(networkScope); diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryResponse.cs b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryResponse.cs index 015d37ba6e..5dba699773 100644 --- a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryResponse.cs +++ b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryResponse.cs @@ -13,7 +13,7 @@ namespace Microsoft.Azure.Cosmos internal sealed class OpenTelemetryResponse : OpenTelemetryAttributes { - internal OpenTelemetryResponse(TransactionalBatchResponse responseMessage, bool operationFlag, OperationType? operationName) + internal OpenTelemetryResponse(TransactionalBatchResponse responseMessage, bool isHomogenousOperations, OperationType? batchOperation) : this( statusCode: responseMessage.StatusCode, requestCharge: OpenTelemetryResponse.GetHeader(responseMessage)?.RequestCharge, @@ -25,7 +25,7 @@ internal OpenTelemetryResponse(TransactionalBatchResponse responseMessage, bool activityId: OpenTelemetryResponse.GetHeader(responseMessage)?.ActivityId, correlationId: OpenTelemetryResponse.GetHeader(responseMessage)?.CorrelatedActivityId, batchSize: responseMessage.GetBatchSize(), - batchOperationName: operationFlag ? operationName : null ) + batchOperationName: isHomogenousOperations ? batchOperation : null ) { } diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.BatchOperationsAsync.xml b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.BatchOperationsAsync.xml index bf3bc24d3e..fb5d0761ee 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.BatchOperationsAsync.xml +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.BatchOperationsAsync.xml @@ -142,9 +142,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - ExecuteAsync - databaseName - containerName + ExecuteAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -152,7 +152,160 @@ Some Value Direct Batch - 90 + 90 + Some Value + Some Value + Some Value + Some Value + Some Value + South Central US + 400/1001 + + + + + + + Batch Homogenous Operation + createItems = new List(); + for (int i = 0; i < 50; i++) + { + ToDoActivity item = ToDoActivity.CreateRandomToDoActivity(pk: pkValue); + createItems.Add(item); + batch.CreateItem(item); + } + + TransactionalBatchRequestOptions requestOptions = null; + TransactionalBatchResponse response = await batch.ExecuteAsync(requestOptions); + + Assert.IsNotNull(response); + ITrace trace = ((CosmosTraceDiagnostics)response.Diagnostics).Value; +]]> + + + + + + Microsoft.DocumentDB + https://opentelemetry.io/schemas/1.23.0 + ExecuteAsync + databaseName + containerName + cosmosdb + Some Value + 127.0.0.1 + Some Value + Some Value + Direct + Batch.Create + 50 Some Value Some Value Some Value diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.BulkOperationsAsync.xml b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.BulkOperationsAsync.xml index 69e7a3c52f..a510f47077 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.BulkOperationsAsync.xml +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.BulkOperationsAsync.xml @@ -166,9 +166,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -184,9 +184,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -202,9 +202,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -220,9 +220,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -238,9 +238,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -256,9 +256,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -274,9 +274,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -292,9 +292,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -310,9 +310,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -328,9 +328,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -503,9 +503,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -521,9 +521,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -539,9 +539,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -557,9 +557,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -575,9 +575,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -593,9 +593,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -611,9 +611,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -629,9 +629,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -647,9 +647,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -665,9 +665,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -840,9 +840,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -858,9 +858,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -876,9 +876,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -894,9 +894,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -912,9 +912,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -930,9 +930,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -948,9 +948,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -966,9 +966,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -984,9 +984,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1002,9 +1002,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1177,9 +1177,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1195,9 +1195,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1213,9 +1213,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1231,9 +1231,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1249,9 +1249,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1267,9 +1267,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1285,9 +1285,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1303,9 +1303,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1321,9 +1321,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1339,9 +1339,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1514,9 +1514,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1532,9 +1532,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1550,9 +1550,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1568,9 +1568,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1586,9 +1586,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1604,9 +1604,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1622,9 +1622,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1640,9 +1640,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1658,9 +1658,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1676,9 +1676,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1851,9 +1851,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1869,9 +1869,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1887,9 +1887,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1905,9 +1905,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1923,9 +1923,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1941,9 +1941,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1959,9 +1959,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1977,9 +1977,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1995,9 +1995,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2013,9 +2013,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2188,9 +2188,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2206,9 +2206,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2224,9 +2224,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2242,9 +2242,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2260,9 +2260,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2278,9 +2278,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2296,9 +2296,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2314,9 +2314,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2332,9 +2332,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2350,9 +2350,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2525,9 +2525,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2543,9 +2543,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2561,9 +2561,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2579,9 +2579,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2597,9 +2597,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2615,9 +2615,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2633,9 +2633,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2651,9 +2651,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2669,9 +2669,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2687,9 +2687,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2862,9 +2862,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2880,9 +2880,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2898,9 +2898,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2916,9 +2916,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2934,9 +2934,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2952,9 +2952,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2970,9 +2970,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2988,9 +2988,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3006,9 +3006,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3024,9 +3024,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3199,9 +3199,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3217,9 +3217,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3235,9 +3235,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3253,9 +3253,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3271,9 +3271,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3289,9 +3289,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3307,9 +3307,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3325,9 +3325,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3343,9 +3343,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3361,9 +3361,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -4153,9 +4153,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.ChangeFeedAsync.xml b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.ChangeFeedAsync.xml index 45781f33c4..4bf97b7cf5 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.ChangeFeedAsync.xml +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.ChangeFeedAsync.xml @@ -1026,9 +1026,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Change Feed Iterator Read Next Async - databaseName - containerName + Change Feed Iterator Read Next Async + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1045,9 +1045,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Change Feed Iterator Read Next Async - databaseName - containerName + Change Feed Iterator Read Next Async + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1064,9 +1064,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Change Feed Iterator Read Next Async - databaseName - containerName + Change Feed Iterator Read Next Async + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1083,9 +1083,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Change Feed Iterator Read Next Async - databaseName - containerName + Change Feed Iterator Read Next Async + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1102,9 +1102,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Change Feed Iterator Read Next Async - databaseName - containerName + Change Feed Iterator Read Next Async + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1772,9 +1772,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1791,9 +1791,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1810,9 +1810,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1829,9 +1829,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1848,9 +1848,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2499,9 +2499,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Change Feed Iterator Read Next Async - databaseName - containerName + Change Feed Iterator Read Next Async + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2518,9 +2518,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Change Feed Iterator Read Next Async - databaseName - containerName + Change Feed Iterator Read Next Async + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2537,9 +2537,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Change Feed Iterator Read Next Async - databaseName - containerName + Change Feed Iterator Read Next Async + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2556,9 +2556,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Change Feed Iterator Read Next Async - databaseName - containerName + Change Feed Iterator Read Next Async + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2575,9 +2575,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Change Feed Iterator Read Next Async - databaseName - containerName + Change Feed Iterator Read Next Async + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3246,9 +3246,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3265,9 +3265,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3284,9 +3284,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3303,9 +3303,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3322,9 +3322,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3647,9 +3647,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Change Feed Estimator Read Next Async - databaseName - containerName + Change Feed Estimator Read Next Async + databaseName + containerName cosmosdb Some Value 127.0.0.1 diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.MiscellanousAsync.xml b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.MiscellanousAsync.xml index b445a3d8c7..58d4a538ea 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.MiscellanousAsync.xml +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.MiscellanousAsync.xml @@ -120,8 +120,8 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - DeleteAsync - miscdbcustonhandler + DeleteAsync + miscdbcustonhandler cosmosdb Some Value 127.0.0.1 @@ -137,8 +137,8 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateDatabaseAsync - miscdbcustonhandler + CreateDatabaseAsync + miscdbcustonhandler cosmosdb Some Value 127.0.0.1 @@ -261,8 +261,8 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - DeleteAsync - miscdbdataplane + DeleteAsync + miscdbdataplane cosmosdb Some Value 127.0.0.1 @@ -278,8 +278,8 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateDatabaseAsync - miscdbdataplane + CreateDatabaseAsync + miscdbdataplane cosmosdb Some Value 127.0.0.1 diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.PointOperationsExceptionsAsync.xml b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.PointOperationsExceptionsAsync.xml index 365d96f2c5..3d79320575 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.PointOperationsExceptionsAsync.xml +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.PointOperationsExceptionsAsync.xml @@ -161,9 +161,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -438,9 +438,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -693,9 +693,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -980,9 +980,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1331,9 +1331,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1515,9 +1515,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.QueryAsync.xml b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.QueryAsync.xml index 82ad44b108..ed00529984 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.QueryAsync.xml +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.QueryAsync.xml @@ -613,9 +613,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -634,9 +634,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -655,9 +655,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -676,9 +676,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1334,9 +1334,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1355,9 +1355,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1376,9 +1376,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1397,9 +1397,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2036,9 +2036,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2057,9 +2057,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2078,9 +2078,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2099,9 +2099,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2758,9 +2758,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2779,9 +2779,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2800,9 +2800,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2821,9 +2821,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3554,9 +3554,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3575,9 +3575,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3596,9 +3596,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -3617,9 +3617,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -4265,9 +4265,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -4286,9 +4286,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -4307,9 +4307,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -4328,9 +4328,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -4996,9 +4996,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -5017,9 +5017,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -5038,9 +5038,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -5059,9 +5059,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.ReadFeedAsync.xml b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.ReadFeedAsync.xml index 2282980891..b3c304847f 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.ReadFeedAsync.xml +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.ReadFeedAsync.xml @@ -579,9 +579,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -599,9 +599,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -619,9 +619,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -639,9 +639,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1262,9 +1262,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1282,9 +1282,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1302,9 +1302,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1322,9 +1322,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1926,9 +1926,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1946,9 +1946,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1966,9 +1966,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1986,9 +1986,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - FeedIterator ReadNextAsync - databaseName - containerName + FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2610,9 +2610,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2630,9 +2630,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2650,9 +2650,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -2670,9 +2670,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - Typed FeedIterator ReadNextAsync - databaseName - containerName + Typed FeedIterator ReadNextAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.ReadManyAsync.xml b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.ReadManyAsync.xml index d008ef7dbe..e2203da4aa 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.ReadManyAsync.xml +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.ReadManyAsync.xml @@ -554,9 +554,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - ReadManyItemsStreamAsync - databaseName - containerName + ReadManyItemsStreamAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -1139,9 +1139,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - ReadManyItemsAsync - databaseName - containerName + ReadManyItemsAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.StreamPointOperationsAsync.xml b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.StreamPointOperationsAsync.xml index bb444ff589..854845fbee 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.StreamPointOperationsAsync.xml +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.StreamPointOperationsAsync.xml @@ -102,9 +102,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemStreamAsync - databaseName - containerName + CreateItemStreamAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -218,9 +218,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - ReadItemStreamAsync - databaseName - containerName + ReadItemStreamAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -342,9 +342,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - ReplaceItemStreamAsync - databaseName - containerName + ReplaceItemStreamAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -461,9 +461,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - DeleteItemStreamAsync - databaseName - containerName + DeleteItemStreamAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.TypedPointOperationsAsync.xml b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.TypedPointOperationsAsync.xml index 30629674f6..fe0b560a05 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.TypedPointOperationsAsync.xml +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.TypedPointOperationsAsync.xml @@ -122,9 +122,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - CreateItemAsync - databaseName - containerName + CreateItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -243,9 +243,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - ReadItemAsync - databaseName - containerName + ReadItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -377,9 +377,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - ReplaceItemAsync - databaseName - containerName + ReplaceItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 @@ -500,9 +500,9 @@ Microsoft.DocumentDB https://opentelemetry.io/schemas/1.23.0 - DeleteItemAsync - databaseName - containerName + DeleteItemAsync + databaseName + containerName cosmosdb Some Value 127.0.0.1 diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Tracing/AssertActivity.cs b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Tracing/AssertActivity.cs index 975eae658a..fe157287bc 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Tracing/AssertActivity.cs +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Tracing/AssertActivity.cs @@ -38,28 +38,28 @@ public static void IsValidOperationActivity(Activity activity) "az.schema_url", "kind", "db.system", - "db.name", - "db.operation", + "db.namespace", + "db.operation.name", "server.address", "db.cosmosdb.client_id", "db.cosmosdb.machine_id", "user_agent.original", "db.cosmosdb.connection_mode", "db.cosmosdb.operation_type", - "db.cosmosdb.container", - "db.cosmosdb.request_content_length_bytes", - "db.cosmosdb.response_content_length_bytes", + "db.collection.name", + "db.cosmosdb.request_content_length", + "db.cosmosdb.response_content_length", "db.cosmosdb.status_code", "db.cosmosdb.sub_status_code", "db.cosmosdb.request_charge", "db.cosmosdb.regions_contacted", "db.cosmosdb.item_count", - "db.cosmosdb.batch_size", + "db.operation.batch.size", + "db.cosmosdb.activity_id", + "db.cosmosdb.correlated_activity_id", "exception.type", "exception.message", "exception.stacktrace", - "db.cosmosdb.activity_id", - "db.cosmosdb.correlated_activity_id", "error.type" }; diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Tracing/CustomListener.cs b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Tracing/CustomListener.cs index 802c1ab53e..37b27d8a63 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Tracing/CustomListener.cs +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Tracing/CustomListener.cs @@ -32,24 +32,22 @@ internal class CustomListener : "az.schema_url", "kind", "az.namespace", - "db.operation", + "db.operation.name", "db.system", "server.address", - "db.name", - "db.cosmosdb.container", + "db.namespace", + "db.collection.name", "db.cosmosdb.connection_mode", "db.cosmosdb.operation_type", "db.cosmosdb.regions_contacted", - "db.cosmosdb.batch_size", - "rntbd.sub_status_code", - "rntbd.status_code", + "db.operation.batch.size", "error.type" }; private static readonly List TagsToSkip = new List { - "db.cosmosdb.request_content_length_bytes", - "db.cosmosdb.response_content_length_bytes" + "db.cosmosdb.request_content_length", + "db.cosmosdb.response_content_length" }; private ConcurrentBag subscriptions = new(); diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Tracing/EndToEndTraceWriterBaselineTests.cs b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Tracing/EndToEndTraceWriterBaselineTests.cs index 94233a6b23..53689de374 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Tracing/EndToEndTraceWriterBaselineTests.cs +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/Tracing/EndToEndTraceWriterBaselineTests.cs @@ -1224,7 +1224,7 @@ public async Task BatchOperationsAsync() int endLineNumber; //---------------------------------------------------------------- - // Standard Batch + // Standard Batch (Non Homogenous Operations) //---------------------------------------------------------------- { startLineNumber = GetLineNumber(); @@ -1263,6 +1263,34 @@ public async Task BatchOperationsAsync() } //---------------------------------------------------------------- + //---------------------------------------------------------------- + // Standard Batch (Homogenous Operations) + //---------------------------------------------------------------- + { + startLineNumber = GetLineNumber(); + string pkValue = "DiagnosticTestPk"; + TransactionalBatch batch = container.CreateTransactionalBatch(new PartitionKey(pkValue)); + List createItems = new List(); + for (int i = 0; i < 50; i++) + { + ToDoActivity item = ToDoActivity.CreateRandomToDoActivity(pk: pkValue); + createItems.Add(item); + batch.CreateItem(item); + } + + TransactionalBatchRequestOptions requestOptions = null; + TransactionalBatchResponse response = await batch.ExecuteAsync(requestOptions); + + Assert.IsNotNull(response); + ITrace trace = ((CosmosTraceDiagnostics)response.Diagnostics).Value; + endLineNumber = GetLineNumber(); + + inputs.Add(new Input("Batch Homogenous Operation", trace, startLineNumber, endLineNumber, EndToEndTraceWriterBaselineTests.testListener?.GetRecordedAttributes())); + + EndToEndTraceWriterBaselineTests.AssertAndResetActivityInformation(); + } + //---------------------------------------------------------------- + this.ExecuteTestSuite(inputs); }