Preview a rule’s shaping impact
Rules in preview mode display in the Aggregation Rules UI similar to rules already in use. Rules in preview mode use a different background color, and have a Preview label next to the rule type in the Name column. When a preview rule is added, but hasn’t finished impact calculations, the shaping impact columns displaycalculating. Completed impact calculations display under
Rule Efficiency, Matched Impact (if you’re using a matched writes license),
and System Persisted Impact.
Utility Score isn’t available for rules in preview mode because the Output metric
can’t be used until the rule is enabled.
Create a preview rule
Creating a preview rollup or mapping rule requires adding a configuration variable to the rule creation file calledmode.
The mode variable has two states:
preview: This rule is in a preview state, and doesn’t affect data being mapped, rolled up, or added to storage.enabled: This rule is active and affecting incoming data.
mode isn’t present, the rule defaults to the enabled state.
For mapping or rollup rules created with
Chronoctl, define mode in the spec section
of the rule definition file.
Change a rule from preview to enabled
Preview rules use the same definition files as active rules. To change a rule from preview to enabled:- In the definition file, change the value of
modefrompreviewtoenabled. - Save the file.
- Apply the updated definition.