Skip to content

Conversation

LEEAHRI
Copy link

@LEEAHRI LEEAHRI commented May 16, 2025

What type of PR is this?

  • Feature

Description

Added finer time interval options to reduce database load when querying large datasets. Exposed existing "Last hour" and "Last 8 hours" options in the UI and implemented new granular options: "Last 15 minutes" and "Last 30 minutes" for more precise timeframe selections.

const DYNAMIC_DATETIME_OPTIONS = [
  // new feaure
  {
    name: "Last 15 minutes",
    value: getDynamicDateRangeFromString("d_last_15_minutes"),
    label: null
  },
  {
    name: "Last 30 minutes",
    value: getDynamicDateRangeFromString("d_last_30_minutes"),
    label: null
  },
 //  existing
  {
    name: "Last Hour",
    value: getDynamicDateRangeFromString("d_last_hour"),
    label: null
  },
  {
    name: "Last 8 Hours",
    value: getDynamicDateRangeFromString("d_last_8_hours"),
    label: null
  },
image

Related Tickets & Documents

#7418

@LEEAHRI LEEAHRI changed the title ADD hour/minute granularity to dynamic date range option Add hour/minute granularity to dynamic date range option May 16, 2025
@LEEAHRI
Copy link
Author

LEEAHRI commented May 16, 2025

Additionally, I'd like to suggest: It would be great to add a feature that allows users to query by inputting custom date ranges such as P3D, P2H.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant