MetricQueryBuilder🔗
Constructor🔗
Methods🔗
build🔗
Builds the object.
aliasBy🔗
Aliases can be set to modify the legend labels. e.g. {{metric.label.xxx}}. See docs for more detail.
alignmentPeriod🔗
Alignment period to use when regularizing data. Defaults to cloud-monitoring-auto.
crossSeriesReducer🔗
Reducer applied across a set of time-series values. Defaults to REDUCE_NONE.
editorMode🔗
filters🔗
Array of filters to query data by. Labels that can be filtered on are defined by the metric.
graphPeriod🔗
To disable the graphPeriod, it should explictly be set to 'disabled'.
groupBys🔗
Array of labels to group data by.
metricKind🔗
metricType🔗
perSeriesAligner🔗
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
projectName🔗
GCP project to execute the query against.
query🔗
MQL query to be executed.