Skip to content

SAT Policy Specification

Spec

The specification for Policy has the following fields.

The specification is not entirely finalised or fixed. Field names and types may change over the course of the project.

targets

list
Present on all policies that target specific Microservices. A list of Microservice names to target with this policy.

Types

ApplicationPolicy

Base policy type for targeting an entire application.

MicroservicePolicy

Base policy type for targeting specific microservices.

Scheduling

Policy type for scheduling.

Scheduling.Colocation

Policy type for colocating multiple microservices on a specific host.

Reconfiguration

Policy type for reconfiguring an application at runtime.

period_check_slo

integer
Interval in seconds at which the SLO constraints are checked for violations.

period_evaluation

integer
Interval in seconds at which the reconfiguration rule is evaluated.

period_cooldown

integer
Minimum interval in seconds between consecutive reconfigurations.

constants

map
Constant values that can be used in the reconfiguration policy.

rule

string (required)
The reconfiguration rule, expressed as a multi-line string.

Forecast

Policy type for predicting the future values of monitored metrics.

metrics

list (required)
Names of the metrics to predict, declared by the targeted microservices.

resolution

integer (required)
Interval in seconds that values are averaged into before prediction.

forecast_duration

integer (required)
How far ahead predictions are needed, in seconds.

lookback_duration

integer
How much recent history each prediction is based on, in seconds.

history_duration

integer
How much past data to retain for training, in seconds.

retrain_interval

integer
How often the model is retrained, in seconds.

coverage

float
Proportion of values falling inside the predicted interval, 0 to 1.

pipeline

string
Forecasting pipeline to use, overriding the platform's choice.

RegistryLogin

Policy type for logging into a container registry.

username

string (required)
The username for the container registry.

password

string (required)
The password or token for the container registry.

registry_url

string (required)
The URL of the container registry.

QoS

Quality of Service (QoS) policies for applications. Cannot target a specific Microservice.

priority

float
Priority level of the application (higher number means higher priority).

target

integer
Target value for the QoS metric.

QoS.Energy.Budget

Energy policy type

QoS.Cost.Budget

Cost policy type

QoS.Performance.Bandwidth

Bandwidth policy type

QoS.Performance.Latency

Latency policy type