Analytic/meromorphic continuation is a difficult problem in general. For "motivic L-functions", the idea of proving their analytic continuations by first proving their modularity goes back, I guess, to Riemann.
Here I just want to ask a purely complex-analytic question. Let's restrict ourselves to the case of one variable functions. Let $U$ be a region in the complex plane, and let $f$ be a holomorphic function on $U.$ Is there any criterion for $f$ to have analytic continuation to a larger region? And what is this "maximal domain of regularity"?
Feel free to assume $U$ and $f$ to have the shape you like, e.g. a power series on an open disk or a Dirichlet series on some half plane. I guess even if $U$ is an annulus or a punctured disk, where one can compute (theoretically or numerically) the value of the extended function (if exists) at the points inside the inner loop by Cauchy's formula, it is still difficult to decide if this extension is continuous or analytic.