mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 11:19:11 +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,
|
||||
aggregateOperator: LogsAggregatorOperator.NOOP,
|
||||
orderBy: [{ columnName: 'timestamp', order: 'desc' }],
|
||||
limit: count || DEFAULT_SAMPLE_LOGS_COUNT,
|
||||
pageSize: count || DEFAULT_SAMPLE_LOGS_COUNT,
|
||||
};
|
||||
return q;
|
||||
}, [count, filter]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user