You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: instrumentation-api-incubator/src/main/java/io/opentelemetry/instrumentation/api/incubator/semconv/db/DbClientAttributesExtractor.java
Copy file name to clipboardExpand all lines: instrumentation-api-incubator/src/main/java/io/opentelemetry/instrumentation/api/incubator/semconv/db/DbClientAttributesGetter.java
Copy file name to clipboardExpand all lines: instrumentation-api-incubator/src/main/java/io/opentelemetry/instrumentation/api/incubator/semconv/db/DbClientSpanNameExtractor.java
+13-9Lines changed: 13 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -152,6 +152,7 @@ private GenericDbClientSpanNameExtractor(DbClientAttributesGetter<REQUEST, ?> ge
152
152
this.getter = getter;
153
153
}
154
154
155
+
@SuppressWarnings("deprecation") // getDbName is used for old semconv span names
155
156
@Override
156
157
publicStringextract(REQUESTrequest) {
157
158
if (emitStableDatabaseSemconv()) {
@@ -162,9 +163,9 @@ public String extract(REQUEST request) {
Copy file name to clipboardExpand all lines: instrumentation-api-incubator/src/test/java/io/opentelemetry/instrumentation/api/incubator/semconv/db/DbClientSpanNameExtractorTest.java
Copy file name to clipboardExpand all lines: instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/internal/DataSourceDbAttributesExtractor.java
Copy file name to clipboardExpand all lines: instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/internal/JdbcAttributesGetter.java
+19-7Lines changed: 19 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -19,30 +19,42 @@ public final class JdbcAttributesGetter implements SqlClientAttributesGetter<DbR
0 commit comments