Skip to content

TimeSeriesListBuilder🔗

Constructor🔗

new TimeSeriesListBuilder()

Methods🔗

build🔗

Builds the object.

build()

alignmentPeriod🔗

Alignment period to use when regularizing data. Defaults to cloud-monitoring-auto.

alignmentPeriod(string $alignmentPeriod)

crossSeriesReducer🔗

Reducer applied across a set of time-series values. Defaults to REDUCE_NONE.

crossSeriesReducer(string $crossSeriesReducer)

filters🔗

Array of filters to query data by. Labels that can be filtered on are defined by the metric.

@param array $filters

filters(array $filters)

groupBys🔗

Array of labels to group data by.

@param array $groupBys

groupBys(array $groupBys)

perSeriesAligner🔗

Alignment function to be used. Defaults to ALIGN_MEAN.

perSeriesAligner(string $perSeriesAligner)

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

preprocessor(\Grafana\Foundation\Googlecloudmonitoring\PreprocessorType $preprocessor)

projectName🔗

GCP project to execute the query against.

projectName(string $projectName)

secondaryAlignmentPeriod🔗

Only present if a preprocessor is selected. Alignment period to use when regularizing data. Defaults to cloud-monitoring-auto.

secondaryAlignmentPeriod(string $secondaryAlignmentPeriod)

secondaryCrossSeriesReducer🔗

Only present if a preprocessor is selected. Reducer applied across a set of time-series values. Defaults to REDUCE_NONE.

secondaryCrossSeriesReducer(string $secondaryCrossSeriesReducer)

secondaryGroupBys🔗

Only present if a preprocessor is selected. Array of labels to group data by.

@param array $secondaryGroupBys

secondaryGroupBys(array $secondaryGroupBys)

secondaryPerSeriesAligner🔗

Only present if a preprocessor is selected. Alignment function to be used. Defaults to ALIGN_MEAN.

secondaryPerSeriesAligner(string $secondaryPerSeriesAligner)

text🔗

Annotation text.

text(string $text)

title🔗

Annotation title.

title(string $title)

view🔗

Data view, defaults to FULL.

view(string $view)

See also🔗