From 6da6750eb58d3a808149c45de90c20fdb252b744 Mon Sep 17 00:00:00 2001 From: Rambatino Date: Wed, 3 Apr 2024 16:50:08 +0100 Subject: [PATCH] chore(monitors): updated monitors to pass in resolvable flag which is required by the API --- axiom/monitors.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/axiom/monitors.go b/axiom/monitors.go index 2a0a8c52..5f164bac 100644 --- a/axiom/monitors.go +++ b/axiom/monitors.go @@ -74,6 +74,9 @@ type Monitor struct { AlertOnNoData bool `json:"alertOnNoData"` // NotifyByGroup tracks each none-time group independently NotifyByGroup bool `json:"notifyByGroup"` + // Resolvable determines whether the events triggered by the monitor + // are resolvable. This has no effect on threshold monitors + Resolvable bool `json:"resolvable"` // APLQuery is the APL query to use for the monitor. APLQuery string `json:"aplQuery"` // Description of the monitor.