Skip to content

Commit e5d0f3c

Browse files
committed
Optimized the comments for OceanBase url parser
1 parent 28c2324 commit e5d0f3c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,13 @@ DbInfo.Builder doParse(String jdbcUrl, DbInfo.Builder builder) {
912912
return GENERIC_URL_LIKE.doParse(clickhouseUrl, builder);
913913
}
914914
},
915-
/** jdbc:oceanbase://host:port/dbname jdbc:oceanbase:oracle://host:port/dbname */
915+
/**
916+
* Sample urls:
917+
* <ul>
918+
* <li>jdbc:oceanbase://host:port/dbname
919+
* <li>jdbc:oceanbase:oracle://host:port/dbname
920+
* </ul>
921+
*/
916922
OCEANBASE("oceanbase") {
917923
@Override
918924
DbInfo.Builder doParse(String jdbcUrl, DbInfo.Builder builder) {

0 commit comments

Comments
 (0)