You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <returns>The <paramref name="builder"/> to support fluent-style method-chaining.</returns>
/// <remarks>Deliberately does <b>not</b> register <see cref="CoreEx.Cosmos.Extended.CosmosDbInvoker"/>/<see cref="CoreEx.Cosmos.Extended.CosmosDbUnitOfWorkInvoker"/> as tracing sources - both disable tracing
/// themselves (<c>IsTracingDisabled</c>) since CRUD/unit-of-work operations are high-frequency; registering their (never-emitted) source would be dead weight. Only <see cref="CoreEx.Cosmos.Outbox.CosmosDbOutboxRelayInvoker"/>
/// is registered, mirroring <c>WithCoreExPostgresTelemetry</c>/<c>WithCoreExSqlServerTelemetry</c>'s relay-only tracing choice.</remarks>
public static OpenTelemetryBuilder WithCoreExCosmosDbTelemetry(this OpenTelemetryBuilder builder) => builder.ThrowIfNull()
.WithCoreExEventsSources() // Included here as they are leveraged by the Cosmos DB Outbox capabilities.