When metrics and traces are queried for more than 20 days, it shows "No data"

  • What Grafana version and what operating system are you using?
    Grafana version: v9.4.3

  • What are you trying to achieve?
    I am trying to get the ingestion data for Metrics and Traces using the metrics: container_network_receive_bytes_total

  • How are you trying to achieve it?
    I have the below queries for:
    When I run the above two queries, I get the ingestion data for Metrics and Traces in GBs.

  • What happened?
    For time range involving more than 20 days, the data is empty and it shows “No data”. But when I try to query it in chunks (i.e 10 days + 10 days, I get the data).

  • What did you expect to happen?
    When the queries are run, the ingestion data for Metrics and Traces should be shown in GBs, no matter what the Time range is.

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

  "range": {
    "from": "2023-09-30T18:30:00.000Z",
    "to": "2023-10-21T18:29:59.000Z",
    "raw": {
      "from": "2023-09-30T18:30:00.000Z",
      "to": "2023-10-21T18:29:59.000Z"
  "from": "1696098600000",
  "to": "1697912999000"
"hideFromInspector": false 

. },
“response”: {
“results”: {
“A”: {
“status”: 200,
“frames”: ,
“refId”: “A”