06 Aug 2025
09:00 AM
- last edited on
07 Aug 2025
07:11 AM
by
MaciejNeumann
Hi, I want to use a notebook to list all the ingested GCP metrics in our tenant and organise the results by GCP product, for example...
Spanner:
Apigee:
I've been searching for the right DQL to do this but struggling, the notebook AI is no help either. Is this possible in DQL or is there a better way to achieve this? Any pointers appreciated.
Thanks
Pete
06 Aug 2025 02:21 PM
Hi, you can use fetch metric.series to fetch metrics using DQL.
fetch metric.series
| filter matchesPhrase(metric.key, "cloud.gcp")
Maybe you can start with this query and you will be able to see more fields so you can get the result you want.
In this case, I'm filtering so it checks if the metric key contains "cloud.gcp". There are many fields you can use but I'm not too familiar with GCP.
I hope this was helpful!
06 Aug 2025 03:59 PM
Thanks this looks a great starting point, I'll explore what I can do from here. Appreciate the response, thank you.
07 Aug 2025 02:09 PM
Great! If you need more help, reply to this post 🙂