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
@@ -155,6 +155,7 @@ private GenericDbClientSpanNameExtractor(DbClientAttributesGetter<REQUEST, ?> ge
155
155
this.getter = getter;
156
156
}
157
157
158
+
@SuppressWarnings("deprecation") // getDbName is used for old semconv span names
158
159
@Override
159
160
publicStringextract(REQUESTrequest) {
160
161
if (emitStableDatabaseSemconv()) {
@@ -165,9 +166,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
@@ -61,30 +61,42 @@ public final class JdbcAttributesGetter implements SqlClientAttributesGetter<DbR
0 commit comments