Skip to content

Commit ff22d97

Browse files
committed
add comment says only one endpoint is supported
1 parent 3f4d8c7 commit ff22d97

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

instrumentation/clickhouse/clickhouse-clientv2-0.8/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/clickhouse/clientv2/v0_8/ClickHouseClientV2Instrumentation.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ public static ClickHouseScope onEnter(
5858
return null;
5959
}
6060

61+
// https://clickhouse.com/docs/integrations/language-clients/java/client#client-configuration
62+
// Currently, clientv2 supports only one endpoint.
6163
String endPoint = client.getEndpoints().stream().findFirst().orElse(null);
6264
String host = null;
6365
Integer port = 0;

0 commit comments

Comments
 (0)