diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/AppInsightClassicAttributeKeys.cs b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/AppInsightClassicAttributeKeys.cs
index 49d3c4bc3b..5c65b5d71d 100644
--- a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/AppInsightClassicAttributeKeys.cs
+++ b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/AppInsightClassicAttributeKeys.cs
@@ -4,7 +4,10 @@
namespace Microsoft.Azure.Cosmos.Telemetry
{
- internal sealed class AppInsightClassicAttributeKeys
+ using System;
+ using global::Azure.Core;
+
+ internal sealed class AppInsightClassicAttributeKeys : IActivityAttributePopulator
{
///
/// Represents the diagnostic namespace for Azure Cosmos.
@@ -90,5 +93,72 @@ internal sealed class AppInsightClassicAttributeKeys
/// Represents the item count in the operation.
///
public const string ItemCount = "db.cosmosdb.item_count";
+
+ ///
+ /// 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";
+
+ public void PopulateAttributes(DiagnosticScope scope,
+ string operationName,
+ string databaseName,
+ string containerName,
+ Uri accountName,
+ string userAgent,
+ string machineId,
+ string clientId,
+ string connectionMode)
+ {
+ scope.AddAttribute(AppInsightClassicAttributeKeys.DbOperation, operationName);
+ scope.AddAttribute(AppInsightClassicAttributeKeys.DbName, databaseName);
+ scope.AddAttribute(AppInsightClassicAttributeKeys.ContainerName, containerName);
+ scope.AddAttribute(AppInsightClassicAttributeKeys.ServerAddress, accountName?.Host);
+ scope.AddAttribute(AppInsightClassicAttributeKeys.UserAgent, userAgent);
+ scope.AddAttribute(AppInsightClassicAttributeKeys.MachineId, machineId);
+ scope.AddAttribute(AppInsightClassicAttributeKeys.ClientId, clientId);
+ scope.AddAttribute(AppInsightClassicAttributeKeys.ConnectionMode, connectionMode);
+ }
+
+ public void PopulateAttributes(DiagnosticScope scope, Exception exception)
+ {
+ scope.AddAttribute(AppInsightClassicAttributeKeys.ExceptionStacktrace, exception.StackTrace);
+ scope.AddAttribute(AppInsightClassicAttributeKeys.ExceptionType, exception.GetType().Name);
+
+ // If Exception is not registered with open Telemetry
+ if (!OpenTelemetryCoreRecorder.IsExceptionRegistered(exception, scope))
+ {
+ scope.AddAttribute(AppInsightClassicAttributeKeys.ExceptionMessage, exception.Message);
+ }
+ }
+
+ public void PopulateAttributes(DiagnosticScope scope, QueryTextMode? queryTextMode, string operationType, OpenTelemetryAttributes response)
+ {
+ scope.AddAttribute(AppInsightClassicAttributeKeys.OperationType, operationType);
+ if (response != null)
+ {
+ scope.AddAttribute(AppInsightClassicAttributeKeys.RequestContentLength, response.RequestContentLength);
+ scope.AddAttribute(AppInsightClassicAttributeKeys.ResponseContentLength, response.ResponseContentLength);
+ scope.AddIntegerAttribute(AppInsightClassicAttributeKeys.StatusCode, Convert.ToInt32(response.StatusCode));
+ scope.AddIntegerAttribute(AppInsightClassicAttributeKeys.SubStatusCode, response.SubStatusCode);
+ scope.AddIntegerAttribute(AppInsightClassicAttributeKeys.RequestCharge, Convert.ToInt32(response.RequestCharge));
+ scope.AddAttribute(AppInsightClassicAttributeKeys.ItemCount, response.ItemCount);
+ scope.AddAttribute(AppInsightClassicAttributeKeys.ActivityId, response.ActivityId);
+
+ if (response.Diagnostics != null)
+ {
+ scope.AddAttribute(AppInsightClassicAttributeKeys.Region, ClientTelemetryHelper.GetContactedRegions(response.Diagnostics.GetContactedRegions()));
+ }
+ }
+ }
}
}
diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/CosmosDbEventSource.cs b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/CosmosDbEventSource.cs
index 4cd3b8ffa4..0d6aaac76e 100644
--- a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/CosmosDbEventSource.cs
+++ b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/CosmosDbEventSource.cs
@@ -35,6 +35,11 @@ public static void RecordDiagnosticsForRequests(
Documents.OperationType operationType,
OpenTelemetryAttributes response)
{
+ if (response.Diagnostics == null)
+ {
+ return;
+ }
+
if (CosmosDbEventSource.IsEnabled(EventLevel.Warning))
{
if (!DiagnosticsFilterHelper.IsSuccessfulResponse(
diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/DatabaseDupAttributeKeys.cs b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/DatabaseDupAttributeKeys.cs
new file mode 100644
index 0000000000..6116abbe55
--- /dev/null
+++ b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/DatabaseDupAttributeKeys.cs
@@ -0,0 +1,39 @@
+//------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//------------------------------------------------------------
+
+namespace Microsoft.Azure.Cosmos.Telemetry
+{
+ using System;
+ using global::Azure.Core;
+
+ internal class DatabaseDupAttributeKeys : IActivityAttributePopulator
+ {
+ private readonly IActivityAttributePopulator appInsightPopulator;
+ private readonly IActivityAttributePopulator otelPopulator;
+
+ public DatabaseDupAttributeKeys()
+ {
+ this.otelPopulator = new OpenTelemetryAttributeKeys();
+ this.appInsightPopulator = new AppInsightClassicAttributeKeys();
+ }
+
+ public void PopulateAttributes(DiagnosticScope scope, string operationName, string databaseName, string containerName, Uri accountName, string userAgent, string machineId, string clientId, string connectionMode)
+ {
+ this.appInsightPopulator.PopulateAttributes(scope, operationName, databaseName, containerName, accountName, userAgent, machineId, clientId, connectionMode);
+ this.otelPopulator.PopulateAttributes(scope, operationName, databaseName, containerName, accountName, userAgent, machineId, clientId, connectionMode);
+ }
+
+ public void PopulateAttributes(DiagnosticScope scope, Exception exception)
+ {
+ this.appInsightPopulator.PopulateAttributes(scope, exception);
+ this.otelPopulator.PopulateAttributes(scope, exception);
+ }
+
+ public void PopulateAttributes(DiagnosticScope scope, QueryTextMode? queryTextMode, string operationType, OpenTelemetryAttributes response)
+ {
+ this.appInsightPopulator.PopulateAttributes(scope, queryTextMode, operationType, response);
+ this.otelPopulator.PopulateAttributes(scope, queryTextMode, operationType, response);
+ }
+ }
+}
diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/IActivityAttributePopulator.cs b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/IActivityAttributePopulator.cs
new file mode 100644
index 0000000000..677e793797
--- /dev/null
+++ b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/IActivityAttributePopulator.cs
@@ -0,0 +1,29 @@
+// ------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// ------------------------------------------------------------
+
+namespace Microsoft.Azure.Cosmos.Telemetry
+{
+ using System;
+ using global::Azure.Core;
+
+ internal interface IActivityAttributePopulator
+ {
+ public void PopulateAttributes(DiagnosticScope scope,
+ string operationName,
+ string databaseName,
+ string containerName,
+ Uri accountName,
+ string userAgent,
+ string machineId,
+ string clientId,
+ string connectionMode);
+
+ public void PopulateAttributes(DiagnosticScope scope, Exception exception);
+
+ public void PopulateAttributes(DiagnosticScope scope,
+ QueryTextMode? queryTextMode,
+ string operationType,
+ OpenTelemetryAttributes response);
+ }
+}
diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributeKeys.cs b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributeKeys.cs
index 2d01b8864d..4a35176f73 100644
--- a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributeKeys.cs
+++ b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributeKeys.cs
@@ -4,15 +4,18 @@
namespace Microsoft.Azure.Cosmos.Telemetry
{
+ using System;
+ using global::Azure.Core;
+
///
/// 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:
- ///
+ /// OpenTelemetry Semantic Conventions 1.28.0 conventions are followed.
///
- internal sealed class OpenTelemetryAttributeKeys
+ internal sealed class OpenTelemetryAttributeKeys : IActivityAttributePopulator
{
// Azure defaults
@@ -58,6 +61,11 @@ internal sealed class OpenTelemetryAttributeKeys
///
public const string ServerAddress = "server.address";
+ ///
+ /// Represents the server address.
+ ///
+ public const string ServerPort = "server.port";
+
// Cosmos DB specific attributes
///
@@ -115,7 +123,7 @@ internal sealed class OpenTelemetryAttributeKeys
///
/// Represents the item count in the operation.
///
- public const string ItemCount = "db.cosmosdb.item_count";
+ public const string ItemCount = "db.cosmosdb.row_count";
///
/// Represents the activity ID for the operation.
@@ -135,7 +143,7 @@ internal sealed class OpenTelemetryAttributeKeys
///
/// Represents the size of the batch operation.
///
- public const string BatchSize = "db.operation.batch_size";
+ public const string BatchSize = "db.operation.batch.size";
///
/// Consistency Level
@@ -158,5 +166,78 @@ internal sealed class OpenTelemetryAttributeKeys
/// Represents the stack trace of the exception.
///
public const string ExceptionStacktrace = "exception.stacktrace";
+
+ public void PopulateAttributes(DiagnosticScope scope,
+ string operationName,
+ string databaseName,
+ string containerName,
+ Uri accountName,
+ string userAgent,
+ string machineId,
+ string clientId,
+ string connectionMode)
+ {
+ scope.AddAttribute(OpenTelemetryAttributeKeys.DbOperation, operationName);
+ scope.AddAttribute(OpenTelemetryAttributeKeys.DbName, databaseName);
+ scope.AddAttribute(OpenTelemetryAttributeKeys.ContainerName, containerName);
+ if (accountName != null)
+ {
+ scope.AddAttribute(OpenTelemetryAttributeKeys.ServerAddress, accountName.Host);
+ scope.AddIntegerAttribute(OpenTelemetryAttributeKeys.ServerPort, accountName.Port);
+ }
+ scope.AddAttribute(OpenTelemetryAttributeKeys.UserAgent, userAgent);
+ scope.AddAttribute(OpenTelemetryAttributeKeys.ClientId, clientId);
+ scope.AddAttribute(OpenTelemetryAttributeKeys.ConnectionMode, connectionMode);
+ }
+
+ public void PopulateAttributes(DiagnosticScope scope, Exception exception)
+ {
+ scope.AddAttribute(OpenTelemetryAttributeKeys.ExceptionStacktrace, exception.StackTrace);
+ scope.AddAttribute(OpenTelemetryAttributeKeys.ExceptionType, exception.GetType().Name);
+
+ // If Exception is not registered with open Telemetry
+ if (!OpenTelemetryCoreRecorder.IsExceptionRegistered(exception, scope))
+ {
+ scope.AddAttribute(OpenTelemetryAttributeKeys.ExceptionMessage, exception.Message);
+ }
+ }
+
+ public void PopulateAttributes(DiagnosticScope scope, QueryTextMode? queryTextMode, string operationType, OpenTelemetryAttributes response)
+ {
+ if (response == null)
+ {
+ return;
+ }
+
+ if (response.BatchSize is not null)
+ {
+ scope.AddIntegerAttribute(OpenTelemetryAttributeKeys.BatchSize, Convert.ToInt32(response.BatchSize));
+ }
+
+ scope.AddIntegerAttribute(OpenTelemetryAttributeKeys.StatusCode, Convert.ToInt32(response.StatusCode));
+ scope.AddAttribute(OpenTelemetryAttributeKeys.RequestContentLength, response.RequestContentLength);
+ scope.AddAttribute(OpenTelemetryAttributeKeys.ResponseContentLength, response.ResponseContentLength);
+ scope.AddIntegerAttribute(OpenTelemetryAttributeKeys.SubStatusCode, response.SubStatusCode);
+ scope.AddIntegerAttribute(OpenTelemetryAttributeKeys.RequestCharge, Convert.ToInt32(response.RequestCharge));
+ scope.AddAttribute(OpenTelemetryAttributeKeys.ItemCount, response.ItemCount);
+ scope.AddAttribute(OpenTelemetryAttributeKeys.ActivityId, response.ActivityId);
+ scope.AddAttribute(OpenTelemetryAttributeKeys.CorrelatedActivityId, response.CorrelatedActivityId);
+ scope.AddAttribute(OpenTelemetryAttributeKeys.ConsistencyLevel, response.ConsistencyLevel);
+
+ if (response.QuerySpec is not null)
+ {
+ if (queryTextMode == QueryTextMode.All ||
+ (queryTextMode == QueryTextMode.ParameterizedOnly && response.QuerySpec.ShouldSerializeParameters()))
+ {
+ scope.AddAttribute(OpenTelemetryAttributeKeys.QueryText, response.QuerySpec?.QueryText);
+ }
+ }
+
+ if (response.Diagnostics != null)
+ {
+ scope.AddAttribute(OpenTelemetryAttributeKeys.Region, ClientTelemetryHelper.GetContactedRegions(response.Diagnostics.GetContactedRegions()));
+ }
+
+ }
}
}
diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryCoreRecorder.cs b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryCoreRecorder.cs
index f606fef57e..27c2b74680 100644
--- a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryCoreRecorder.cs
+++ b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryCoreRecorder.cs
@@ -9,6 +9,7 @@ namespace Microsoft.Azure.Cosmos.Telemetry
using System.Diagnostics;
using global::Azure.Core;
using Microsoft.Azure.Cosmos.Telemetry.Diagnostics;
+ using Microsoft.Azure.Cosmos.Telemetry.OpenTelemetry;
using Microsoft.Azure.Documents;
///
@@ -19,8 +20,6 @@ internal struct OpenTelemetryCoreRecorder : IDisposable
{
private const string CosmosDb = "cosmosdb";
- private static readonly string otelStabilityMode = Environment.GetEnvironmentVariable("OTEL_SEMCONV_STABILITY_OPT_IN");
-
private readonly DiagnosticScope scope = default;
private readonly CosmosThresholdOptions config = null;
private readonly Activity activity = null;
@@ -29,6 +28,9 @@ internal struct OpenTelemetryCoreRecorder : IDisposable
private readonly string connectionModeCache = null;
private readonly QueryTextMode? queryTextMode = null;
+
+ private readonly IActivityAttributePopulator activityAttributePopulator = TracesStabilityFactory.GetAttributePopulator();
+
private OpenTelemetryAttributes response = null;
///
@@ -69,13 +71,21 @@ private OpenTelemetryCoreRecorder(
this.config = config;
this.operationType = operationType;
- this.connectionModeCache = Enum.GetName(typeof(ConnectionMode), clientContext.ClientOptions.ConnectionMode);
+ this.connectionModeCache = clientContext.ClientOptions.ConnectionMode switch
+ {
+ ConnectionMode.Direct => "direct",
+ ConnectionMode.Gateway => "gateway",
+ _ => throw new NotImplementedException()
+ };
+
this.queryTextMode = queryTextMode;
if (scope.IsEnabled)
{
this.scope.Start();
+ this.scope.AddAttribute(OpenTelemetryAttributeKeys.DbSystemName, OpenTelemetryCoreRecorder.CosmosDb);
+
this.Record(
operationName: operationName,
containerName: containerName,
@@ -151,28 +161,15 @@ public void Record(
{
if (this.IsEnabled)
{
- if (otelStabilityMode == OpenTelemetryStablityModes.DatabaseDupe)
- {
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.DbOperation, operationName);
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.DbName, databaseName);
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.ContainerName, containerName);
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.ServerAddress, clientContext.Client?.Endpoint?.Host);
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.UserAgent, clientContext.UserAgent);
- }
- else
- {
- // Classic Appinsights Support
- this.scope.AddAttribute(AppInsightClassicAttributeKeys.DbOperation, operationName);
- this.scope.AddAttribute(AppInsightClassicAttributeKeys.DbName, databaseName);
- this.scope.AddAttribute(AppInsightClassicAttributeKeys.ContainerName, containerName);
- this.scope.AddAttribute(AppInsightClassicAttributeKeys.ServerAddress, clientContext.Client?.Endpoint?.Host);
- this.scope.AddAttribute(AppInsightClassicAttributeKeys.UserAgent, clientContext.UserAgent);
- this.scope.AddAttribute(AppInsightClassicAttributeKeys.MachineId, VmMetadataApiHandler.GetMachineId());
- }
-
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.DbSystemName, OpenTelemetryCoreRecorder.CosmosDb);
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.ClientId, clientContext?.Client?.Id);
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.ConnectionMode, this.connectionModeCache);
+ this.activityAttributePopulator.PopulateAttributes(this.scope,
+ operationName,
+ databaseName,
+ containerName,
+ clientContext.Client?.Endpoint,
+ clientContext.UserAgent,
+ VmMetadataApiHandler.GetMachineId(),
+ clientContext?.Client?.Id,
+ this.connectionModeCache);
}
}
@@ -196,14 +193,7 @@ public void MarkFailed(Exception exception)
{
if (this.IsEnabled)
{
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.ExceptionStacktrace, exception.StackTrace);
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.ExceptionType, exception.GetType().Name);
-
- // If Exception is not registered with open Telemetry
- if (!OpenTelemetryCoreRecorder.IsExceptionRegistered(exception, this.scope))
- {
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.ExceptionMessage, exception.Message);
- }
+ this.activityAttributePopulator.PopulateAttributes(this.scope, exception);
if (exception is not CosmosException || (exception is CosmosException cosmosException
&& !DiagnosticsFilterHelper
@@ -242,53 +232,13 @@ public void Dispose()
{
OperationType operationType
= (this.response == null || this.response?.OperationType == OperationType.Invalid) ? this.operationType : this.response.OperationType;
- if (otelStabilityMode != OpenTelemetryStablityModes.DatabaseDupe)
- {
- string operationName = Enum.GetName(typeof(OperationType), operationType);
- this.scope.AddAttribute(AppInsightClassicAttributeKeys.OperationType, operationName);
- }
+ string operationTypeName = Enum.GetName(typeof(OperationType), operationType);
if (this.response != null)
{
- if (this.response.BatchSize is not null)
- {
- this.scope.AddIntegerAttribute(OpenTelemetryAttributeKeys.BatchSize, (int)this.response.BatchSize);
- }
+ this.activityAttributePopulator.PopulateAttributes(this.scope, this.queryTextMode, operationTypeName, this.response);
- if (otelStabilityMode == OpenTelemetryStablityModes.DatabaseDupe)
- {
- this.scope.AddIntegerAttribute(OpenTelemetryAttributeKeys.StatusCode, (int)this.response.StatusCode);
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.RequestContentLength, this.response.RequestContentLength);
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.ResponseContentLength, this.response.ResponseContentLength);
- }
- else
- {
- this.scope.AddAttribute(AppInsightClassicAttributeKeys.RequestContentLength, this.response.RequestContentLength);
- this.scope.AddAttribute(AppInsightClassicAttributeKeys.ResponseContentLength, this.response.ResponseContentLength);
- this.scope.AddIntegerAttribute(AppInsightClassicAttributeKeys.StatusCode, (int)this.response.StatusCode);
- }
-
- this.scope.AddIntegerAttribute(OpenTelemetryAttributeKeys.SubStatusCode, this.response.SubStatusCode);
- this.scope.AddIntegerAttribute(OpenTelemetryAttributeKeys.RequestCharge, (int)this.response.RequestCharge);
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.ItemCount, this.response.ItemCount);
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.ActivityId, this.response.ActivityId);
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.CorrelatedActivityId, this.response.CorrelatedActivityId);
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.ConsistencyLevel, this.response.ConsistencyLevel);
-
- if (this.response.QuerySpec is not null)
- {
- if (this.queryTextMode == QueryTextMode.All ||
- (this.queryTextMode == QueryTextMode.ParameterizedOnly && this.response.QuerySpec.ShouldSerializeParameters()))
- {
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.QueryText, this.response.QuerySpec?.QueryText);
- }
- }
-
- if (this.response.Diagnostics != null)
- {
- this.scope.AddAttribute(OpenTelemetryAttributeKeys.Region, ClientTelemetryHelper.GetContactedRegions(this.response.Diagnostics.GetContactedRegions()));
- CosmosDbEventSource.RecordDiagnosticsForRequests(this.config, operationType, this.response);
- }
+ CosmosDbEventSource.RecordDiagnosticsForRequests(this.config, operationType, this.response);
if (!DiagnosticsFilterHelper.IsSuccessfulResponse(this.response.StatusCode, this.response.SubStatusCode))
{
diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryStablityModes.cs b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryStablityModes.cs
index b73b40fd00..8b31b1015c 100644
--- a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryStablityModes.cs
+++ b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryStablityModes.cs
@@ -18,5 +18,10 @@ internal sealed class OpenTelemetryStablityModes
/// emit both the old and the stable database conventions, allowing for a seamless transition.
///
public const string DatabaseDupe = "database/dup";
+
+ ///
+ /// Environment Variable to support the classic AppInsight conventions
+ ///
+ public const string ClassicAppInsights = "appinsightssdk";
}
}
diff --git a/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/TracesStabilityFactory.cs b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/TracesStabilityFactory.cs
new file mode 100644
index 0000000000..4339e336b3
--- /dev/null
+++ b/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/TracesStabilityFactory.cs
@@ -0,0 +1,35 @@
+//------------------------------------------------------------
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//------------------------------------------------------------
+
+namespace Microsoft.Azure.Cosmos.Telemetry.OpenTelemetry
+{
+ using System;
+ using global::Azure.Core;
+
+ ///
+ /// Factory for handling telemetry trace stability modes, allowing attribute settings
+ /// based on environment-specified stability mode configurations.
+ ///
+ internal static class TracesStabilityFactory
+ {
+ // Specifies the stability mode for telemetry attributes, configured via the OTEL_SEMCONV_STABILITY_OPT_IN environment variable.
+ private static string otelStabilityMode = Environment.GetEnvironmentVariable("OTEL_SEMCONV_STABILITY_OPT_IN");
+
+ public static IActivityAttributePopulator GetAttributePopulator()
+ {
+ return otelStabilityMode switch
+ {
+ OpenTelemetryStablityModes.Database => new OpenTelemetryAttributeKeys(),
+ OpenTelemetryStablityModes.DatabaseDupe => new DatabaseDupAttributeKeys(),
+ OpenTelemetryStablityModes.ClassicAppInsights => new AppInsightClassicAttributeKeys(),
+ _ => new OpenTelemetryAttributeKeys()
+ };
+ }
+
+ internal static void RefreshStabilityMode()
+ {
+ otelStabilityMode = Environment.GetEnvironmentVariable("OTEL_SEMCONV_STABILITY_OPT_IN");
+ }
+ }
+}
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 3f9108ecdd..a2f76a3dc6 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,23 +142,31 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
execute_batch
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ execute_batch
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
- 90
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ 90
+ Some Value
+ Some Value
400/1001
@@ -295,23 +303,31 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
execute_batch
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ execute_batch
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
- 50
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ 50
+ Some Value
+ Some Value
400/1001
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 5d0d1709a1..6b84642855 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,182 +166,252 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
@@ -503,182 +573,252 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
@@ -840,182 +980,252 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
@@ -1177,182 +1387,252 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
@@ -1514,182 +1794,252 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
@@ -1851,182 +2201,252 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
@@ -2188,182 +2608,252 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
@@ -2525,182 +3015,252 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
@@ -2862,182 +3422,252 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
@@ -3199,182 +3829,252 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
@@ -4153,15 +4853,21 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
bulk_create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ bulk_create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -4169,9 +4875,9 @@
Some Value
Some Value
Microsoft.Azure.Cosmos.CosmosException
- Some Value
+
\ No newline at end of file
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 fcde6d95da..2b4581ce7f 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,97 +1026,132 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
@@ -1772,97 +1807,132 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
@@ -2499,97 +2569,132 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
@@ -3246,97 +3351,132 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_change_feed
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_change_feed
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
@@ -3647,20 +3787,27 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
get_change_feed_processor_estimate
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ get_change_feed_processor_estimate
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
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 905a0b6fcb..a98f6988cd 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,36 +120,48 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
delete_database
miscdbcustonhandler
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ delete_database
+ miscdbcustonhandler
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
create_database
miscdbcustonhandler
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ create_database
+ miscdbcustonhandler
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
@@ -261,37 +273,49 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
delete_database
miscdbdataplane
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ delete_database
+ miscdbdataplane
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Session
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
create_database
miscdbdataplane
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ create_database
+ miscdbdataplane
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ Some Value
Session
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 cb00f7ddbd..47aa4392eb 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,15 +161,21 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -178,9 +184,9 @@
South Central US
Some Value
Microsoft.Azure.Cosmos.CosmosException
- Some Value
+
@@ -438,15 +444,21 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -455,9 +467,9 @@
South Central US
Some Value
Microsoft.Azure.Cosmos.CosmosException
- Some Value
+
@@ -693,15 +705,21 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -710,9 +728,9 @@
South Central US
Some Value
Microsoft.Azure.Cosmos.CosmosException
- Some Value
+
@@ -980,15 +998,21 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -997,9 +1021,9 @@
South Central US
Some Value
Microsoft.Azure.Cosmos.CosmosException
- Some Value
+
@@ -1331,15 +1355,21 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -1348,9 +1378,9 @@
South Central US
Some Value
Microsoft.Azure.Cosmos.CosmosException
- Some Value
+
@@ -1515,15 +1545,21 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -1532,9 +1568,9 @@
South Central US
Some Value
Microsoft.Azure.Cosmos.CosmosException
- Some Value
+
\ No newline at end of file
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 7cfb1f4ac3..0d371581f4 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,90 +613,122 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
@@ -1338,90 +1370,122 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
@@ -2044,90 +2108,122 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
@@ -2770,90 +2866,122 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c WHERE c.id != @customIdentifier
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c WHERE c.id != @customIdentifier
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c WHERE c.id != @customIdentifier
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c WHERE c.id != @customIdentifier
- South Central US
@@ -3570,90 +3698,122 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
@@ -4285,90 +4445,122 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
@@ -5020,90 +5212,122 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
query_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ query_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
+ South Central US
+ Some Value
+ Some Value
Some Value
SELECT * FROM c
- South Central US
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 d8390b81a0..6c1e32becb 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,15 +579,21 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_feed_ranges
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_feed_ranges
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -595,19 +601,27 @@
Some Value
Some Value
South Central US
+ Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_feed_ranges
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_feed_ranges
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -615,19 +629,27 @@
Some Value
Some Value
South Central US
+ Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_feed_ranges
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_feed_ranges
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -635,19 +657,27 @@
Some Value
Some Value
South Central US
+ Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_feed_ranges
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_feed_ranges
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -655,6 +685,8 @@
Some Value
Some Value
South Central US
+ Some Value
+ Some Value
@@ -1262,15 +1294,21 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_feed_ranges
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_feed_ranges
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -1278,19 +1316,27 @@
Some Value
Some Value
South Central US
+ Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_feed_ranges
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_feed_ranges
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -1298,19 +1344,27 @@
Some Value
Some Value
South Central US
+ Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_feed_ranges
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_feed_ranges
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -1318,19 +1372,27 @@
Some Value
Some Value
South Central US
+ Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_feed_ranges
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_feed_ranges
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -1338,6 +1400,8 @@
Some Value
Some Value
South Central US
+ Some Value
+ Some Value
@@ -1926,15 +1990,21 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_feed_ranges
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_feed_ranges
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -1942,19 +2012,27 @@
Some Value
Some Value
South Central US
+ Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_feed_ranges
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_feed_ranges
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -1962,19 +2040,27 @@
Some Value
Some Value
South Central US
+ Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_feed_ranges
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_feed_ranges
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -1982,19 +2068,27 @@
Some Value
Some Value
South Central US
+ Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_feed_ranges
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_feed_ranges
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -2002,6 +2096,8 @@
Some Value
Some Value
South Central US
+ Some Value
+ Some Value
@@ -2610,15 +2706,21 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_feed_ranges
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_feed_ranges
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -2626,19 +2728,27 @@
Some Value
Some Value
South Central US
+ Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_feed_ranges
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_feed_ranges
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -2646,19 +2756,27 @@
Some Value
Some Value
South Central US
+ Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_feed_ranges
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_feed_ranges
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -2666,19 +2784,27 @@
Some Value
Some Value
South Central US
+ Some Value
+ Some Value
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_feed_ranges
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_feed_ranges
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
@@ -2686,6 +2812,8 @@
Some Value
Some Value
South Central US
+ Some Value
+ Some Value
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 b5bccf3a1a..9c691e5cdc 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,20 +554,27 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_many_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_many_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
@@ -1139,20 +1146,27 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_many_items
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_many_items
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
South Central US
+ Some Value
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 bc9904d7c4..db2f862cce 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,22 +102,29 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
- Session
South Central US
+ Some Value
+ Session
@@ -219,22 +226,29 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
- Session
South Central US
+ Some Value
+ Session
@@ -344,22 +358,29 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
replace_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ replace_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
- Session
South Central US
+ Some Value
+ Session
@@ -464,22 +485,29 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
delete_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ delete_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
- Session
South Central US
+ Some Value
+ Session
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 817f8276b3..d2efb0b938 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,22 +122,29 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
create_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ create_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
- Session
South Central US
+ Some Value
+ Session
@@ -244,22 +251,29 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
read_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ read_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
- Session
South Central US
+ Some Value
+ Session
@@ -379,22 +393,29 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
replace_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ replace_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
- Session
South Central US
+ Some Value
+ Session
@@ -503,22 +524,29 @@
Microsoft.DocumentDB
https://opentelemetry.io/schemas/1.23.0
+ cosmosdb
delete_item
databaseName
containerName
127.0.0.1
Some Value
Some Value
- cosmosdb
Some Value
- Direct
+ direct
+ delete_item
+ databaseName
+ containerName
+ 127.0.0.1
+ Some Value
+ Some Value
Some Value
Some Value
Some Value
Some Value
Some Value
- Session
South Central US
+ Some Value
+ Session
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 795e78b7df..f858f9cffb 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
@@ -41,6 +41,7 @@ public static void IsValidOperationActivity(Activity activity)
"db.namespace",
"db.operation.name",
"server.address",
+ "server.port",
"db.cosmosdb.client_id",
"user_agent.original",
"db.cosmosdb.connection_mode",
@@ -51,8 +52,8 @@ public static void IsValidOperationActivity(Activity activity)
"db.cosmosdb.sub_status_code",
"db.cosmosdb.request_charge",
"db.cosmosdb.regions_contacted",
- "db.cosmosdb.item_count",
- "db.operation.batch_size",
+ "db.cosmosdb.row_count",
+ "db.operation.batch.size",
"db.cosmosdb.activity_id",
"db.cosmosdb.correlated_activity_id",
"db.cosmosdb.consistency_level",
@@ -70,7 +71,8 @@ public static void IsValidOperationActivity(Activity activity)
AppInsightClassicAttributeKeys.MachineId,
AppInsightClassicAttributeKeys.OperationType,
AppInsightClassicAttributeKeys.ResponseContentLength,
- AppInsightClassicAttributeKeys.RequestContentLength
+ AppInsightClassicAttributeKeys.RequestContentLength,
+ AppInsightClassicAttributeKeys.ItemCount
};
foreach (KeyValuePair actualTag in activity.TagObjects)
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 ac5f95929f..2dadc94908 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
@@ -43,7 +43,7 @@ internal class CustomListener :
"db.cosmosdb.connection_mode",
"db.cosmosdb.regions_contacted",
"db.cosmosdb.consistency_level",
- "db.operation.batch_size",
+ "db.operation.batch.size",
"db.query.text",
"error.type",
AppInsightClassicAttributeKeys.ContainerName,
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 5e3f119522..38a74a8edb 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
@@ -21,6 +21,7 @@ namespace Microsoft.Azure.Cosmos.EmulatorTests.Tracing
using Microsoft.Azure.Cosmos.Diagnostics;
using Microsoft.Azure.Cosmos.SDK.EmulatorTests;
using Microsoft.Azure.Cosmos.Services.Management.Tests.BaselineTest;
+ using Microsoft.Azure.Cosmos.Telemetry;
using Microsoft.Azure.Cosmos.Tests;
using Microsoft.Azure.Cosmos.Tracing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
@@ -50,6 +51,8 @@ public sealed class EndToEndTraceWriterBaselineTests : BaselineTests Console.WriteLine($"{tag.Key} : {tag.Value}"));
+ if (stabilityMode == OpenTelemetryStablityModes.Database)
+ {
+ Assert.AreEqual(23, tagCollection.Count);
+ VerifyNewAttributesOnly(tagCollection);
+ }
+ else if (stabilityMode == OpenTelemetryStablityModes.DatabaseDupe)
+ {
+ Assert.AreEqual(34, tagCollection.Count);
+ VerifyNewAndOldAttributes(tagCollection);
+ }
+ else if (stabilityMode == OpenTelemetryStablityModes.ClassicAppInsights)
+ {
+ Assert.AreEqual(20, tagCollection.Count);
+ VerifyOldAttributes(tagCollection);
+ }
+ else
+ {
+ Assert.AreEqual(23, tagCollection.Count);
+ VerifyNewAttributesOnly(tagCollection);
+ }
+ }
+
+ private static ActivityTagsCollection GetTagCollection(DiagnosticScope scope)
+ {
+ var activityAdaptor = typeof(DiagnosticScope)
+ .GetField("_activityAdapter", BindingFlags.NonPublic | BindingFlags.Instance)
+ .GetValue(scope);
+ return activityAdaptor?.GetType()
+ .GetField("_tagCollection", BindingFlags.NonPublic | BindingFlags.Instance)
+ .GetValue(activityAdaptor) as ActivityTagsCollection;
+ }
+
+ private static void VerifyNewAttributesOnly(ActivityTagsCollection tagCollection)
+ {
+ Assert.AreEqual("Microsoft.DocumentDB", tagCollection["az.namespace"]);
+ Assert.AreEqual("operationName", tagCollection[OpenTelemetryAttributeKeys.DbOperation]);
+ Assert.AreEqual("databaseName", tagCollection[OpenTelemetryAttributeKeys.DbName]);
+ Assert.AreEqual("containerName", tagCollection[OpenTelemetryAttributeKeys.ContainerName]);
+ Assert.AreEqual("accountname", tagCollection[OpenTelemetryAttributeKeys.ServerAddress]);
+ Assert.AreEqual(443, tagCollection[OpenTelemetryAttributeKeys.ServerPort]);
+ Assert.AreEqual("userAgent", tagCollection[OpenTelemetryAttributeKeys.UserAgent]);
+ Assert.AreEqual("clientId", tagCollection[OpenTelemetryAttributeKeys.ClientId]);
+ Assert.AreEqual("gateway", tagCollection[OpenTelemetryAttributeKeys.ConnectionMode]);
+ Assert.AreEqual("Exception", tagCollection[OpenTelemetryAttributeKeys.ExceptionType]);
+ Assert.AreEqual(ExceptionMessage, tagCollection[OpenTelemetryAttributeKeys.ExceptionMessage]);
+ Assert.AreEqual(5, tagCollection[OpenTelemetryAttributeKeys.BatchSize]);
+ Assert.AreEqual(200, tagCollection[OpenTelemetryAttributeKeys.StatusCode]);
+ Assert.AreEqual(0, tagCollection[OpenTelemetryAttributeKeys.SubStatusCode]);
+ Assert.AreEqual(1, tagCollection[OpenTelemetryAttributeKeys.RequestCharge]);
+ Assert.AreEqual("100", tagCollection[OpenTelemetryAttributeKeys.RequestContentLength]);
+ Assert.AreEqual("200", tagCollection[OpenTelemetryAttributeKeys.ResponseContentLength]);
+ Assert.AreEqual("10", tagCollection[OpenTelemetryAttributeKeys.ItemCount]);
+ Assert.AreEqual("dummyActivityId", tagCollection[OpenTelemetryAttributeKeys.ActivityId]);
+ Assert.AreEqual("dummyCorrelatedActivityId", tagCollection[OpenTelemetryAttributeKeys.CorrelatedActivityId]);
+ Assert.AreEqual("Strong", tagCollection[OpenTelemetryAttributeKeys.ConsistencyLevel]);
+ Assert.AreEqual("SELECT * FROM c", tagCollection[OpenTelemetryAttributeKeys.QueryText]);
+ Assert.AreEqual("France Central", tagCollection[OpenTelemetryAttributeKeys.Region]);
+ }
+
+ private static void VerifyNewAndOldAttributes(ActivityTagsCollection tagCollection)
+ {
+ VerifyNewAttributesOnly(tagCollection);
+ VerifyOldAttributes(tagCollection);
+ }
+
+ private static void VerifyOldAttributes(ActivityTagsCollection tagCollection)
+ {
+ Assert.AreEqual("Microsoft.DocumentDB", tagCollection["az.namespace"]);
+ Assert.AreEqual("operationName", tagCollection[AppInsightClassicAttributeKeys.DbOperation]);
+ Assert.AreEqual("databaseName", tagCollection[AppInsightClassicAttributeKeys.DbName]);
+ Assert.AreEqual("containerName", tagCollection[AppInsightClassicAttributeKeys.ContainerName]);
+ Assert.AreEqual("accountname", tagCollection[AppInsightClassicAttributeKeys.ServerAddress]);
+ Assert.AreEqual("userAgent", tagCollection[AppInsightClassicAttributeKeys.UserAgent]);
+ Assert.AreEqual("machineId", tagCollection[AppInsightClassicAttributeKeys.MachineId]);
+ Assert.AreEqual("clientId", tagCollection[AppInsightClassicAttributeKeys.ClientId]);
+ Assert.AreEqual("gateway", tagCollection[AppInsightClassicAttributeKeys.ConnectionMode]);
+ Assert.AreEqual("Exception", tagCollection[AppInsightClassicAttributeKeys.ExceptionType]);
+ Assert.AreEqual(ExceptionMessage, tagCollection[AppInsightClassicAttributeKeys.ExceptionMessage]);
+ Assert.AreEqual(200, tagCollection[AppInsightClassicAttributeKeys.StatusCode]);
+ Assert.AreEqual(0, tagCollection[AppInsightClassicAttributeKeys.SubStatusCode]);
+ Assert.AreEqual(1, tagCollection[AppInsightClassicAttributeKeys.RequestCharge]);
+ Assert.AreEqual("100", tagCollection[AppInsightClassicAttributeKeys.RequestContentLength]);
+ Assert.AreEqual("200", tagCollection[AppInsightClassicAttributeKeys.ResponseContentLength]);
+ Assert.AreEqual("10", tagCollection[AppInsightClassicAttributeKeys.ItemCount]);
+ Assert.AreEqual("dummyActivityId", tagCollection[AppInsightClassicAttributeKeys.ActivityId]);
+ Assert.AreEqual("France Central", tagCollection[AppInsightClassicAttributeKeys.Region]);
+ Assert.AreEqual("operationType", tagCollection[AppInsightClassicAttributeKeys.OperationType]);
+ }
+
+ [TestCleanup]
+ public void TestCleanup()
+ {
+ Environment.SetEnvironmentVariable(StabilityEnvVariableName, null);
+ }
+
+ internal class NoOpListener :
+ EventListener,
+ IObserver>,
+ IObserver,
+ IDisposable
+ {
+ private readonly ConcurrentBag subscriptions = new();
+
+ public NoOpListener()
+ {
+ DiagnosticListener.AllListeners.Subscribe(this);
+ }
+
+ public void OnCompleted() { }
+ public void OnError(Exception error) { }
+ public void OnNext(KeyValuePair value) { }
+ public void OnNext(DiagnosticListener value)
+ {
+ IDisposable subscriber = value.Subscribe(this, isEnabled: _ => true);
+ this.subscriptions.Add(subscriber);
+ }
+
+ public override void Dispose()
+ {
+ base.Dispose();
+ foreach (IDisposable subscription in this.subscriptions)
+ {
+ subscription.Dispose();
+ }
+ }
+ }
+ }
+}
diff --git a/docs/observability.md b/docs/observability.md
index 07bd76e4c0..66860ecc53 100644
--- a/docs/observability.md
+++ b/docs/observability.md
@@ -40,6 +40,30 @@ flowchart TD
```
+### OpenTelemetry Versioning and Stability Modes
+
+Our SDK follows the versioning guidelines outlined in the [OpenTelemetry Semantic Conventions documentation](https://opentelemetry.io/docs/specs/semconv/database/).
+
+When configuring the `OTEL_SEMCONV_STABILITY_OPT_IN` environment variable, the following options determine the attributes emitted by the SDK:
+
+1. **`database`**:
+ - The SDK emits all attributes as per the OpenTelemetry database semantic conventions outlined [here](https://opentelemetry.io/docs/specs/semconv/database/cosmosdb/).
+ - Refer to the [list of OpenTelemetry attributes emitted by the SDK](https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributeKeys.cs).
+
+2. **`database/dup`**:
+ - The SDK emits attributes that follow both OpenTelemetry database semantic conventions, available [here](https://opentelemetry.io/docs/specs/semconv/database/cosmosdb/), and additional attributes supported by the Classic Application Insights SDK.
+ - For a complete attribute list, refer to the OpenTelemetry attributes [here](https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributeKeys.cs) and Classic Application Insights attributes [here](https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/AppInsightClassicAttributeKeys.cs).
+
+3. **`default`**:
+ - This mode functions similarly to `database`, emitting attributes that adhere to the OpenTelemetry database semantic conventions.
+ - View the full [attribute list emitted by the SDK](https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/OpenTelemetryAttributeKeys.cs).
+
+4. **`appinsightssdk`**:
+ - The SDK emits only those attributes supported by the Classic Application Insights SDK.
+ - For a comprehensive list of attributes, refer [here](https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/Microsoft.Azure.Cosmos/src/Telemetry/OpenTelemetry/AppInsightClassicAttributeKeys.cs).
+
+Choose the appropriate mode to align with your telemetry requirements.
+
## Send telemetry from SDK to service (Private Preview)
### Introduction