Skip to content

query: expose partial response header #718

@func25

Description

@func25

Is your feature request related to a problem? Please describe

VictoriaLogs supports partial responses. These partial responses can be misleading, as they may contain critical logs needed for troubleshooting. We need a way to expose this information and help the frontend detect when a response is partial.

Describe the solution you'd like

Expose VL-Partial-Response header

Describe alternatives you've considered

Alternative options:

  • Use an HTTP trailer, but @valyala rejected it due to poor support
  • Perform a pre-check before querying
  • Not supported in streaming, only available in /hits, /field_names, etc
  • Add a sentinel log at the end

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions