Skip to content
Advertisement

Tag: google-api-java-client

Unable to collect data from metric query language MQL – GCP

I want to execute MQL (metric query language) using below library. Here is my code snippet. which will create monitoring client and will try to collect data from GCP monitoring. Above code is working fine but its not returning data of given startTime and endTime , It always returns latest datapoint available. is there any problem with my code ?

Advertisement