Skip to main content
Version: 2.6.0

Feature Rollout with PromQL Feedback

Introduction

This policy rolls out new features based on the result of PromQL query as the rollout criteria. The result of PromQL query is compared with thresholds to determine conditions for advancing, reversing, or resetting the rollout to its initial state. The rollout process consists of a series of steps that progress if the feature is considered healthy.

info

This blueprint is the same as Feature Rollout blueprint, with relevant fields highlighted in the aperturectl generated values file.

Configuration

Blueprint name: policies/feature-rollout/promql

Parameters

Parameterpolicy
DescriptionParameters for the Feature Rollout policy.
TypeObject (policies/feature-rollout/base:schema:rollout_policy)
Default Value
Expand
components: []
drivers:
promql_drivers:
- criteria:
forward:
operator: __REQUIRED_FIELD__
threshold: __REQUIRED_FIELD__
query_string: __REQUIRED_FIELD__
evaluation_interval: 10s
load_ramp:
sampler:
label_key: ''
selectors:
- control_point: __REQUIRED_FIELD__
service: __REQUIRED_FIELD__
steps:
- duration: __REQUIRED_FIELD__
target_accept_percentage: __REQUIRED_FIELD__
policy_name: __REQUIRED_FIELD__
resources:
flow_control:
classifiers: []
rollout: false

Parameterdashboard
DescriptionConfiguration for the Grafana dashboard accompanying this policy.
TypeObject (policies/feature-rollout/base:param:dashboard)
Default Value
Expand
datasource:
filter_regex: ''
name: $datasource
extra_filters: {}
refresh_interval: 5s
time_from: now-15m
time_to: now
title: Aperture Feature Rollout

Dynamic Configuration

note

The following configuration parameters can be dynamically configured at runtime, without reloading the policy.

Parameters

Parameterpass_through_label_values
DescriptionSpecify certain label values to be always accepted by the _Sampler_ regardless of accept percentage. This configuration can be updated at the runtime without shutting down the policy.
TypeArray of string
Default Value
Expand
- __REQUIRED_FIELD__