SDK reference / Models / Observability

AlertIncident

Kind: class

Namespace: Egulu.Sdk.Models.Observability

A period in which an alert rule was firing (IP-12; ADR-0828 proposed). Written by the evaluator; a person may acknowledge it.

Properties

NameTypeJSON nameDescription
AcknowledgeNotestring?acknowledgeNoteThe acknowledgement's note.
AcknowledgedBystring?acknowledgedByWho acknowledged it.
AcknowledgedTimeDateTimeOffset?acknowledgedTimeWhen a person acknowledged it.
AlertRulestring?alertRuleThe alert rule that fired: projects/{project}/locations/{location}/alertRules/{alertRule}.
ComparisonModels.Observability.AlertComparison?comparisonComparison operator against the threshold: the rule's own (GREATER_THAN when a rule omits it), and on an incident the one the rule had when it fired. One text on every use, so the generated SDK names the type the same way each run.
EndTimeDateTimeOffset?endTimeWhen it resolved; absent while it fires.
LastValuedouble?lastValueThe latest value seen.
Metricstring?metricThe rule's metric when it fired.
Mutedbool?mutedTrue when the rule was muted as it fired, so nobody was notified.
Namestring?nameprojects/{project}/locations/{location}/alertIncidents/{alertIncident}.
Notifiedbool?notifiedTrue when the rule's channels were notified as it fired.
NotifiedChannelsList<string>?notifiedChannelsThe channels notified, redacted of any secret.
PeakValuedouble?peakValueThe worst value seen while it fired (the highest for GREATER_THAN, the lowest for LESS_THAN).
ResolvedReasonstring?resolvedReasonWhy it ended when it did not resolve by itself: `rule-deleted`, `rule-paused` or `spend-cap`.
SeverityModels.Observability.AlertSeverity?severityThe rule's severity when it fired.
StartTimeDateTimeOffset?startTimeWhen it began firing.
StateModels.Observability.AlertIncidentState?state`FIRING` while the rule fires, `RESOLVED` after.
Thresholddouble?thresholdThe rule's threshold when it fired.