signoz
signoz copied to clipboard
Ability to type the duration expression in the global time dropdown
Is your feature request related to a problem?
The options in the global time range are limited. Often users want other time ranges such as 3 hours, 12 hours, 4 days etc. The only way to achieve this today is to use a custom time range which is very difficult. The user should be able to enter the duration expressions such as 3h
, 4d
and 1w
, which should be interpreted as last 3 hours
, last 4 days
, and last 1 week
respectively.
Part of this is already done (any expression that uses numbers followed by m
, h
, d
, w
works). It would be wonderful to support any parsable expression such as 1 week
, or 2 days
. It's nice to have but not mandatory. Most users should be fine with compact inputs such as 1w
, 2d
, 4h
etc..
the changes for the same have been done and reviewed. will add the relevant test cases and close the same.