Gateway Error Prometheus

We have an issue in grafana dashboards, The Latency & Quantile widgets are not working i.e, when we change time to Last 7 days . It is getting Gateway Timeout Error. Is there any solution for this issue?

  • What Grafana version and what operating system are you using?
    Grafana version - Grafana v7.5.17 , Ubuntu, Datasource - Prometheus

  • What are you trying to achieve?

  • The Latency & Quantile widgets are not working i.e, when we change time to Last 7 days . It is getting Gateway Timeout Error
  • How are you trying to achieve it?
  • What happened?
    we have created Latency graphs it is working for last days 2 days, when we changed time frame to last 7 days it showed error.
  • What did you expect to happen?
  • After changing time frame, the graphs should work
  • 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?