Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.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 boot Jaeger日志警告消息说没有可用的发件人工厂_Spring Boot_Jaeger - Fatal编程技术网

Spring boot Jaeger日志警告消息说没有可用的发件人工厂

Spring boot Jaeger日志警告消息说没有可用的发件人工厂,spring-boot,jaeger,Spring Boot,Jaeger,我正在尝试设置Jaeger以从spring boot应用程序收集跟踪。当我的应用程序启动时,我收到此警告消息 警告io.jaegertracing.internal.senders.SenderResolver-没有可用的发送器工厂。使用NoopSender,意味着数据不会被发送到任何地方 我使用这个方法来获得jaeger追踪程序 @豆子 跟踪程序jaegerTracer(@Value(defaulTraceName)字符串服务) { SamplerConfiguration samplerC

我正在尝试设置Jaeger以从spring boot应用程序收集跟踪。当我的应用程序启动时,我收到此警告消息

警告io.jaegertracing.internal.senders.SenderResolver-没有可用的发送器工厂。使用NoopSender,意味着数据不会被发送到任何地方

我使用这个方法来获得jaeger追踪程序


@豆子
跟踪程序jaegerTracer(@Value(defaulTraceName)字符串服务)
{
SamplerConfiguration samplerConfig=SamplerConfiguration.fromEnv().withType(“const”).withParam(1);
ReporterConfiguration ReporterConfiguration=ReporterConfiguration.fromEnv(),带LogSpans(true);
配置配置=新配置(服务)。带采样器(采样器配置)。带报告器(报告器配置);
我已经手动检测了代码,但是jaeger UI中没有显示任何跟踪。我已经被这个问题困扰了几天了,如果您能提供帮助,我将不胜感激


在我的pom文件中,通过在jaeger thrift上的pom文件中添加依赖项,我解决了对jaeger core和opentracing api的依赖项

    return config.getTracer();
}