.Name | string | Human-readable name of the trigger. Use this in messages to identify which trigger fired. | ”Deflector Shield Overload” |
.ID | string | Unique identifier for the trigger. Useful for programmatic references or deduplication. | ”JwwZxfcP5kH” |
.Description | string | Short summary of the trigger. We suggest including what it monitors and why it exists. Helps recipients understand context. | ”One or more deflector shields are overloaded. Consider diverting power from other shields to compensate. See YT-1300 Operations Manual page 167 for diagnostics.” |
.URL | string | Direct link to the trigger’s detail page in the Honeycomb UI. Allows quick access for troubleshooting or investigation. | "https://ui.honeycomb.test/rebel-alliance/environments/test/datasets/falcon/triggers/4a77775a78666350356b48" |
.Environment | string | Name of the Honeycomb environment where the trigger is defined. Useful for scoping alerts to the correct context. | ”test” |
.Datasets | array | List of dataset names monitored by the trigger. Can be used to include dataset context in alerts. For correct formatting, wrap array variables with toJSON. | ["test"] |
.Tags | array | List of tags assigned to the trigger, each with a key and value field. For correct formatting, wrap array variables with toJSON. | [{"key": "team", "value": "rebel-alliance"}] |
.Operator | string | Comparison operator used to evaluate the trigger condition. | ”less than or equal to” |
.Threshold | float | Numeric threshold value that, when exceeded or met, causes the trigger to fire. | 1.5 |
.Frequency | integer | How often the trigger is evaluated, in minutes. | 15 |
.Query.TimeRange | integer | Duration of the query that the trigger uses for evaluation, in seconds. | 60 |
.Result.URL | string | Direct link to the query result that caused the alert. Useful for viewing data behind the trigger. | "https://ui.honeycomb.test/rebel-alliance/environments/test/datasets/falcon/result/4656626d79/a/6e694854a6241" |
.Result.Groups | array | Groups included in the trigger evaluation. For correct formatting, wrap array variables with toJSON. | |
.Result.GroupsTriggered | array | Groups that met or exceeded the trigger threshold. For correct formatting, wrap array variables with toJSON. | |
.Result.NewlyTriggeredGroups | array | Groups that crossed the threshold during this evaluation, rather than every group currently over it. Use this to report only what changed. Each entry has the same shape as .Result.Groups. For correct formatting, wrap array variables with toJSON. | |
.Result.RecoveredGroups | array | Groups that dropped back below the threshold during this evaluation, while other groups remain over it. Only populated when the trigger’s alert type is "on_group_change". Each entry has the same shape as .Result.Groups. For correct formatting, wrap array variables with toJSON. | |
.Result.Groups[0].Group.Key | string | Column name used for grouping results. Helps identify which metric or dimension caused the trigger. | ”endpoint” |
.Result.Groups[0].Group.Value | any | Value of the grouping column for this group. | ”/1/example/endpoint” |
.Result.Groups[0].Result | float | Query result for this specific group. Can be included in alert messages to show actual values. | 10 |
.Alert.InstanceID | string | Unique identifier for this specific trigger firing. Useful for deduplication or correlating alerts. | ”c0fd570f-e920-4022-96d2-39e7df3e0621” |
.Alert.Description | string | Short summary of the alert. We suggest including which groups or values caused it to fire. | ”test environment:\nCurrently less than or equal to threshold value (less than or equal to) for location: rear (value 0), location: port (value 0)“ |
.Alert.Status | string | Status of the trigger. Possible values include: "TRIGGERED" (indicates the condition was met), "OK" (means it is normal). | ”TRIGGERED” |
.Alert.Summary | string | Concise summary of the alert suitable for notifications or messages. | ”TEST: Triggered: Rear Deflector Shield Overload” |
.Alert.IsTest | boolean | Indicates whether this alert firing is a test or a real evaluation. | true |
.Alert.Timestamp | time | Timestamp for the time at which the Trigger was evaluated. Useful for tracking and audit purposes. | 2024-11-21T16:40:22.896871538Z |
.Alert.Type | string | Type of trigger evaluation. Possible values include: "on_change" (fires when the status changes), "on_true" (fires whenever the condition is true), "on_group_change" (fires when an individual group crosses or drops below the threshold, without waiting for every group to recover). | “on_change” |
.Alert.InvestigateURL | string | Direct link to the Canvas investigation for this alert. Populated when Honeycomb Intelligence is enabled; empty otherwise. | "https://ui.honeycomb.test/rebel-alliance/v2/canvas/investigations/4a77775a78666350356b48" |
.Recipient.Name | string | Name of the person or system receiving the alert. | ”Primary On Call” |
.Recipient.Secret | string | Shared secret of the recipient. Useful if you need to include authorization in the request body. | ”some-shared-secret” |