-
Couldn't load subscription status.
- Fork 94
Open
Description
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);
}`
Metadata
Metadata
Assignees
Labels
No labels