Skip to content

Commit

Permalink
delete: unused code
Browse files Browse the repository at this point in the history
* This was copied from sample code, doesn't seem to be needed for UAA.
  • Loading branch information
swalchemist authored and Tallicia committed Aug 23, 2023
1 parent c94c5bc commit 2af7ad0
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ public class TracingAutoConfiguration {
.build();
}

/** Allows someone to add tags to a span if a trace is in progress. */
@Bean SpanCustomizer spanCustomizer(Tracing tracing) {
return CurrentSpanCustomizer.create(tracing);
}

/** Decides how to name and tag spans. By default they are named the same as the http method. */
@Bean HttpTracing httpTracing(Tracing tracing) {
return HttpTracing.create(tracing);
Expand All @@ -68,16 +63,5 @@ public class TracingAutoConfiguration {
@Bean Filter tracingFilter(HttpTracing httpTracing) {
return TracingFilter.create(httpTracing);
}

/** Adds MVC Controller tags to server spans */
@Bean WebMvcConfigurer tracingWebMvcConfigurer(
final SpanCustomizingAsyncHandlerInterceptor webMvcTracingCustomizer) {
return new WebMvcConfigurerAdapter() {
/** Adds application-defined web controller details to HTTP server spans */
@Override public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(webMvcTracingCustomizer);
}
};
}
}

0 comments on commit 2af7ad0

Please sign in to comment.