Skip to content

Commit

Permalink
invoking original method connect
Browse files Browse the repository at this point in the history
  • Loading branch information
IshikaDawda committed Aug 6, 2024
1 parent 6d33747 commit b327ef8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public abstract class Connection_Instrumentation {
public abstract String getHost();

public void connect() {
Weaver.callOriginal();
try {
NewRelicSecurity.getAgent().recordExternalConnection(getHost(), getPort(), null, getSocket().getInetAddress().getHostAddress(), ExternalConnectionType.DATABASE_CONNECTION.name(), "JEDIS-2.7.1");
} catch (Exception e) {
Expand Down

0 comments on commit b327ef8

Please sign in to comment.