Add "hibernate" as the primary instrumentation name
MODIFY
dd-java-agent/instrumentation/hibernate-5/src/main/java/datadog/trace/instrumentation/hibernate5/CriteriaInstrumentation.java
dd-java-agent/instrumentation/hibernate-5/src/main/java/datadog/trace/instrumentation/hibernate5/CriteriaInstrumentation.java
@@ -23,7 +23,7 @@ import org.hibernate.Criteria;
public class CriteriaInstrumentation extends Instrumenter.Default {
public CriteriaInstrumentation() {
- super("hibernate-core");
+ super("hibernate", "hibernate-core");
}
@Override

MODIFY
dd-java-agent/instrumentation/hibernate-5/src/main/java/datadog/trace/instrumentation/hibernate5/ProcedureCallInstrumentation.java
dd-java-agent/instrumentation/hibernate-5/src/main/java/datadog/trace/instrumentation/hibernate5/ProcedureCallInstrumentation.java
@@ -22,7 +22,7 @@ import org.hibernate.procedure.ProcedureCall;
public class ProcedureCallInstrumentation extends Instrumenter.Default {
public ProcedureCallInstrumentation() {
- super("hibernate-core");
+ super("hibernate", "hibernate-core");
}
@Override

MODIFY
dd-java-agent/instrumentation/hibernate-5/src/main/java/datadog/trace/instrumentation/hibernate5/QueryInstrumentation.java
dd-java-agent/instrumentation/hibernate-5/src/main/java/datadog/trace/instrumentation/hibernate5/QueryInstrumentation.java
@@ -25,7 +25,7 @@ import org.hibernate.SQLQuery;
public class QueryInstrumentation extends Instrumenter.Default {
public QueryInstrumentation() {
- super("hibernate-core");
+ super("hibernate", "hibernate-core");
}
@Override

MODIFY
dd-java-agent/instrumentation/hibernate-5/src/main/java/datadog/trace/instrumentation/hibernate5/SessionFactoryInstrumentation.java
dd-java-agent/instrumentation/hibernate-5/src/main/java/datadog/trace/instrumentation/hibernate5/SessionFactoryInstrumentation.java
@@ -27,7 +27,7 @@ import org.hibernate.SharedSessionContract;
public class SessionFactoryInstrumentation extends Instrumenter.Default {
public SessionFactoryInstrumentation() {
- super("hibernate-core");
+ super("hibernate", "hibernate-core");
}
@Override

MODIFY
dd-java-agent/instrumentation/hibernate-5/src/main/java/datadog/trace/instrumentation/hibernate5/SessionInstrumentation.java
dd-java-agent/instrumentation/hibernate-5/src/main/java/datadog/trace/instrumentation/hibernate5/SessionInstrumentation.java
@@ -34,7 +34,7 @@ import org.hibernate.procedure.ProcedureCall;
public class SessionInstrumentation extends Instrumenter.Default {
public SessionInstrumentation() {
- super("hibernate-core");
+ super("hibernate", "hibernate-core");
}
@Override

MODIFY
dd-java-agent/instrumentation/hibernate-5/src/main/java/datadog/trace/instrumentation/hibernate5/TransactionInstrumentation.java
dd-java-agent/instrumentation/hibernate-5/src/main/java/datadog/trace/instrumentation/hibernate5/TransactionInstrumentation.java
@@ -23,7 +23,7 @@ import org.hibernate.Transaction;
public class TransactionInstrumentation extends Instrumenter.Default {
public TransactionInstrumentation() {
- super("hibernate-core");
+ super("hibernate", "hibernate-core");
}
@Override

Add "hibernate" as the primary instrumentation name