@@ -123,6 +123,7 @@ def check_can_delete_monitor_with_http_info(monitor_ids, opts = {})
123123 # - watchdog: `event alert`
124124 # - event-v2: `event-v2 alert`
125125 # - audit: `audit alert`
126+ # - error-tracking: `error-tracking alert`
126127 #
127128 # #### Query Types
128129 #
@@ -257,6 +258,18 @@ def check_can_delete_monitor_with_http_info(monitor_ids, opts = {})
257258 # - **`#`** an integer or decimal number used to set the threshold.
258259 #
259260 # **NOTE** Only available in closed beta on US1, EU, US3 and US5.
261+ #
262+ # **Error Tracking Alert Query**
263+ #
264+ # Example(RUM): `error-tracking-rum(query).rollup(rollup_method[, measure]).last(time_window) operator #`
265+ # Example(APM Traces): `error-tracking-traces(query).rollup(rollup_method[, measure]).last(time_window) operator #`
266+ #
267+ # - **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).
268+ # - **`rollup_method`** The stats roll-up method - supports `count`, `avg`, and `cardinality`.
269+ # - **`measure`** For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use.
270+ # - **`time_window`** #m (between 1 and 2880), #h (between 1 and 48).
271+ # - **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`.
272+ # - **`#`** an integer or decimal number used to set the threshold.
260273 # @param body [Monitor] Create a monitor request body.
261274 # @param opts [Hash] the optional parameters
262275 # @return [Monitor]
@@ -291,6 +304,7 @@ def create_monitor(body, opts = {})
291304 # - watchdog: `event alert`
292305 # - event-v2: `event-v2 alert`
293306 # - audit: `audit alert`
307+ # - error-tracking: `error-tracking alert`
294308 #
295309 # #### Query Types
296310 #
@@ -425,6 +439,18 @@ def create_monitor(body, opts = {})
425439 # - **`#`** an integer or decimal number used to set the threshold.
426440 #
427441 # **NOTE** Only available in closed beta on US1, EU, US3 and US5.
442+ #
443+ # **Error Tracking Alert Query**
444+ #
445+ # Example(RUM): `error-tracking-rum(query).rollup(rollup_method[, measure]).last(time_window) operator #`
446+ # Example(APM Traces): `error-tracking-traces(query).rollup(rollup_method[, measure]).last(time_window) operator #`
447+ #
448+ # - **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).
449+ # - **`rollup_method`** The stats roll-up method - supports `count`, `avg`, and `cardinality`.
450+ # - **`measure`** For `avg` and cardinality `rollup_method` - specify the measure or the facet name you want to use.
451+ # - **`time_window`** #m (between 1 and 2880), #h (between 1 and 48).
452+ # - **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`.
453+ # - **`#`** an integer or decimal number used to set the threshold.
428454 # @param body [Monitor] Create a monitor request body.
429455 # @param opts [Hash] the optional parameters
430456 # @return [Array<(Monitor, Integer, Hash)>] Monitor data, response status code and response headers
0 commit comments