Skip to content

vmui: _time should override the default time range in vmui #558

@func25

Description

@func25

Is your feature request related to a problem? Please describe

It's not intuitive when specifying _time:10d but only getting 5 minutes of logs due to the default duration set by vmui.

Describe the solution you'd like

It's better to handle _time in one of the following ways:

  1. Automatically set the duration in vmui to match the _time value (or the combination of multiple _time values).
  2. Throw an error when the client specifies _time. But this isn't ideal, as users would then need to manually select a duration on UI and drop the _time filter.

I’d prefer the backend to have handlers for processing queries from vmui (e.g. detect the correct _time from the query and return it to vmui).

Describe alternatives you've considered

No response

Additional information

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestweb-uiIssues related to the user interface: layout, styling, usability, or UI-specific bugs.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions