Skip to content

Commit 6576879

Browse files
committed
akka + pekko
1 parent 43d6468 commit 6576879

5 files changed

Lines changed: 3 additions & 34 deletions

File tree

instrumentation/akka/akka-http-10.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/akkahttp/v10_0/server/AkkaHttpServerInstrumentationModule.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ public AkkaHttpServerInstrumentationModule() {
2222
super("akka-http", "akka-http-10.0", "akka-http-server");
2323
}
2424

25-
@Override
26-
public String getModuleGroup() {
27-
return "akka-http";
28-
}
29-
3025
@Override
3126
public ElementMatcher.Junction<ClassLoader> classLoaderMatcher() {
3227
// in GraphInterpreterInstrumentation we instrument a class that belongs to akka-streams, make

instrumentation/akka/akka-http-10.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/akkahttp/v10_0/server/route/AkkaHttpServerRouteInstrumentationModule.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ public AkkaHttpServerRouteInstrumentationModule() {
2424
super("akka-http", "akka-http-10.0", "akka-http-server", "akka-http-server-route");
2525
}
2626

27-
@Override
28-
public String getModuleGroup() {
29-
return "akka-http";
30-
}
31-
3227
@Override
3328
public List<TypeInstrumentation> typeInstrumentations() {
3429
return asList(

instrumentation/pekko/pekko-http-1.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/pekkohttp/v1_0/server/PekkoHttpServerInstrumentationModule.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@
1111
import com.google.auto.service.AutoService;
1212
import io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule;
1313
import io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation;
14-
import io.opentelemetry.javaagent.extension.instrumentation.internal.ExperimentalInstrumentationModule;
1514
import java.util.List;
1615
import net.bytebuddy.matcher.ElementMatcher;
1716

1817
@AutoService(InstrumentationModule.class)
19-
public class PekkoHttpServerInstrumentationModule extends InstrumentationModule
20-
implements ExperimentalInstrumentationModule {
18+
public class PekkoHttpServerInstrumentationModule extends InstrumentationModule {
2119
public PekkoHttpServerInstrumentationModule() {
2220
super("pekko-http", "pekko-http-1.0", "pekko-http-server");
2321
}
@@ -30,11 +28,6 @@ public ElementMatcher.Junction<ClassLoader> classLoaderMatcher() {
3028
return hasClassesNamed("org.apache.pekko.http.scaladsl.HttpExt");
3129
}
3230

33-
@Override
34-
public String getModuleGroup() {
35-
return "pekko-server";
36-
}
37-
3831
@Override
3932
public List<TypeInstrumentation> typeInstrumentations() {
4033
return asList(

instrumentation/pekko/pekko-http-1.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/pekkohttp/v1_0/server/route/PekkoHttpServerRouteInstrumentationModule.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,18 @@
1010
import com.google.auto.service.AutoService;
1111
import io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule;
1212
import io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation;
13-
import io.opentelemetry.javaagent.extension.instrumentation.internal.ExperimentalInstrumentationModule;
1413
import java.util.List;
1514

1615
/**
1716
* This instrumentation applies to classes in pekko-http.jar while
1817
* PekkoHttpServerInstrumentationModule applies to classes in pekko-http-core.jar
1918
*/
2019
@AutoService(InstrumentationModule.class)
21-
public class PekkoHttpServerRouteInstrumentationModule extends InstrumentationModule
22-
implements ExperimentalInstrumentationModule {
20+
public class PekkoHttpServerRouteInstrumentationModule extends InstrumentationModule {
2321
public PekkoHttpServerRouteInstrumentationModule() {
2422
super("pekko-http", "pekko-http-1.0", "pekko-http-server", "pekko-http-server-route");
2523
}
2624

27-
@Override
28-
public String getModuleGroup() {
29-
return "pekko-server";
30-
}
31-
3225
@Override
3326
public List<TypeInstrumentation> typeInstrumentations() {
3427
return asList(

instrumentation/pekko/pekko-http-1.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/pekkohttp/v1_0/server/tapir/TapirPekkoHttpServerRouteInstrumentationModule.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@
1010
import com.google.auto.service.AutoService;
1111
import io.opentelemetry.javaagent.extension.instrumentation.InstrumentationModule;
1212
import io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation;
13-
import io.opentelemetry.javaagent.extension.instrumentation.internal.ExperimentalInstrumentationModule;
1413
import java.util.List;
1514

1615
@AutoService(InstrumentationModule.class)
17-
public class TapirPekkoHttpServerRouteInstrumentationModule extends InstrumentationModule
18-
implements ExperimentalInstrumentationModule {
16+
public class TapirPekkoHttpServerRouteInstrumentationModule extends InstrumentationModule {
1917
public TapirPekkoHttpServerRouteInstrumentationModule() {
2018
super(
2119
"pekko-http",
@@ -26,11 +24,6 @@ public TapirPekkoHttpServerRouteInstrumentationModule() {
2624
"tapir-pekko-http-server-route");
2725
}
2826

29-
@Override
30-
public String getModuleGroup() {
31-
return "pekko-server";
32-
}
33-
3427
@Override
3528
public List<TypeInstrumentation> typeInstrumentations() {
3629
return singletonList(new TapirPathInstrumentation());

0 commit comments

Comments
 (0)