Skip to content

Commit 72b0948

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Regenerate client from commit 24e57ca of spec repo (#121)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 1212e84 commit 72b0948

File tree

6 files changed

+25
-16
lines changed

6 files changed

+25
-16
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.2.0",
7-
"regenerated": "2020-10-20 12:07:06.094809",
8-
"spec_repo_commit": "fbcdf73"
7+
"regenerated": "2020-10-21 11:58:56.969919",
8+
"spec_repo_commit": "24e57ca"
99
},
1010
"v2": {
1111
"apigentools_version": "1.2.0",
12-
"regenerated": "2020-10-20 12:07:16.005769",
13-
"spec_repo_commit": "fbcdf73"
12+
"regenerated": "2020-10-21 11:59:06.380597",
13+
"spec_repo_commit": "24e57ca"
1414
}
1515
}
1616
}

docs/v1/MonitorOptions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Name | Type | Description | Notes
2020
**renotify_interval** | **int, none_type** | The number of minutes after the last notification before a monitor re-notifies on the current status. It only re-notifies if it’s not resolved. | [optional]
2121
**require_full_window** | **bool** | A Boolean indicating whether this monitor needs a full window of data before it’s evaluated. We highly recommend you set this to &#x60;false&#x60; for sparse metrics, otherwise some evaluations are skipped. For “on average” “at all times” and “in total” aggregation, default is true. &#x60;False&#x60; otherwise. | [optional] if omitted the server will use the default value of True
2222
**silenced** | **{str: (int, none_type)}** | Information about the downtime applied to the monitor. | [optional]
23-
**synthetics_check_id** | **int, none_type** | ID of the corresponding Synthetic check. | [optional]
23+
**synthetics_check_id** | **str, none_type** | ID of the corresponding Synthetic check. | [optional]
2424
**threshold_windows** | [**MonitorThresholdWindowOptions**](MonitorThresholdWindowOptions.md) | | [optional]
2525
**thresholds** | [**MonitorThresholds**](MonitorThresholds.md) | | [optional]
2626
**timeout_h** | **int, none_type** | The number of hours of the monitor not reporting data before it automatically resolves from a triggered state. | [optional]

docs/v1/MonitorsApi.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
183183
silenced={
184184
"key": 1,
185185
},
186-
synthetics_check_id=1,
186+
synthetics_check_id="synthetics_check_id_example",
187187
threshold_windows=MonitorThresholdWindowOptions(
188188
recovery_window="recovery_window_example",
189189
trigger_window="trigger_window_example",
@@ -631,7 +631,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
631631
silenced={
632632
"key": 1,
633633
},
634-
synthetics_check_id=1,
634+
synthetics_check_id="synthetics_check_id_example",
635635
threshold_windows=MonitorThresholdWindowOptions(
636636
recovery_window="recovery_window_example",
637637
trigger_window="trigger_window_example",
@@ -789,7 +789,7 @@ with datadog_api_client.v1.ApiClient(configuration) as api_client:
789789
silenced={
790790
"key": 1,
791791
},
792-
synthetics_check_id=1,
792+
synthetics_check_id="synthetics_check_id_example",
793793
threshold_windows=MonitorThresholdWindowOptions(
794794
recovery_window="recovery_window_example",
795795
trigger_window="trigger_window_example",

src/datadog_api_client/v1/model/monitor_options.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def openapi_types():
102102
'renotify_interval': (int, none_type,), # noqa: E501
103103
'require_full_window': (bool,), # noqa: E501
104104
'silenced': ({str: (int, none_type)},), # noqa: E501
105-
'synthetics_check_id': (int, none_type,), # noqa: E501
105+
'synthetics_check_id': (str, none_type,), # noqa: E501
106106
'threshold_windows': (MonitorThresholdWindowOptions,), # noqa: E501
107107
'thresholds': (MonitorThresholds,), # noqa: E501
108108
'timeout_h': (int, none_type,), # noqa: E501
@@ -198,7 +198,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
198198
renotify_interval (int, none_type): The number of minutes after the last notification before a monitor re-notifies on the current status. It only re-notifies if it’s not resolved.. [optional] # noqa: E501
199199
require_full_window (bool): A Boolean indicating whether this monitor needs a full window of data before it’s evaluated. We highly recommend you set this to &#x60;false&#x60; for sparse metrics, otherwise some evaluations are skipped. For “on average” “at all times” and “in total” aggregation, default is true. &#x60;False&#x60; otherwise.. [optional] if omitted the server will use the default value of True # noqa: E501
200200
silenced ({str: (int, none_type)}): Information about the downtime applied to the monitor.. [optional] # noqa: E501
201-
synthetics_check_id (int, none_type): ID of the corresponding Synthetic check.. [optional] # noqa: E501
201+
synthetics_check_id (str, none_type): ID of the corresponding Synthetic check.. [optional] # noqa: E501
202202
threshold_windows (MonitorThresholdWindowOptions): [optional] # noqa: E501
203203
thresholds (MonitorThresholds): [optional] # noqa: E501
204204
timeout_h (int, none_type): The number of hours of the monitor not reporting data before it automatically resolves from a triggered state.. [optional] # noqa: E501

src/datadog_api_client/v1/openapi.yaml

+8-4
Original file line numberDiff line numberDiff line change
@@ -3926,9 +3926,8 @@ components:
39263926
synthetics_check_id:
39273927
deprecated: true
39283928
description: ID of the corresponding Synthetic check.
3929-
format: int64
39303929
nullable: true
3931-
type: integer
3930+
type: string
39323931
threshold_windows:
39333932
$ref: '#/components/schemas/MonitorThresholdWindowOptions'
39343933
thresholds:
@@ -15503,8 +15502,13 @@ tags:
1550315502
\ API-related information about processors can be found in the\n [processors\
1550415503
\ documentation](https://docs.datadoghq.com/logs/processing/processors/?tab=api#lookup-processor).\n\
1550515504
\n- For more information about Pipelines, see the\n [pipeline documentation](https://docs.datadoghq.com/logs/processing).\n\
15506-
\n**Note:** These endpoints are only available for admin users.\nMake sure to\
15507-
\ use an application key created by an admin."
15505+
\n**Notes:**\n\nThese endpoints are only available for admin users.\nMake sure\
15506+
\ to use an application key created by an admin.\n\n**Grok parsing rules may effect\
15507+
\ JSON output and require\nreturned data to be configured before using in a request.**\n\
15508+
For example, if you are using the data returned from a\nrequest for another request\
15509+
\ body, and have a parsing rule\nthat uses a regex pattern like `\\s` for spaces,\
15510+
\ you will\nneed to configure all escaped spaces as `%{space}` to use\nin the\
15511+
\ body data."
1550815512
externalDocs:
1550915513
description: Find out more at
1551015514
url: https://docs.datadoghq.com/logs/processing/

tests/v1/features/logs_pipelines.feature

+7-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,13 @@ Feature: Logs Pipelines
99
documentation](https://docs.datadoghq.com/logs/processing/processors/?tab=
1010
api#lookup-processor). - For more information about Pipelines, see the
1111
[pipeline documentation](https://docs.datadoghq.com/logs/processing).
12-
**Note:** These endpoints are only available for admin users. Make sure to
13-
use an application key created by an admin.
12+
**Notes:** These endpoints are only available for admin users. Make sure
13+
to use an application key created by an admin. **Grok parsing rules may
14+
effect JSON output and require returned data to be configured before using
15+
in a request.** For example, if you are using the data returned from a
16+
request for another request body, and have a parsing rule that uses a
17+
regex pattern like `\s` for spaces, you will need to configure all escaped
18+
spaces as `%{space}` to use in the body data.
1419

1520
Background:
1621
Given a valid "apiKeyAuth" key in the system

0 commit comments

Comments
 (0)