Skip to content

Commit 92a0e4c

Browse files
committed
review
1 parent 87105b6 commit 92a0e4c

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

instrumentation/jdbc/library/src/main/java/io/opentelemetry/instrumentation/jdbc/internal/JdbcConnectionUrlParser.java

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -939,9 +939,15 @@ DbInfo.Builder doParse(String jdbcUrl, DbInfo.Builder builder) {
939939
},
940940
/**
941941
* <a href="https://www.alibabacloud.com/help/en/lindorm/user-guide/view-endpoints">Driver
942-
* configuration doc</a> jdbc:lindorm:table:url=http//server_name:30060/test
943-
* jdbc:lindorm:tsdb:url=http://server_name:8242/test
944-
* jabc:lindorm:search:url=http://server_name:30070/test
942+
* configuration doc</a>
943+
*
944+
* <p>Sample urls:
945+
*
946+
* <ul>
947+
* <li>jdbc:lindorm:table:url=http//server_name:30060/test
948+
* <li>jdbc:lindorm:tsdb:url=http://server_name:8242/test
949+
* <li>jabc:lindorm:search:url=http://server_name:30070/test
950+
* </ul>
945951
*/
946952
LINDORM("lindorm") {
947953
private static final String DEFAULT_HOST = "localhost";
@@ -967,7 +973,7 @@ DbInfo.Builder doParse(String jdbcUrl, DbInfo.Builder builder) {
967973
return GENERIC_URL_LIKE.doParse(realUrl, builder);
968974
}
969975
},
970-
/** jdbc:polardb://server_name:1901/dbname */
976+
/** Sample url: jdbc:polardb://server_name:1901/dbname */
971977
POLARDB("polardb") {
972978
private static final int DEFAULT_PORT = 1521;
973979
private static final String DEFAULT_HOST = "localhost";

0 commit comments

Comments
 (0)