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(alignmentPeriod: string)

goal🔗

SLO goal value.

goal(goal: number)

lookbackPeriod🔗

Specific lookback period for the SLO.

lookbackPeriod(lookbackPeriod: string)

perSeriesAligner🔗

Alignment function to be used. Defaults to ALIGN_MEAN.

perSeriesAligner(perSeriesAligner: string)

projectName🔗

GCP project to execute the query against.

projectName(projectName: string)

selectorName🔗

SLO selector.

selectorName(selectorName: string)

serviceId🔗

ID for the service the SLO is in.

serviceId(serviceId: string)

serviceName🔗

Name for the service the SLO is in.

serviceName(serviceName: string)

sloId🔗

ID for the SLO.

sloId(sloId: string)

sloName🔗

Name of the SLO.

sloName(sloName: string)

See also🔗