[Bugfix]fix Topic level metric query

This commit is contained in:
ruanliang-hualun
2024-10-07 20:14:05 +08:00
parent bfc6999c93
commit a4085adf10
2 changed files with 8 additions and 1 deletions

View File

@@ -44,7 +44,7 @@ const ExpandPartition = (props: { record: any; onConfirm: () => void }) => {
setLoading(true);
const metricParams = {
aggType: 'avg',
aggType: 'sum',
endTime: Math.round(endStamp),
metricsNames: ['BytesIn', 'BytesOut'],
startTime: Math.round(startStamp),

View File

@@ -17,6 +17,13 @@
}
}
},
{
"term": {
"brokerAgg" : {
"value": "1"
}
}
},
{
"range": {
"timestamp": {