MetricQuery🔗
Constructor🔗
Methods🔗
build🔗
Builds the object.
alias_by🔗
Aliases can be set to modify the legend labels. e.g. {{metric.label.xxx}}. See docs for more detail.
alignment_period🔗
Alignment period to use when regularizing data. Defaults to cloud-monitoring-auto.
cross_series_reducer🔗
Reducer applied across a set of time-series values. Defaults to REDUCE_NONE.
editor_mode🔗
filters🔗
Array of filters to query data by. Labels that can be filtered on are defined by the metric.
graph_period🔗
To disable the graphPeriod, it should explictly be set to 'disabled'.
group_bys🔗
Array of labels to group data by.
metric_kind🔗
metric_type🔗
per_series_aligner🔗
Alignment function to be used. Defaults to ALIGN_MEAN.
preprocessor🔗
Preprocessor is not part of the API, but is used to store the preprocessor and not affect the UI for the rest of parameters
project_name🔗
GCP project to execute the query against.
query🔗
MQL query to be executed.