RuleSearchHitFieldsBuilder🔗
RuleSearchHitFields is the per-kind field payload returned on each hit.🔗
It carries the union of alert- and recording-rule search fields; only the
fields relevant to a hit's kind are populated. This maps to the kind's
declared searchFields.
Constructor🔗
Methods🔗
Build🔗
Builds the object.
Annotations🔗
Alert-rule fields.
func (builder *RuleSearchHitFieldsBuilder) Annotations(annotations map[string]string) *RuleSearchHitFieldsBuilder
DashboardUID🔗
func (builder *RuleSearchHitFieldsBuilder) DashboardUID(dashboardUID string) *RuleSearchHitFieldsBuilder
DatasourceUIDs🔗
func (builder *RuleSearchHitFieldsBuilder) DatasourceUIDs(datasourceUIDs []string) *RuleSearchHitFieldsBuilder
Folder🔗
For🔗
Interval🔗
KeepFiringFor🔗
func (builder *RuleSearchHitFieldsBuilder) KeepFiringFor(keepFiringFor string) *RuleSearchHitFieldsBuilder
Labels🔗
func (builder *RuleSearchHitFieldsBuilder) Labels(labels map[string]string) *RuleSearchHitFieldsBuilder
Metric🔗
Recording-rule fields.
NotificationType🔗
func (builder *RuleSearchHitFieldsBuilder) NotificationType(notificationType string) *RuleSearchHitFieldsBuilder
PanelID🔗
Paused🔗
Receiver🔗
RoutingTree🔗
func (builder *RuleSearchHitFieldsBuilder) RoutingTree(routingTree string) *RuleSearchHitFieldsBuilder
TargetDatasourceUID🔗
func (builder *RuleSearchHitFieldsBuilder) TargetDatasourceUID(targetDatasourceUID string) *RuleSearchHitFieldsBuilder