SDK reference / Models / Observability

LogQueryAlertMergePatchUpdate

Kind: class

Namespace: Egulu.Sdk.Models.Observability

A scheduled query alert: every intervalMinutes the platform runs query over the last windowMinutes, takes the value (the first row'svalueColumn, or the first row's first numeric column; with no rows, no data) and compares it with threshold. A change to firing tells thechannels; a return to OK tells them again.

Properties

NameTypeJSON nameDescription
ChannelsModels.Observability.LogQueryAlertMergePatchUpdate.LogQueryAlertMergePatchUpdate_channels?channelsNotification channels to tell (their IDs; at most 10).
ComparisonModels.Observability.LogQueryAlertComparison?comparisonHow a query alert compares its value with the threshold.
DisplayNameModels.Observability.LogQueryAlertMergePatchUpdate.LogQueryAlertMergePatchUpdate_displayName?displayNameUp to 63 characters.
EnabledModels.Observability.LogQueryAlertMergePatchUpdate.LogQueryAlertMergePatchUpdate_enabled?enabledFalse pauses the schedule.
IntervalMinutesint?intervalMinutesHow often it is evaluated: 1, 5, 15 or 60 minutes.
LabelsUntypedNode?labelsAt most 64.
Querystring?queryThe query; it must parse. Usually it ends in `summarize`, so the first row holds the value.
SeverityModels.Observability.LogQueryAlertSeverity?severityThe severity property
Thresholddouble?thresholdThe threshold property
ValueColumnModels.Observability.LogQueryAlertMergePatchUpdate.LogQueryAlertMergePatchUpdate_valueColumn?valueColumnThe column the value is read from; the first numeric column of the first row when omitted.
WindowMinutesint?windowMinutesHow far back each evaluation looks: 1 to 1440 minutes.