Skip to content

Commit 8c477f1

Browse files
committed
fix
1 parent 077a1fa commit 8c477f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

instrumentation/couchbase/couchbase-3.1.6/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/couchbase/v3_1_6/CouchbaseInstrumentationModule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ public ElementMatcher.Junction<ClassLoader> classLoaderMatcher() {
2929
// NB: Couchbase does not provide any API guarantees on their core IO artifact so reconsider
3030
// instrumenting it instead of each individual JVM artifact if this becomes unmaintainable.
3131
return hasClassesNamed("com.couchbase.client.core.cnc.TracingIdentifiers")
32-
// core-io 2.1.6 (java-client 3.1.6) adds AbstractManagerSupport, which we require here.
33-
.and(hasClassesNamed("com.couchbase.client.core.manager.AbstractManagerSupport"))
32+
// core-io 2.1.6 (java-client 3.1.6) adds EventingEndpoint, which we require here.
33+
.and(hasClassesNamed("com.couchbase.client.core.endpoint.EventingEndpoint"))
3434
// core-io 2.2.0 (java-client 3.2.0) adds RequestSpan$StatusCode, so exclude newer releases.
3535
.and(not(hasClassesNamed("com.couchbase.client.core.cnc.RequestSpan$StatusCode")));
3636
}

0 commit comments

Comments
 (0)