mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 03:42:07 +08:00
[Bugfix]fix Topic level metric query
This commit is contained in:
@@ -44,7 +44,7 @@ const ExpandPartition = (props: { record: any; onConfirm: () => void }) => {
|
|||||||
|
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
const metricParams = {
|
const metricParams = {
|
||||||
aggType: 'avg',
|
aggType: 'sum',
|
||||||
endTime: Math.round(endStamp),
|
endTime: Math.round(endStamp),
|
||||||
metricsNames: ['BytesIn', 'BytesOut'],
|
metricsNames: ['BytesIn', 'BytesOut'],
|
||||||
startTime: Math.round(startStamp),
|
startTime: Math.round(startStamp),
|
||||||
|
|||||||
@@ -17,6 +17,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"term": {
|
||||||
|
"brokerAgg" : {
|
||||||
|
"value": "1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"range": {
|
"range": {
|
||||||
"timestamp": {
|
"timestamp": {
|
||||||
|
|||||||
Reference in New Issue
Block a user