diff --git a/Microsoft.Azure.Cosmos/src/Batch/BatchCore.cs b/Microsoft.Azure.Cosmos/src/Batch/BatchCore.cs index 35aad1be10..cecf1fd778 100644 --- a/Microsoft.Azure.Cosmos/src/Batch/BatchCore.cs +++ b/Microsoft.Azure.Cosmos/src/Batch/BatchCore.cs @@ -18,8 +18,6 @@ internal class BatchCore : TransactionalBatchInternal private readonly ContainerInternal container; - private List operations; - /// /// Initializes a new instance of the class. /// @@ -31,7 +29,6 @@ internal BatchCore( { this.container = container; this.partitionKey = partitionKey; - this.operations = new List(); } public override TransactionalBatch CreateItem( @@ -43,7 +40,7 @@ public override TransactionalBatch CreateItem( throw new ArgumentNullException(nameof(item)); } - this.operations.Add(new ItemBatchOperation( + this.AddOperation(new ItemBatchOperation( operationType: OperationType.Create, operationIndex: this.operations.Count, resource: item, @@ -62,7 +59,7 @@ public override TransactionalBatch CreateItemStream( throw new ArgumentNullException(nameof(streamPayload)); } - this.operations.Add(new ItemBatchOperation( + this.AddOperation(new ItemBatchOperation( operationType: OperationType.Create, operationIndex: this.operations.Count, resourceStream: streamPayload, @@ -81,7 +78,7 @@ public override TransactionalBatch ReadItem( throw new ArgumentNullException(nameof(id)); } - this.operations.Add(new ItemBatchOperation( + this.AddOperation(new ItemBatchOperation( operationType: OperationType.Read, operationIndex: this.operations.Count, id: id, @@ -100,7 +97,7 @@ public override TransactionalBatch UpsertItem( throw new ArgumentNullException(nameof(item)); } - this.operations.Add(new ItemBatchOperation( + this.AddOperation(new ItemBatchOperation( operationType: OperationType.Upsert, operationIndex: this.operations.Count, resource: item, @@ -119,7 +116,7 @@ public override TransactionalBatch UpsertItemStream( throw new ArgumentNullException(nameof(streamPayload)); } - this.operations.Add(new ItemBatchOperation( + this.AddOperation(new ItemBatchOperation( operationType: OperationType.Upsert, operationIndex: this.operations.Count, resourceStream: streamPayload, @@ -144,7 +141,7 @@ public override TransactionalBatch ReplaceItem( throw new ArgumentNullException(nameof(item)); } - this.operations.Add(new ItemBatchOperation( + this.AddOperation(new ItemBatchOperation( operationType: OperationType.Replace, operationIndex: this.operations.Count, id: id, @@ -170,7 +167,7 @@ public override TransactionalBatch ReplaceItemStream( throw new ArgumentNullException(nameof(streamPayload)); } - this.operations.Add(new ItemBatchOperation( + this.AddOperation(new ItemBatchOperation( operationType: OperationType.Replace, operationIndex: this.operations.Count, id: id, @@ -190,7 +187,7 @@ public override TransactionalBatch DeleteItem( throw new ArgumentNullException(nameof(id)); } - this.operations.Add(new ItemBatchOperation( + this.AddOperation(new ItemBatchOperation( operationType: OperationType.Delete, operationIndex: this.operations.Count, id: id, @@ -236,7 +233,9 @@ public override Task ExecuteAsync( return executor.ExecuteAsync(trace, cancellationToken); }, openTelemetry: (response) => new OpenTelemetryResponse( - responseMessage: response)); + responseMessage: response, + isHomogenousOperations: this.isHomogenousOperations, + batchOperation: this.homogenousOperation)); } /// @@ -251,7 +250,7 @@ public virtual TransactionalBatch PatchItemStream( Stream patchStream, TransactionalBatchPatchItemRequestOptions requestOptions = null) { - this.operations.Add(new ItemBatchOperation( + this.AddOperation(new ItemBatchOperation( operationType: OperationType.Patch, operationIndex: this.operations.Count, id: id, @@ -287,7 +286,7 @@ public override TransactionalBatch PatchItem( PatchSpec patchSpec = new PatchSpec(patchOperations, requestOptions); - this.operations.Add(new ItemBatchOperation( + this.AddOperation(new ItemBatchOperation( operationType: OperationType.Patch, operationIndex: this.operations.Count, id: id, diff --git a/Microsoft.Azure.Cosmos/src/Batch/TransactionalBatchInternal.cs b/Microsoft.Azure.Cosmos/src/Batch/TransactionalBatchInternal.cs index 74874b6ade..aa6c72189b 100644 --- a/Microsoft.Azure.Cosmos/src/Batch/TransactionalBatchInternal.cs +++ b/Microsoft.Azure.Cosmos/src/Batch/TransactionalBatchInternal.cs @@ -4,12 +4,58 @@ namespace Microsoft.Azure.Cosmos { - using System.IO; - using System.Net; - using System.Threading; - using System.Threading.Tasks; + using System.Collections.Generic; + using System.Linq; + using Microsoft.Azure.Documents; + /// + /// Represents an internal abstract class for handling transactional batches of operations. + /// This class is intended to be used as a base class for creating batches of operations + /// that can be executed transactionally in Azure Cosmos DB. + /// internal abstract class TransactionalBatchInternal : TransactionalBatch { + /// + /// The list of operations in the batch. + /// + protected List operations; + + /// + /// Initializes a new instance of the class. + /// + public TransactionalBatchInternal() + { + this.operations = new List(); + } + + /// + /// Indicates whether all operations in the batch are of the same type. + /// + internal bool isHomogenousOperations = true; + + /// + /// Stores the operation type if all operations in the batch are of the same type; otherwise, null. + /// + internal OperationType? homogenousOperation = null; + + /// + /// Adds an operation to the batch. + /// + /// The operation to add to the batch. + /// + /// This method performs the following actions: + /// 1. Checks if the batch is homogeneous (all operations of the same type) and if the new operation's type matches the type of the existing operations. + /// 2. Updates the flag and the property based on the check. + /// 3. Adds the operation to the list of operations. + /// + protected void AddOperation(ItemBatchOperation itemBatchOperation) + { + if (this.isHomogenousOperations && this.operations.Count > 0) + { + this.isHomogenousOperations = this.operations.First().OperationType == itemBatchOperation.OperationType; + this.homogenousOperation = this.isHomogenousOperations ? itemBatchOperation.OperationType : null; + } + this.operations.Add(itemBatchOperation); + } } } diff --git a/Microsoft.Azure.Cosmos/src/Batch/TransactionalBatchResponse.cs b/Microsoft.Azure.Cosmos/src/Batch/TransactionalBatchResponse.cs index e594644731..ba7a1d473c 100644 --- a/Microsoft.Azure.Cosmos/src/Batch/TransactionalBatchResponse.cs +++ b/Microsoft.Azure.Cosmos/src/Batch/TransactionalBatchResponse.cs @@ -392,6 +392,26 @@ 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) + { + return 0; + } + return this.Operations.Count; + } + /// /// Disposes the disposable members held by this class. /// diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributeKeys.cs b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributeKeys.cs index 9e71e5edbe..bb228ba229 100644 --- a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributeKeys.cs +++ b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributeKeys.cs @@ -4,42 +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"; + /// + /// 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 70b6cea4ef..7dbf7aab51 100644 --- a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributes.cs +++ b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributes.cs @@ -69,5 +69,33 @@ internal OpenTelemetryAttributes(RequestMessage requestMessage) /// OperationType /// internal Documents.OperationType OperationType { get; set; } + + /// + /// Batch Size + /// + internal int? BatchSize { get; set; } + + /// + /// 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 8659286b3d..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); @@ -222,10 +227,22 @@ public void Dispose() OperationType operationType = (this.response == null || this.response?.OperationType == OperationType.Invalid) ? this.operationType : this.response.OperationType; - this.scope.AddAttribute(OpenTelemetryAttributeKeys.OperationType, Enum.GetName(typeof(OperationType), operationType)); + string operationName = Enum.GetName(typeof(OperationType), operationType); + this.scope.AddAttribute(OpenTelemetryAttributeKeys.OperationType, operationName); if (this.response != null) { + if (this.response.BatchOperationName != null) + { + string batchOpsName = Enum.GetName(typeof(OperationType), this.response.BatchOperationName); + operationName = $"{operationName}.{batchOpsName}"; + } + this.scope.AddAttribute(OpenTelemetryAttributeKeys.OperationType, operationName); + + if (this.response.BatchSize is not null) + { + this.scope.AddIntegerAttribute(OpenTelemetryAttributeKeys.BatchSize, (int)this.response.BatchSize); + } this.scope.AddAttribute(OpenTelemetryAttributeKeys.RequestContentLength, this.response.RequestContentLength); this.scope.AddAttribute(OpenTelemetryAttributeKeys.ResponseContentLength, this.response.ResponseContentLength); this.scope.AddIntegerAttribute(OpenTelemetryAttributeKeys.StatusCode, (int)this.response.StatusCode); diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryResponse.cs b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryResponse.cs index 09d43c6965..5dba699773 100644 --- a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryResponse.cs +++ b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryResponse.cs @@ -8,11 +8,12 @@ namespace Microsoft.Azure.Cosmos using System.IO; using System.Net; using Microsoft.Azure.Cosmos.Core.Trace; + using Microsoft.Azure.Documents; using Telemetry; internal sealed class OpenTelemetryResponse : OpenTelemetryAttributes { - internal OpenTelemetryResponse(TransactionalBatchResponse responseMessage) + internal OpenTelemetryResponse(TransactionalBatchResponse responseMessage, bool isHomogenousOperations, OperationType? batchOperation) : this( statusCode: responseMessage.StatusCode, requestCharge: OpenTelemetryResponse.GetHeader(responseMessage)?.RequestCharge, @@ -22,7 +23,9 @@ internal OpenTelemetryResponse(TransactionalBatchResponse responseMessage) requestMessage: null, subStatusCode: OpenTelemetryResponse.GetHeader(responseMessage)?.SubStatusCode, activityId: OpenTelemetryResponse.GetHeader(responseMessage)?.ActivityId, - correlationId: OpenTelemetryResponse.GetHeader(responseMessage)?.CorrelatedActivityId) + correlationId: OpenTelemetryResponse.GetHeader(responseMessage)?.CorrelatedActivityId, + batchSize: responseMessage.GetBatchSize(), + batchOperationName: isHomogenousOperations ? batchOperation : null ) { } @@ -52,7 +55,9 @@ private OpenTelemetryResponse( Documents.SubStatusCodes? subStatusCode, string activityId, string correlationId, - Documents.OperationType operationType = Documents.OperationType.Invalid) + Documents.OperationType operationType = Documents.OperationType.Invalid, + int? batchSize = null, + Documents.OperationType? batchOperationName = null) : base(requestMessage) { this.StatusCode = statusCode; @@ -64,6 +69,8 @@ private OpenTelemetryResponse( this.ActivityId = activityId; this.CorrelatedActivityId = correlationId; this.OperationType = operationType; + this.BatchSize = batchSize; + this.BatchOperationName = batchOperationName; } private static string GetPayloadSize(ResponseMessage response) 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 8e8a427763..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,6 +152,160 @@ Some Value Direct Batch + 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 3bc5b1be3c..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,27 +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.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 8d5e79a78f..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,23 +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", - "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); } diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Telemetry/OpenTelemetryRecorderTests.cs b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Telemetry/OpenTelemetryRecorderTests.cs index 601045cba5..50c0e425a5 100644 --- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Telemetry/OpenTelemetryRecorderTests.cs +++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.Tests/Telemetry/OpenTelemetryRecorderTests.cs @@ -107,7 +107,7 @@ public async Task CheckResponseCompatibility() if (instance is TransactionalBatchResponse transactionInstance) { - _ = new OpenTelemetryResponse(transactionInstance); + _ = new OpenTelemetryResponse(transactionInstance, false, null); } else if (instance is ResponseMessage responseMessageInstance) {