@@ -29252,19 +29252,22 @@ paths:
29252
29252
or the facet name you want to use.\n- `time_window` #m (between 1 and 2880),
29253
29253
#h (between 1 and 48).\n- `operator` `<`, `<=`, `>`, `>=`, `==`, or `!=`.\n-
29254
29254
`#` an integer or decimal number used to set the threshold.\n\n**Cost Alert
29255
- Query**\n\nExample: `formula(query).last (time_window).function(parameter)
29255
+ Query**\n\nExample: `formula(query).timeframe_type (time_window).function(parameter)
29256
29256
operator #`\n\n- `query` The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).\n-
29257
- `time_window` - supports daily roll-up e.g. `7d`\n- `function` - [optional,
29258
- defaults to `threshold` monitor if omitted] supports `change`, `anomaly`,
29259
- `forecast`\n- `parameter` Specify the parameter of the type\n - for `change`:\n
29260
- \ - supports `relative`, `absolute`\n - [optional] supports `#`,
29261
- where `#` is an integer or decimal number used to set the threshold\n -
29262
- for `anomaly`:\n - supports `direction=both`, `direction=above`, `direction=below`\n
29263
- \ - [optional] supports `threshold=#`, where `#` is an integer or decimal
29264
- number used to set the threshold\n- `operator`\n - for `threshold` supports
29265
- `<`, `<=`, `>`, `>=`, `==`, or `!=`\n - for `change` supports `>`, `<`\n
29266
- \ - for `anomaly` supports `>=`\n - for `forecast` supports `>`\n- `#`
29267
- an integer or decimal number used to set the threshold."
29257
+ `timeframe_type` The timeframe type to evaluate the cost\n - for `forecast`
29258
+ supports `current`\n - for `change`, `anomaly`, `threshold` supports
29259
+ `last`\n- `time_window` - supports daily roll-up e.g. `7d`\n- `function` -
29260
+ [optional, defaults to `threshold` monitor if omitted] supports `change`,
29261
+ `anomaly`, `forecast`\n- `parameter` Specify the parameter of the type\n -
29262
+ for `change`:\n - supports `relative`, `absolute`\n - [optional]
29263
+ supports `#`, where `#` is an integer or decimal number used to set the threshold\n
29264
+ \ - for `anomaly`:\n - supports `direction=both`, `direction=above`,
29265
+ `direction=below`\n - [optional] supports `threshold=#`, where `#`
29266
+ is an integer or decimal number used to set the threshold\n- `operator`\n
29267
+ \ - for `threshold` supports `<`, `<=`, `>`, `>=`, `==`, or `!=`\n -
29268
+ for `change` supports `>`, `<`\n - for `anomaly` supports `>=`\n - for
29269
+ `forecast` supports `>`\n- `#` an integer or decimal number used to set the
29270
+ threshold."
29268
29271
operationId: CreateMonitor
29269
29272
requestBody:
29270
29273
content:
0 commit comments