Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11815,7 +11815,8 @@ components:
The default option results in different behavior depending on the monitor query type.
For monitors using Count queries, an empty monitor evaluation is treated as 0 and is compared to the threshold conditions.
For monitors using any query type other than Count, for example Gauge, Measure, or Rate, the monitor shows the last known status.
This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
This option is available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
It is also required for metric monitors that use `scheduling_options.custom_schedule`.
enum:
- "default"
- "show_no_data"
Expand Down
3 changes: 2 additions & 1 deletion lib/datadog_api_client/v1/models/monitor_options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ class MonitorOptions
# The default option results in different behavior depending on the monitor query type.
# For monitors using Count queries, an empty monitor evaluation is treated as 0 and is compared to the threshold conditions.
# For monitors using any query type other than Count, for example Gauge, Measure, or Rate, the monitor shows the last known status.
# This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
# This option is available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
# It is also required for metric monitors that use `scheduling_options.custom_schedule`.
attr_accessor :on_missing_data

# The number of minutes after the last notification before a monitor re-notifies on the current status.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ module DatadogAPIClient::V1
# The default option results in different behavior depending on the monitor query type.
# For monitors using Count queries, an empty monitor evaluation is treated as 0 and is compared to the threshold conditions.
# For monitors using any query type other than Count, for example Gauge, Measure, or Rate, the monitor shows the last known status.
# This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
# This option is available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
# It is also required for metric monitors that use `scheduling_options.custom_schedule`.
class OnMissingDataOption
include BaseEnumModel

Expand Down
Loading