Skip to content

Add limit to top queries request #1700

@artemmufazalov

Description

@artemmufazalov

Add limit to top queries request, it could be the same limit, as for the running queries (100)

https://github.com/ydb-platform/ydb-embedded-ui/blob/main/src/store/reducers/executeTopQueries/executeTopQueries.ts#L28

Sort table on backend, so limit will be applied after sorting. It should be done the same way as in top shards:

https://github.com/ydb-platform/ydb-embedded-ui/blob/main/src/store/reducers/shardsWorkload/shardsWorkload.ts#L62

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions