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
Parameter | policy |
Description | Parameters for the Feature Rollout policy. |
Type | Object (policies/feature-rollout/base:schema:rollout_policy) |
Default Value | Expand
|
Parameter | dashboard |
Description | Configuration for the Grafana dashboard accompanying this policy. |
Type | Object (policies/feature-rollout/base:param:dashboard) |
Default Value | Expand
|
Dynamic Configuration
note
The following configuration parameters can be dynamically configured at runtime, without reloading the policy.
Parameters
Parameter | pass_through_label_values |
Description | Specify 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. |
Type | Array of string |
Default Value | Expand
|