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/DbClientAttributesGetter.java
+5-6
Original file line number
Diff line number
Diff line change
@@ -27,15 +27,14 @@ public interface DbClientAttributesGetter<REQUEST> extends DbClientCommonAttribu
27
27
@Nullable
28
28
StringgetDbNamespace(REQUESTrequest);
29
29
30
+
// TODO (trask) add default implementation that returns null
30
31
@Nullable
31
-
defaultStringgetDbQueryText(REQUESTrequest) {
32
-
returnnull;
33
-
}
32
+
StringgetDbQueryText(REQUESTrequest);
34
33
34
+
// TODO (trask) add default implementation that returns null
35
+
// after https://github.com/open-telemetry/semantic-conventions/pull/1566
35
36
@Nullable
36
-
defaultStringgetDbOperationName(REQUESTrequest) {
37
-
returnnull;
38
-
}
37
+
StringgetDbOperationName(REQUESTrequest);
39
38
40
39
/**
41
40
* @deprecated Use {@link #getDbSystem(Object)} instead.
0 commit comments