v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1333131212.7 KB
projects

Queries time series by using Monitoring Query Language (MQL). We recommend using PromQL instead of MQL. For more information about the status of MQL, see the MQL deprecation notice (https://cloud.google.com/stackdriver/docs/deprecations/mql).

post/v3/{+name}/timeSeries:query

Path parameters

namestring required

Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]

Request body

querystring

Required. The query in the Monitoring Query Language (https://cloud.google.com/monitoring/mql/reference) format. The default time zone is in UTC.

pageSizeinteger

A positive number that is the maximum number of time_series_data to return.

pageTokenstring

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

Response

Successful response