Skip to content

RecordRuleBuilder🔗

Constructor🔗

func NewRecordRuleBuilder() *RecordRuleBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *RecordRuleBuilder) Build() (RecordRule, error)

From🔗

Which expression node should be used as the input for the recorded metric.

func (builder *RecordRuleBuilder) From(from string) *RecordRuleBuilder

Metric🔗

Name of the recorded metric.

func (builder *RecordRuleBuilder) Metric(metric string) *RecordRuleBuilder

TargetDatasourceUid🔗

Which data source should be used to write the output of the recording rule, specified by UID.

func (builder *RecordRuleBuilder) TargetDatasourceUid(targetDatasourceUid string) *RecordRuleBuilder

See also🔗