Skip to content

SLOQueryBuilder🔗

Constructor🔗

new SLOQueryBuilder()

Methods🔗

build🔗

Builds the object.

build()

alignmentPeriod🔗

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

alignmentPeriod(string $alignmentPeriod)

goal🔗

SLO goal value.

goal(float $goal)

lookbackPeriod🔗

Specific lookback period for the SLO.

lookbackPeriod(string $lookbackPeriod)

perSeriesAligner🔗

Alignment function to be used. Defaults to ALIGN_MEAN.

perSeriesAligner(string $perSeriesAligner)

projectName🔗

GCP project to execute the query against.

projectName(string $projectName)

selectorName🔗

SLO selector.

selectorName(string $selectorName)

serviceId🔗

ID for the service the SLO is in.

serviceId(string $serviceId)

serviceName🔗

Name for the service the SLO is in.

serviceName(string $serviceName)

sloId🔗

ID for the SLO.

sloId(string $sloId)

sloName🔗

Name of the SLO.

sloName(string $sloName)

See also🔗