Skip to content

Commit

Permalink
Add liberty base version (#6456)
Browse files Browse the repository at this point in the history
* Add liberty base version

* instrumentation name too
  • Loading branch information
trask authored Aug 10, 2022
1 parent 60ec2bb commit 3ed6fd9
Show file tree
Hide file tree
Showing 16 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import javax.servlet.http.HttpServletResponse;

public final class LibertySingletons {
private static final String INSTRUMENTATION_NAME = "io.opentelemetry.liberty";
private static final String INSTRUMENTATION_NAME = "io.opentelemetry.liberty-20.0";

private static final Instrumenter<
ServletRequestContext<HttpServletRequest>, ServletResponseContext<HttpServletResponse>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import io.opentelemetry.javaagent.bootstrap.internal.CommonConfig;

public final class LibertyDispatcherSingletons {
private static final String INSTRUMENTATION_NAME = "io.opentelemetry.liberty-dispatcher";
private static final String INSTRUMENTATION_NAME = "io.opentelemetry.liberty-dispatcher-20.0";

private static final Instrumenter<LibertyRequest, LibertyResponse> INSTRUMENTER;

Expand Down
4 changes: 2 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ include(":instrumentation:lettuce:lettuce-5.1:javaagent")
include(":instrumentation:lettuce:lettuce-5.1:library")
include(":instrumentation:lettuce:lettuce-5.1:testing")
include(":instrumentation:liberty:compile-stub")
include(":instrumentation:liberty:liberty:javaagent")
include(":instrumentation:liberty:liberty-dispatcher:javaagent")
include(":instrumentation:liberty:liberty-20.0:javaagent")
include(":instrumentation:liberty:liberty-dispatcher-20.0:javaagent")
include(":instrumentation:log4j:log4j-appender-1.2:javaagent")
include(":instrumentation:log4j:log4j-mdc-1.2:javaagent")
include(":instrumentation:log4j:log4j-context-data:log4j-context-data-2.7:javaagent")
Expand Down

0 comments on commit 3ed6fd9

Please sign in to comment.