Skip to content

Commit efa8b93

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 46cbd6f of spec repo (#300)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 0e39995 commit efa8b93

File tree

8 files changed

+25
-22
lines changed

8 files changed

+25
-22
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.4.1.dev2",
7-
"regenerated": "2021-02-26 15:42:08.619215",
8-
"spec_repo_commit": "ac9282d"
7+
"regenerated": "2021-03-01 15:48:05.906838",
8+
"spec_repo_commit": "46cbd6f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev2",
12-
"regenerated": "2021-02-26 15:42:45.050113",
13-
"spec_repo_commit": "ac9282d"
12+
"regenerated": "2021-03-01 15:48:43.449211",
13+
"spec_repo_commit": "46cbd6f"
1414
}
1515
}
1616
}

docs/v1/MonitorOptions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**enable_logs_sample** | **bool** | Whether or not to send a log sample when the log monitor triggers. | [optional]
1010
**escalation_message** | **str** | A message to include with a re-notification. Supports the &#x60;@username&#x60; notification we allow elsewhere. Not applicable if &#x60;renotify_interval&#x60; is &#x60;None&#x60;. | [optional] if omitted the server will use the default value of "none"
1111
**evaluation_delay** | **int, none_type** | Time (in seconds) to delay evaluation, as a non-negative integer. For example, if the value is set to &#x60;300&#x60; (5min), the timeframe is set to &#x60;last_5m&#x60; and the time is 7:00, the monitor evaluates data from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor always has data during evaluation. | [optional]
12+
**groupby_simple_monitor** | **bool** | Whether the log alert monitor triggers a single alert or multiple alerts when any group breaches a threshold. | [optional]
1213
**include_tags** | **bool** | A Boolean indicating whether notifications from this monitor automatically inserts its triggering tags into the title. **Examples** - If &#x60;True&#x60;, &#x60;[Triggered on {host:h1}] Monitor Title&#x60; - If &#x60;False&#x60;, &#x60;[Triggered] Monitor Title&#x60; | [optional] if omitted the server will use the default value of True
1314
**locked** | **bool** | Whether or not the monitor is locked (only editable by creator and admins). | [optional]
1415
**min_failure_duration** | **int, none_type** | How long the test should be in failure before alerting (integer, number of seconds, max 7200). | [optional] if omitted the server will use the default value of 0

docs/v1/MonitorsApi.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ with ApiClient(configuration) as api_client:
150150
enable_logs_sample=True,
151151
escalation_message="none",
152152
evaluation_delay=1,
153+
groupby_simple_monitor=True,
153154
include_tags=True,
154155
locked=True,
155156
min_failure_duration=0,
@@ -562,6 +563,7 @@ with ApiClient(configuration) as api_client:
562563
enable_logs_sample=True,
563564
escalation_message="none",
564565
evaluation_delay=1,
566+
groupby_simple_monitor=True,
565567
include_tags=True,
566568
locked=True,
567569
min_failure_duration=0,
@@ -714,6 +716,7 @@ with ApiClient(configuration) as api_client:
714716
enable_logs_sample=True,
715717
escalation_message="none",
716718
evaluation_delay=1,
719+
groupby_simple_monitor=True,
717720
include_tags=True,
718721
locked=True,
719722
min_failure_duration=0,

src/datadog_api_client/v1/model/monitor_options.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def openapi_types():
9393
int,
9494
none_type,
9595
), # noqa: E501
96+
"groupby_simple_monitor": (bool,), # noqa: E501
9697
"include_tags": (bool,), # noqa: E501
9798
"locked": (bool,), # noqa: E501
9899
"min_failure_duration": (
@@ -141,6 +142,7 @@ def discriminator():
141142
"enable_logs_sample": "enable_logs_sample", # noqa: E501
142143
"escalation_message": "escalation_message", # noqa: E501
143144
"evaluation_delay": "evaluation_delay", # noqa: E501
145+
"groupby_simple_monitor": "groupby_simple_monitor", # noqa: E501
144146
"include_tags": "include_tags", # noqa: E501
145147
"locked": "locked", # noqa: E501
146148
"min_failure_duration": "min_failure_duration", # noqa: E501
@@ -211,6 +213,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
211213
enable_logs_sample (bool): Whether or not to send a log sample when the log monitor triggers.. [optional] # noqa: E501
212214
escalation_message (str): A message to include with a re-notification. Supports the `@username` notification we allow elsewhere. Not applicable if `renotify_interval` is `None`.. [optional] if omitted the server will use the default value of "none" # noqa: E501
213215
evaluation_delay (int, none_type): Time (in seconds) to delay evaluation, as a non-negative integer. For example, if the value is set to `300` (5min), the timeframe is set to `last_5m` and the time is 7:00, the monitor evaluates data from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor always has data during evaluation.. [optional] # noqa: E501
216+
groupby_simple_monitor (bool): Whether the log alert monitor triggers a single alert or multiple alerts when any group breaches a threshold.. [optional] # noqa: E501
214217
include_tags (bool): A Boolean indicating whether notifications from this monitor automatically inserts its triggering tags into the title. **Examples** - If `True`, `[Triggered on {host:h1}] Monitor Title` - If `False`, `[Triggered] Monitor Title`. [optional] if omitted the server will use the default value of True # noqa: E501
215218
locked (bool): Whether or not the monitor is locked (only editable by creator and admins).. [optional] # noqa: E501
216219
min_failure_duration (int, none_type): How long the test should be in failure before alerting (integer, number of seconds, max 7200).. [optional] if omitted the server will use the default value of 0 # noqa: E501

src/datadog_api_client/v1/openapi.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4361,6 +4361,10 @@ components:
43614361
format: int64
43624362
nullable: true
43634363
type: integer
4364+
groupby_simple_monitor:
4365+
description: Whether the log alert monitor triggers a single alert or multiple
4366+
alerts when any group breaches a threshold.
4367+
type: boolean
43644368
include_tags:
43654369
default: true
43664370
description: 'A Boolean indicating whether notifications from this monitor
@@ -18465,11 +18469,9 @@ tags:
1846518469
\ be graphed on Datadog\u2019s dashboards\n- Query metrics from any time period\n\
1846618470
- Modify tag configurations for metrics\n\n**Note**: A graph can only contain\
1846718471
\ a set number of points\nand as the timeframe over which a metric is viewed increases,\n\
18468-
aggregation between points occurs to stay below that set number.\n\nDatadog has\
18469-
\ a soft limit of 100 timeseries per host\nwhere a timeseries is defined as a\
18470-
\ unique combination of metric name and tag.\n\nThe Post, Patch, and Delete `manage_tags`\
18471-
\ API methods can only be performed by\na user who has the `Manage Tags for Metrics`\
18472-
\ permission."
18472+
aggregation between points occurs to stay below that set number.\n\nThe Post,\
18473+
\ Patch, and Delete `manage_tags` API methods can only be performed by\na user\
18474+
\ who has the `Manage Tags for Metrics` permission."
1847318475
name: Metrics
1847418476
- description: '[Monitors](https://docs.datadoghq.com/monitors) allow you to watch
1847518477
a metric or check that you care about,

src/datadog_api_client/v2/openapi.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8045,11 +8045,9 @@ tags:
80458045
\ be graphed on Datadog\u2019s dashboards\n- Query metrics from any time period\n\
80468046
- Modify tag configurations for metrics\n\n**Note**: A graph can only contain\
80478047
\ a set number of points\nand as the timeframe over which a metric is viewed increases,\n\
8048-
aggregation between points occurs to stay below that set number.\n\nDatadog has\
8049-
\ a soft limit of 100 timeseries per host\nwhere a timeseries is defined as a\
8050-
\ unique combination of metric name and tag.\n\nThe Post, Patch, and Delete `manage_tags`\
8051-
\ API methods can only be performed by\na user who has the `Manage Tags for Metrics`\
8052-
\ permission."
8048+
aggregation between points occurs to stay below that set number.\n\nThe Post,\
8049+
\ Patch, and Delete `manage_tags` API methods can only be performed by\na user\
8050+
\ who has the `Manage Tags for Metrics` permission."
80538051
name: Metrics
80548052
- description: The processes API allows you to query processes data for your organization.
80558053
name: Processes

tests/v1/features/metrics.feature

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ Feature: Metrics
55
Modify tag configurations for metrics **Note**: A graph can only contain
66
a set number of points and as the timeframe over which a metric is viewed
77
increases, aggregation between points occurs to stay below that set
8-
number. Datadog has a soft limit of 100 timeseries per host where a
9-
timeseries is defined as a unique combination of metric name and tag. The
10-
Post, Patch, and Delete `manage_tags` API methods can only be performed by
11-
a user who has the `Manage Tags for Metrics` permission.
8+
number. The Post, Patch, and Delete `manage_tags` API methods can only be
9+
performed by a user who has the `Manage Tags for Metrics` permission.
1210

1311
Background:
1412
Given a valid "apiKeyAuth" key in the system

tests/v2/features/metrics.feature

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ Feature: Metrics
55
Modify tag configurations for metrics **Note**: A graph can only contain
66
a set number of points and as the timeframe over which a metric is viewed
77
increases, aggregation between points occurs to stay below that set
8-
number. Datadog has a soft limit of 100 timeseries per host where a
9-
timeseries is defined as a unique combination of metric name and tag. The
10-
Post, Patch, and Delete `manage_tags` API methods can only be performed by
11-
a user who has the `Manage Tags for Metrics` permission.
8+
number. The Post, Patch, and Delete `manage_tags` API methods can only be
9+
performed by a user who has the `Manage Tags for Metrics` permission.
1210

1311
Background:
1412
Given a valid "apiKeyAuth" key in the system

0 commit comments

Comments
 (0)