Grafana returning multiple time series whenever I expand time range to > 6 hours - Using Google Cloud Monitoring Data Source

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

v8.2.1

  • What are you trying to achieve?

Create meaningful dashboards and panels to monitor our systems in GCP

  • How are you trying to achieve it?

We’re using Google Cloud Monitoring as our Data Source

  • What happened?

Getting multiple time series when I expand time range to > 6 hours. I am creating these panels using google’s MQL languange. The same MQL query returns only a single time series in gcp vs 3 in grafana.

  • What did you expect to happen?

To see a single time series.

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

N/A

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

N/A

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

Couldn’t find anything related to this.

Below is a side-by-side screenshot showing both the graph in gcp metrics explorer (left) and grafana (right). Notice how in gcp i’m getting back a single time series, whereas in grafana we’re seeing 3.

Welcome to the :grafana: community @omarsalka!

This is interesting, I see three labels in the legend but just a single line on your graph. What does the query response look like if you inspect the query?

I’m getting three objects when expanding the time range to more than 6 hours.

> 6hours:
Screen Shot 2022-08-24 at 5.17.27 PM

6hours:
Screen Shot 2022-08-24 at 5.20.04 PM

The response is really huge and very nested. Is there anything in particular that you’d like me to focus on and share, or should i paste the whole thing?