|
1 |
| -import * as clickhouse from '@hyperdx/common-utils/dist/clickhouse'; |
| 1 | +import { ClickhouseClient } from '@hyperdx/common-utils/dist/clickhouse/node'; |
2 | 2 | import mongoose from 'mongoose';
|
3 | 3 | import ms from 'ms';
|
4 | 4 |
|
@@ -725,7 +725,7 @@ describe('checkAlerts', () => {
|
725 | 725 | savedSearch,
|
726 | 726 | };
|
727 | 727 |
|
728 |
| - const clickhouseClient = new clickhouse.ClickhouseClient({ |
| 728 | + const clickhouseClient = new ClickhouseClient({ |
729 | 729 | host: connection.host,
|
730 | 730 | username: connection.username,
|
731 | 731 | password: connection.password,
|
@@ -965,7 +965,7 @@ describe('checkAlerts', () => {
|
965 | 965 | dashboard,
|
966 | 966 | };
|
967 | 967 |
|
968 |
| - const clickhouseClient = new clickhouse.ClickhouseClient({ |
| 968 | + const clickhouseClient = new ClickhouseClient({ |
969 | 969 | host: connection.host,
|
970 | 970 | username: connection.username,
|
971 | 971 | password: connection.password,
|
@@ -1195,7 +1195,7 @@ describe('checkAlerts', () => {
|
1195 | 1195 | dashboard,
|
1196 | 1196 | };
|
1197 | 1197 |
|
1198 |
| - const clickhouseClient = new clickhouse.ClickhouseClient({ |
| 1198 | + const clickhouseClient = new ClickhouseClient({ |
1199 | 1199 | host: connection.host,
|
1200 | 1200 | username: connection.username,
|
1201 | 1201 | password: connection.password,
|
@@ -1404,7 +1404,7 @@ describe('checkAlerts', () => {
|
1404 | 1404 | dashboard,
|
1405 | 1405 | };
|
1406 | 1406 |
|
1407 |
| - const clickhouseClient = new clickhouse.ClickhouseClient({ |
| 1407 | + const clickhouseClient = new ClickhouseClient({ |
1408 | 1408 | host: connection.host,
|
1409 | 1409 | username: connection.username,
|
1410 | 1410 | password: connection.password,
|
|
0 commit comments