How to limit time ranges?

  • What Grafana version and what operating system are you using?
    Docker grafana/grafana:7.5.3

  • What are you trying to achieve?
    I want to restrict the max time range that users can retrieve data.

  • What happened?
    A user can select a time range, for example, of 10 years. This is unnecessary and it’s causing troubles for us.

  • What did you expect to happen?
    I would like to have a configuration option to limit a dashboard to only retrieve data in a maximum range of 30 days. I also would like to limit him to not get data older, for instance, than 6 months.

I saw a PR that’s been reviewed to do that, but I don’t know when/if It’ll come. Can anyone give me pointers in what options do I have to resolve my problem? If there is a new feature in recent versions or if it’s possible to make it as a plugin, etc.

Best regards!

!Hello :wave: and welcome to the forum, @edgardbraz

can you please link to that PR?

@edgardbraz Did you ever find a solution to this issue?