[collector,manager]feature 支持oracle数据库监控类型

This commit is contained in:
xiegaofeng
2022-03-23 07:49:32 +08:00
parent d169dac94d
commit dfc7ece93d
5 changed files with 99 additions and 3 deletions

View File

@@ -23,6 +23,7 @@ public class JdbcSpiLoader implements CommandLineRunner {
Class.forName("com.mysql.cj.jdbc.Driver");
Class.forName("org.postgresql.Driver");
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
Class.forName("oracle.jdbc.driver.OracleDriver");
} catch (Exception e) {
log.error("load jdbc error: {}", e.getMessage(), e);
}