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/DbClientCommonAttributesExtractor.java
-5
Original file line number
Diff line number
Diff line change
@@ -25,16 +25,11 @@ abstract class DbClientCommonAttributesExtractor<
25
25
this.getter = getter;
26
26
}
27
27
28
-
@SuppressWarnings("deprecation") // TODO DbIncubatingAttributes.DB_CONNECTION_STRING deprecation
Copy file name to clipboardexpand all lines: instrumentation-api-incubator/src/main/java/io/opentelemetry/instrumentation/api/incubator/semconv/db/DbClientCommonAttributesGetter.java
+5-1
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,10 @@ public interface DbClientCommonAttributesGetter<REQUEST> {
19
19
@Nullable
20
20
StringgetName(REQUESTrequest);
21
21
22
+
// to be removed in 2.4.0, use `server.address` and `server.port` instead
Copy file name to clipboardexpand all lines: instrumentation-api-incubator/src/test/java/io/opentelemetry/instrumentation/api/incubator/semconv/db/DbClientAttributesExtractorTest.java
-8
Original file line number
Diff line number
Diff line change
@@ -36,11 +36,6 @@ public String getName(Map<String, String> map) {
Copy file name to clipboardexpand all lines: instrumentation-api-incubator/src/test/java/io/opentelemetry/instrumentation/api/incubator/semconv/db/SqlClientAttributesExtractorTest.java
-8
Original file line number
Diff line number
Diff line change
@@ -42,22 +42,15 @@ public String getUser(Map<String, String> map) {
Copy file name to clipboardexpand all lines: instrumentation/cassandra/cassandra-3.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/cassandra/v3_0/CassandraSqlAttributesGetter.java
-6
Original file line number
Diff line number
Diff line change
@@ -28,12 +28,6 @@ public String getName(CassandraRequest request) {
Copy file name to clipboardexpand all lines: instrumentation/cassandra/cassandra-4.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/cassandra/v4_0/CassandraSqlAttributesGetter.java
-6
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,6 @@ public String getName(CassandraRequest request) {
Copy file name to clipboardexpand all lines: instrumentation/cassandra/cassandra-4.4/library/src/main/java/io/opentelemetry/instrumentation/cassandra/v4_4/CassandraSqlAttributesGetter.java
-6
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,6 @@ public String getName(CassandraRequest request) {
Copy file name to clipboardexpand all lines: instrumentation/couchbase/couchbase-2.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/couchbase/v2_0/CouchbaseAttributesGetter.java
-6
Original file line number
Diff line number
Diff line change
@@ -28,12 +28,6 @@ public String getName(CouchbaseRequestInfo couchbaseRequest) {
Copy file name to clipboardexpand all lines: instrumentation/elasticsearch/elasticsearch-rest-common/library/src/main/java/io/opentelemetry/instrumentation/elasticsearch/rest/internal/ElasticsearchDbAttributesGetter.java
-6
Original file line number
Diff line number
Diff line change
@@ -51,12 +51,6 @@ public String getName(ElasticsearchRestRequest request) {
Copy file name to clipboardexpand all lines: instrumentation/elasticsearch/elasticsearch-transport-common/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/elasticsearch/transport/ElasticsearchTransportAttributesGetter.java
-6
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,6 @@ public String getName(ElasticTransportRequest s) {
Copy file name to clipboardexpand all lines: instrumentation/geode-1.4/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/geode/GeodeDbAttributesGetter.java
-6
Original file line number
Diff line number
Diff line change
@@ -32,12 +32,6 @@ public String getName(GeodeRequest request) {
Copy file name to clipboardexpand all lines: instrumentation/hibernate/hibernate-3.3/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/hibernate/v3_3/AbstractHibernateTest.java
-4
Original file line number
Diff line number
Diff line change
@@ -57,21 +57,18 @@ static void cleanUp() {
57
57
}
58
58
}
59
59
60
-
@SuppressWarnings("deprecation") // TODO DbIncubatingAttributes.DB_CONNECTION_STRING deprecation
Copy file name to clipboardexpand all lines: instrumentation/hibernate/hibernate-4.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/hibernate/v4_0/CriteriaTest.java
Copy file name to clipboardexpand all lines: instrumentation/hibernate/hibernate-4.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/hibernate/v4_0/EntityManagerTest.java
-8
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,6 @@ class EntityManagerTest extends AbstractHibernateTest {
Copy file name to clipboardexpand all lines: instrumentation/hibernate/hibernate-4.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/hibernate/v4_0/QueryTest.java
-6
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,6 @@
25
25
26
26
classQueryTestextendsAbstractHibernateTest {
27
27
28
-
@SuppressWarnings("deprecation") // TODO DbIncubatingAttributes.DB_CONNECTION_STRING deprecation
0 commit comments