Skip to content

SLOQuery🔗

Constructor🔗

SLOQuery()

Methods🔗

build🔗

Builds the object.

def build() -> googlecloudmonitoring.SLOQuery

alignment_period🔗

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

def alignment_period(alignment_period: str) -> typing.Self

goal🔗

SLO goal value.

def goal(goal: float) -> typing.Self

lookback_period🔗

Specific lookback period for the SLO.

def lookback_period(lookback_period: str) -> typing.Self

per_series_aligner🔗

Alignment function to be used. Defaults to ALIGN_MEAN.

def per_series_aligner(per_series_aligner: str) -> typing.Self

project_name🔗

GCP project to execute the query against.

def project_name(project_name: str) -> typing.Self

selector_name🔗

SLO selector.

def selector_name(selector_name: str) -> typing.Self

service_id🔗

ID for the service the SLO is in.

def service_id(service_id: str) -> typing.Self

service_name🔗

Name for the service the SLO is in.

def service_name(service_name: str) -> typing.Self

slo_id🔗

ID for the SLO.

def slo_id(slo_id: str) -> typing.Self

slo_name🔗

Name of the SLO.

def slo_name(slo_name: str) -> typing.Self

See also🔗