forked from didi/KnowStreaming
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bugfix]fix Topic level metric query (didi#1239)
1:topic维度的查询BytesIn,BytesOut 聚合类型应该是 sum 不能是 avg 2:getAggListMetrics dsl需要加上 brokerAgg = 1的条件
- Loading branch information
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,13 @@ | |
} | ||
} | ||
}, | ||
{ | ||
"term": { | ||
"brokerAgg" : { | ||
"value": "1" | ||
} | ||
} | ||
}, | ||
{ | ||
"range": { | ||
"timestamp": { | ||
|