Skip to content

Commit 0dae669

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update docs for monitor types having left beta (#1700)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent f079744 commit 0dae669

File tree

3 files changed

+7
-66
lines changed

3 files changed

+7
-66
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2023-10-05 15:54:41.516135",
8-
"spec_repo_commit": "432a5a71"
7+
"regenerated": "2023-10-05 18:57:55.441668",
8+
"spec_repo_commit": "faa2c8d3"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2023-10-05 15:54:41.542763",
13-
"spec_repo_commit": "432a5a71"
12+
"regenerated": "2023-10-05 18:57:55.456179",
13+
"spec_repo_commit": "faa2c8d3"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -25694,37 +25694,8 @@ paths:
2569425694
##### Event Alert Query
2569525695

2569625696

25697-
Example: `events(''sources:nagios status:error,warning priority:normal tags:
25698-
"string query"'').rollup("count").last("1h")"`
25699-
25700-
25701-
- `event`, the event query string:
25702-
25703-
- `string_query` free text query to match against event title and text.
25704-
25705-
- `sources` event sources (comma-separated).
25706-
25707-
- `status` event statuses (comma-separated). Valid options: error, warn, and
25708-
info.
25709-
25710-
- `priority` event priorities (comma-separated). Valid options: low, normal,
25711-
all.
25712-
25713-
- `host` event reporting host (comma-separated).
25714-
25715-
- `tags` event tags (comma-separated).
25716-
25717-
- `excluded_tags` excluded event tags (comma-separated).
25718-
25719-
- `rollup` the stats roll-up method. `count` is the only supported method
25720-
now.
25721-
25722-
- `last` the timeframe to roll up the counts. Examples: 45m, 4h. Supported
25723-
timeframes: m, h and d. This value should not exceed 48 hours.
25724-
25725-
25726-
**NOTE** The Event Alert Query is being deprecated and replaced by the Event
25727-
V2 Alert Query. For more information, see the [Event Migration guide](https://docs.datadoghq.com/events/guides/migrating_to_new_events_features/).
25697+
**Note:** The Event Alert Query has been replaced by the Event V2 Alert Query.
25698+
For more information, see the [Event Migration guide](https://docs.datadoghq.com/service_management/events/guides/migrating_to_new_events_features/).
2572825699

2572925700

2573025701
##### Event V2 Alert Query
@@ -25856,10 +25827,6 @@ paths:
2585625827
- `#` an integer or decimal number used to set the threshold.
2585725828

2585825829

25859-
**NOTE** Only available on US1-FED and in closed beta on US1, EU, AP1, US3,
25860-
and US5.
25861-
25862-
2586325830
##### CI Pipelines Alert Query
2586425831

2586525832

@@ -25882,9 +25849,6 @@ paths:
2588225849
- `#` an integer or decimal number used to set the threshold.
2588325850

2588425851

25885-
**NOTE** CI Pipeline monitors are in alpha on US1, EU, AP1, US3, and US5.
25886-
25887-
2588825852
##### CI Tests Alert Query
2588925853

2589025854

@@ -25907,10 +25871,6 @@ paths:
2590725871
- `#` an integer or decimal number used to set the threshold.
2590825872

2590925873

25910-
**NOTE** CI Test monitors are available only in closed beta on US1, EU, AP1,
25911-
US3, and US5.
25912-
25913-
2591425874
##### Error Tracking Alert Query
2591525875

2591625876

src/datadog_api_client/v1/api/monitors_api.py

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -437,20 +437,7 @@ def create_monitor(
437437
438438
**Event Alert Query**
439439
440-
Example: ``events('sources:nagios status:error,warning priority:normal tags: "string query"').rollup("count").last("1h")"``
441-
442-
* ``event`` , the event query string:
443-
* ``string_query`` free text query to match against event title and text.
444-
* ``sources`` event sources (comma-separated).
445-
* ``status`` event statuses (comma-separated). Valid options: error, warn, and info.
446-
* ``priority`` event priorities (comma-separated). Valid options: low, normal, all.
447-
* ``host`` event reporting host (comma-separated).
448-
* ``tags`` event tags (comma-separated).
449-
* ``excluded_tags`` excluded event tags (comma-separated).
450-
* ``rollup`` the stats roll-up method. ``count`` is the only supported method now.
451-
* ``last`` the timeframe to roll up the counts. Examples: 45m, 4h. Supported timeframes: m, h and d. This value should not exceed 48 hours.
452-
453-
**NOTE** The Event Alert Query is being deprecated and replaced by the Event V2 Alert Query. For more information, see the `Event Migration guide <https://docs.datadoghq.com/events/guides/migrating_to_new_events_features/>`_.
440+
**Note:** The Event Alert Query has been replaced by the Event V2 Alert Query. For more information, see the `Event Migration guide <https://docs.datadoghq.com/service_management/events/guides/migrating_to_new_events_features/>`_.
454441
455442
**Event V2 Alert Query**
456443
@@ -516,8 +503,6 @@ def create_monitor(
516503
* ``operator`` ``<`` , ``<=`` , ``>`` , ``>=`` , ``==`` , or ``!=``.
517504
* ``#`` an integer or decimal number used to set the threshold.
518505
519-
**NOTE** Only available on US1-FED and in closed beta on US1, EU, AP1, US3, and US5.
520-
521506
**CI Pipelines Alert Query**
522507
523508
Example: ``ci-pipelines(query).rollup(rollup_method[, measure]).last(time_window) operator #``
@@ -529,8 +514,6 @@ def create_monitor(
529514
* ``operator`` ``<`` , ``<=`` , ``>`` , ``>=`` , ``==`` , or ``!=``.
530515
* ``#`` an integer or decimal number used to set the threshold.
531516
532-
**NOTE** CI Pipeline monitors are in alpha on US1, EU, AP1, US3, and US5.
533-
534517
**CI Tests Alert Query**
535518
536519
Example: ``ci-tests(query).rollup(rollup_method[, measure]).last(time_window) operator #``
@@ -542,8 +525,6 @@ def create_monitor(
542525
* ``operator`` ``<`` , ``<=`` , ``>`` , ``>=`` , ``==`` , or ``!=``.
543526
* ``#`` an integer or decimal number used to set the threshold.
544527
545-
**NOTE** CI Test monitors are available only in closed beta on US1, EU, AP1, US3, and US5.
546-
547528
**Error Tracking Alert Query**
548529
549530
Example(RUM): ``error-tracking-rum(query).rollup(rollup_method[, measure]).last(time_window) operator #``

0 commit comments

Comments
 (0)