You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently operating A and B services on Jaeger via Spring Cloud Gateway.
However, when A service calls B service using Feign Client, even though I registered the configuration in the Bean, the Jaeger UI does consider Feign Client calls as a single
Am I missing something?
@Bean
public static JaegerTracer getTracer() {
io.jaegertracing.Configuration.SamplerConfiguration samplerConfig =
io.jaegertracing.Configuration.SamplerConfiguration.fromEnv().withType("const").withParam(1);
io.jaegertracing.Configuration.ReporterConfiguration reporterConfig =
io.jaegertracing.Configuration.ReporterConfiguration.fromEnv().withLogSpans(true);
io.jaegertracing.Configuration config = new io.jaegertracing.Configuration("vehicle").withSampler(samplerConfig).withReporter(reporterConfig);
return config.getTracer();
}
@PostConstruct
public void setProperty() {
System.setProperty("JAEGER_REPORTER_LOG_SPANS", "true");
}`
@Bean
public Client feignClient() {
return new Client.Default(null, null);
}`
The text was updated successfully, but these errors were encountered:
I'm currently operating A and B services on Jaeger via Spring Cloud Gateway.
However, when A service calls B service using Feign Client, even though I registered the configuration in the Bean, the Jaeger UI does consider Feign Client calls as a single
Am I missing something?
The text was updated successfully, but these errors were encountered: