Skip to content

Commit

Permalink
Fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
e5l committed Oct 31, 2024
1 parent 53ba03a commit 4b7ea34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ public static class ConstructorAdvice {

@Advice.OnMethodExit
public static void onExit(@Advice.FieldValue("_applicationInstance") Application application) {
ApplicationPluginKt.install(application, KtorServerTracingKt.getKtorServerTracing(), new SetupFunction());
ApplicationPluginKt.install(
application, KtorServerTracingKt.getKtorServerTracing(), new SetupFunction());
}
}

public static class SetupFunction
implements Function1<KtorServerTracingBuilder, kotlin.Unit> {
public static class SetupFunction implements Function1<KtorServerTracingBuilder, kotlin.Unit> {

@Override
public Unit invoke(KtorServerTracingBuilder configuration) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ package io.opentelemetry.instrumentation.ktor.v3_0.server

import io.ktor.server.application.*
import io.ktor.server.routing.*
import io.ktor.server.routing.RoutingRoot.Plugin.RoutingCallStarted
import io.opentelemetry.context.Context
import io.opentelemetry.instrumentation.api.semconv.http.HttpServerRoute
import io.opentelemetry.instrumentation.api.semconv.http.HttpServerRouteSource
import io.opentelemetry.instrumentation.ktor.v2_0.server.KtorServerTracing
import io.opentelemetry.instrumentation.testing.junit.InstrumentationExtension
import io.opentelemetry.instrumentation.testing.junit.http.HttpServerInstrumentationExtension
Expand Down

0 comments on commit 4b7ea34

Please sign in to comment.