mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-13 20:16:00 +08:00
fix the issue of logs preview and count mismatch in pipelines by updating sample logs query param from limit to pageSize (#7231)
This commit is contained in:
parent
d09b85bea8
commit
29fa5c3cf0
@ -38,7 +38,7 @@ const useSampleLogs = ({
|
|||||||
filters: filter || initialFilters,
|
filters: filter || initialFilters,
|
||||||
aggregateOperator: LogsAggregatorOperator.NOOP,
|
aggregateOperator: LogsAggregatorOperator.NOOP,
|
||||||
orderBy: [{ columnName: 'timestamp', order: 'desc' }],
|
orderBy: [{ columnName: 'timestamp', order: 'desc' }],
|
||||||
limit: count || DEFAULT_SAMPLE_LOGS_COUNT,
|
pageSize: count || DEFAULT_SAMPLE_LOGS_COUNT,
|
||||||
};
|
};
|
||||||
return q;
|
return q;
|
||||||
}, [count, filter]);
|
}, [count, filter]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user