mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 11:52:08 +08:00
自动创建ES索引 & 主动填补指标历史曲线缺少的点
This commit is contained in:
@@ -20,8 +20,8 @@ public class ClusterMetricESDAOTest extends KnowStreamApplicationTest {
|
||||
|
||||
@Test
|
||||
public void listClusterMetricsByClusterIdsTest(){
|
||||
List<String> metrics = Arrays.asList("BytesIn_min_1", "BytesOut_min_1");
|
||||
List<Long> clusterIds = Arrays.asList(123L);
|
||||
List<String> metrics = Arrays.asList("MessagesIn");
|
||||
List<Long> clusterIds = Arrays.asList(293L);
|
||||
Long endTime = System.currentTimeMillis();
|
||||
Long startTime = endTime - 4 * 60 * 60 * 1000;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user