How to configure quick ranges for time picker?

  • What Grafana version and what operating system are you using?
    9.3.6 Grafana cloud trial

  • What are you trying to achieve?
    I am trying to set time range in time picker to be matter of days. For the data source I want to use Grafana for, I want to only show “Last 2 days” and before than (i.e. Last 1 month, etc.)
    Essentially, I want to hide all time ranges until last 24 hours (include last 5 mins, etc) as they are distraction to our enterprise users.

image

  • How are you trying to achieve it?
    Don’t know how. I only see refresh internal configuration, not for “quick ranges for time picker”

  • What happened?
    I am unable to set time range in time picker to be matter of days. For the data source I want to use Grafana for, I want to only show “Last 2 days” and before than (i.e. Last 1 month, etc.)

  • What did you expect to happen?

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?

1 Like

@RajEnterprise

AFAIK, one cannot modify the list of values in the time picker. However, you can “fix” the relative time on each panel to ignore the time picker. See below where the relative time has been set to 2d (and thus ignores the “Last 1 hour” in the drop down).

1 Like

Hi @RajEnterprise

I have moved this post to the Grafana Cloud category.

Regarding your question. That setting is actually hard-coded. Maybe someone from the Grafana Cloud team can answer if there is a way to do customized the time-picker box in the non-OSS version.

Is it able to be modified in Grafana OSS?

I don’t think it is possible