Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/opencv/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring cloud sleuth 超时异常后没有报告进一步的跟踪_Spring Cloud Sleuth_Spring Cloud Gcp - Fatal编程技术网

Spring cloud sleuth 超时异常后没有报告进一步的跟踪

Spring cloud sleuth 超时异常后没有报告进一步的跟踪,spring-cloud-sleuth,spring-cloud-gcp,Spring Cloud Sleuth,Spring Cloud Gcp,我将SpringCloudSleuth与GCP支持集成到一个应用程序中。在负载不足的情况下,应用程序会突然停止报告任何跨度,直到重新启动 我能看到的唯一相关跟踪日志是以下异常: Unexpected error flushing spans java.lang.IllegalStateException: timeout waiting for onClose. timeoutMs=5000, resultSet=false at zipkin2.reporter.stackdrive

我将SpringCloudSleuth与GCP支持集成到一个应用程序中。在负载不足的情况下,应用程序会突然停止报告任何跨度,直到重新启动

我能看到的唯一相关跟踪日志是以下异常:

Unexpected error flushing spans java.lang.IllegalStateException: timeout waiting for onClose. timeoutMs=5000, resultSet=false
     at zipkin2.reporter.stackdriver.internal.AwaitableUnaryClientCallListener.await(AwaitableUnaryClientCallListener.java:49)
     at zipkin2.reporter.stackdriver.internal.UnaryClientCall.doExecute(UnaryClientCall.java:50)
     at zipkin2.Call$Base.execute(Call.java:380)
     at zipkin2.Call$Mapping.doExecute(Call.java:237) at zipkin2.Call$Base.execute(Call.java:380)
     at zipkin2.reporter.AsyncReporter$BoundedAsyncReporter.flush(AsyncReporter.java:285)
     at zipkin2.reporter.AsyncReporter$Flusher.run(AsyncReporter.java:354)
     at java.base/java.lang.Thread.run(Unknown Source)
这种异常在记录道结束时会发生几次,然后再也不会发生(好像有东西永久性地断裂了)

我在一期SpringCloudGCP中读到(请参阅),这可能与少数executer线程有关,因此我已经将线程数配置为8(从4)