Skip to content

query: add live query execution status updates for long-running LogsQL queries #1291

@func25

Description

@func25

Is your feature request related to a problem? Please describe

When a long-running LogsQL query is executed in VictoriaLogs, the user does not see whether the query is making progress or how much work is already done. This makes the UI feel stuck for heavy queries even if the query is still running normally.

Describe the solution you'd like

Add live updates of query status for long-running queries.

While a query is running, VictoriaLogs should provide lightweight progress information that the UI can display, for example:

  • amount of work already processed
  • estimated total work
  • processed parts or blocks
  • processed rows or bytes if available
  • current query stage if useful

The progress estimation should be very fast and should mostly rely on metadata already available in part headers or block headers. It should not require an additional expensive full scan just to compute progress.

Describe alternatives you've considered

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions