// In a traced ASP.NET Core endpoint or service method:varresult=Result<Order>.Ok(order).WithOpenTelemetry()// seed from active OTel span.WithContext(entityId:order.Id.ToString()).Bind(ValidateStock).Bind(ProcessPayment).Tap(o=>logger.LogInformation("Order {Id} processed",o.Id)).WriteErrorTagsToSpan();// on failure: push tags to span// Any error produced in Bind/Ensure automatically receives:// Entity, EntityId, CorrelationId, OperationName as tags// → those same tags land on the OTel span via WriteErrorTagsToSpan