Spring cloud sleuth 超时异常后没有报告进一步的跟踪
我将SpringCloudSleuth与GCP支持集成到一个应用程序中。在负载不足的情况下,应用程序会突然停止报告任何跨度,直到重新启动 我能看到的唯一相关跟踪日志是以下异常: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
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)