Skip to content

Commit cbc9eb3

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add enable_samples monitor option (#948)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent ae03bd1 commit cbc9eb3

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
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.4",
7-
"regenerated": "2022-12-13 17:18:35.179183",
8-
"spec_repo_commit": "8cd868ba"
7+
"regenerated": "2022-12-13 20:15:30.242009",
8+
"spec_repo_commit": "cb07e37b"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-12-13 17:18:35.195191",
13-
"spec_repo_commit": "8cd868ba"
12+
"regenerated": "2022-12-13 20:15:30.253488",
13+
"spec_repo_commit": "cb07e37b"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6155,6 +6155,10 @@ components:
61556155
enable_logs_sample:
61566156
description: Whether or not to send a log sample when the log monitor triggers.
61576157
type: boolean
6158+
enable_samples:
6159+
description: Whether or not to send a list of samples when the monitor triggers.
6160+
This is only used by CI Test and Pipeline monitors.
6161+
type: boolean
61586162
escalation_message:
61596163
default: none
61606164
description: 'We recommend using the [is_renotify](https://docs.datadoghq.com/monitors/notify/?tab=is_alert#renotify),

packages/datadog-api-client-v1/models/MonitorOptions.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ export class MonitorOptions {
3030
* Whether or not to send a log sample when the log monitor triggers.
3131
*/
3232
"enableLogsSample"?: boolean;
33+
/**
34+
* Whether or not to send a list of samples when the monitor triggers. This is only used by CI Test and Pipeline monitors.
35+
*/
36+
"enableSamples"?: boolean;
3337
/**
3438
* We recommend using the [is_renotify](https://docs.datadoghq.com/monitors/notify/?tab=is_alert#renotify),
3539
* block in the original message instead.
@@ -192,6 +196,10 @@ export class MonitorOptions {
192196
baseName: "enable_logs_sample",
193197
type: "boolean",
194198
},
199+
enableSamples: {
200+
baseName: "enable_samples",
201+
type: "boolean",
202+
},
195203
escalationMessage: {
196204
baseName: "escalation_message",
197205
type: "string",

0 commit comments

Comments
 (0)