Skip to content

Commit

Permalink
[Bugfix]fix Topic level metric query
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanliang-hualun committed Oct 7, 2024
1 parent bfc6999 commit a4085ad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
}
}
},
{
"term": {
"brokerAgg" : {
"value": "1"
}
}
},
{
"range": {
"timestamp": {
Expand Down

0 comments on commit a4085ad

Please sign in to comment.