Google Cloud Platform Data Stream Parameters
The Google Cloud Platform plugin provides configurable data streams to fetch analytics data.
Each configurable data stream exposes a set of parameters that lets you filter the data you retrieve. The following information describes the available configurable data streams and their parameters in detail.
BigQuery
BigQuery (Filter by Object)
Firestore Documents
Firestore Structured Query
Monitor Metric
MQL Query
Examples
MQL query not using dashboard timeframe - CPU usage time in the last 20 minutes in the selected project:
fetch gce_instance | metric 'compute.googleapis.com/instance/cpu/usage_time' | within (20m)MQL query not using dashboard timeframe - authentication events count in the last 24 hours:
fetch iam_service_account
| metric 'iam.googleapis.com/service_account/authn_events_count'
| align rate(1m)
| every 1m | within (24h)MQL query using dashboard timeframe - uploaded bytes in BigQuery data set:
fetch bigquery_dataset
| metric 'bigquery.googleapis.com/storage/uploaded_bytes'
| align rate(1m)
| every 1m