GitHub user imddevaraj created a discussion: Configurable Quick Time Range
Presets in Superset Time Range Picker
The current Superset Time Range Picker provides a predefined set of relative
time ranges. However, it does not include commonly used operational monitoring
presets such as:
Last 5 minutes
Last 15 minutes
Last 30 minutes
Last 1 hour
These ranges are frequently used for real-time monitoring, observability, IoT
telemetry, security analytics, and operational dashboards.
While Superset provides a Time Grain feature, it serves a different purpose
(aggregation interval) and does not address the need for quickly selecting
commonly used relative time ranges.
Proposed Enhancement
Enhance the superset-frontend Time Range Picker by introducing configurable
Quick Time Range Presets.
Default Quick Ranges
Add the following presets to the Quick Range section:
Last 5 minutes
Last 15 minutes
Last 30 minutes
Last 1 hour
These should behave the same as the existing relative time selections,
requiring only a single click.
Optional Configuration
Allow administrators to customize the available quick ranges via feature flags
or application configuration, for example:
TIME_RANGE_QUICK_PRESETS = [
"Last 5 minutes",
"Last 15 minutes",
"Last 30 minutes",
"Last 1 hour",
"Last 6 hours",
"Last 24 hours",
]
This would allow organizations to tailor the picker to their own monitoring and
analytics requirements without modifying the frontend.
GitHub link: https://github.com/apache/superset/discussions/41408
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]