Skip to content

Commit 77c642c

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit a88bcc5 of spec repo
1 parent eda669f commit 77c642c

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11798,7 +11798,8 @@ components:
1179811798
The default option results in different behavior depending on the monitor query type.
1179911799
For monitors using Count queries, an empty monitor evaluation is treated as 0 and is compared to the threshold conditions.
1180011800
For monitors using any query type other than Count, for example Gauge, Measure, or Rate, the monitor shows the last known status.
11801-
This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
11801+
This option is available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
11802+
The option is also required for metric monitors that use `scheduling_options.custom_schedule`.
1180211803
enum:
1180311804
- "default"
1180411805
- "show_no_data"

features/v1/monitors.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Feature: Monitors
119119
And the response "name" is equal to "{{ unique }}"
120120
And the response "query" is equal to "avg(current_1mo):avg:system.load.5{*} > 0.5"
121121

122-
@team:DataDog/monitor-app
122+
@oncall-page:monitor-app @team:DataDog/monitor-app
123123
Scenario: Create a metric monitor with a custom schedule returns "OK" response
124124
Given new "CreateMonitor" request
125125
And body with value {"message":"some message Notify: @hipchat-channel","name":"{{ unique }}","query":"avg(current_1mo):avg:system.load.5{*} > 0.5","tags":[],"options":{"thresholds":{"critical":0.5},"notify_audit":false,"include_tags":false,"on_missing_data":"default","scheduling_options":{"evaluation_window":{"day_starts":"04:00", "month_starts":1},"custom_schedule":{"recurrences":[{"rrule":"FREQ=DAILY;INTERVAL=1","timezone":"America/Los_Angeles","start":"2024-10-26T09:13:00"}]}}},"type":"query alert", "draft_status": "published"}

lib/datadog_api_client/v1/models/monitor_options.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ class MonitorOptions
111111
# The default option results in different behavior depending on the monitor query type.
112112
# For monitors using Count queries, an empty monitor evaluation is treated as 0 and is compared to the threshold conditions.
113113
# For monitors using any query type other than Count, for example Gauge, Measure, or Rate, the monitor shows the last known status.
114-
# This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
114+
# This option is available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
115+
# The option is also required for metric monitors that use `scheduling_options.custom_schedule`.
115116
attr_accessor :on_missing_data
116117

117118
# The number of minutes after the last notification before a monitor re-notifies on the current status.

lib/datadog_api_client/v1/models/on_missing_data_option.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ module DatadogAPIClient::V1
2121
# The default option results in different behavior depending on the monitor query type.
2222
# For monitors using Count queries, an empty monitor evaluation is treated as 0 and is compared to the threshold conditions.
2323
# For monitors using any query type other than Count, for example Gauge, Measure, or Rate, the monitor shows the last known status.
24-
# This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
24+
# This option is available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
25+
# The option is also required for metric monitors that use `scheduling_options.custom_schedule`.
2526
class OnMissingDataOption
2627
include BaseEnumModel
2728

0 commit comments

Comments
 (0)