@pulumi/datadog 4.55.0-alpha.1756359805 → 4.55.0-alpha.1756532405
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actionConnection.js +8 -8
- package/actionConnection.js.map +1 -1
- package/agentlessScanningAwsScanOptions.js +16 -16
- package/agentlessScanningAwsScanOptions.js.map +1 -1
- package/apiKey.js +7 -7
- package/apiKey.js.map +1 -1
- package/apmRetentionFilter.js +17 -17
- package/apmRetentionFilter.js.map +1 -1
- package/apmRetentionFilterOrder.js +4 -4
- package/apmRetentionFilterOrder.js.map +1 -1
- package/appBuilderApp.js +14 -14
- package/appBuilderApp.js.map +1 -1
- package/appKeyRegistration.js +4 -4
- package/appKeyRegistration.js.map +1 -1
- package/applicationKey.js +7 -7
- package/applicationKey.js.map +1 -1
- package/appsecWafCustomRule.js +21 -21
- package/appsecWafCustomRule.js.map +1 -1
- package/appsecWafExclusionFilter.js +21 -21
- package/appsecWafExclusionFilter.js.map +1 -1
- package/authnMapping.js +11 -11
- package/authnMapping.js.map +1 -1
- package/aws/integration.js +26 -26
- package/aws/integration.js.map +1 -1
- package/aws/integrationAccount.js +21 -21
- package/aws/integrationAccount.js.map +1 -1
- package/aws/integrationEventBridge.js +12 -12
- package/aws/integrationEventBridge.js.map +1 -1
- package/aws/integrationExternalId.js +1 -1
- package/aws/integrationExternalId.js.map +1 -1
- package/aws/integrationLambdaArn.js +7 -7
- package/aws/integrationLambdaArn.js.map +1 -1
- package/aws/integrationLogCollection.js +7 -7
- package/aws/integrationLogCollection.js.map +1 -1
- package/aws/integrationTagFilter.js +10 -10
- package/aws/integrationTagFilter.js.map +1 -1
- package/azure/integration.js +32 -32
- package/azure/integration.js.map +1 -1
- package/childOrganization.js +10 -10
- package/childOrganization.js.map +1 -1
- package/cloudConfigurationRule.js +29 -29
- package/cloudConfigurationRule.js.map +1 -1
- package/cloudWorkloadSecurityAgentRule.js +11 -11
- package/cloudWorkloadSecurityAgentRule.js.map +1 -1
- package/cloudflare/integrationAccount.js +11 -11
- package/cloudflare/integrationAccount.js.map +1 -1
- package/complianceCustomFramework.js +14 -14
- package/complianceCustomFramework.js.map +1 -1
- package/complianceResourceEvaluationFilter.d.ts +15 -12
- package/complianceResourceEvaluationFilter.js +10 -10
- package/complianceResourceEvaluationFilter.js.map +1 -1
- package/config/vars.d.ts +8 -21
- package/config/vars.js.map +1 -1
- package/confluent/integrationAccount.js +9 -9
- package/confluent/integrationAccount.js.map +1 -1
- package/confluent/integrationResource.js +13 -13
- package/confluent/integrationResource.js.map +1 -1
- package/costBudget.js +18 -18
- package/costBudget.js.map +1 -1
- package/csmThreatsAgentRule.js +17 -17
- package/csmThreatsAgentRule.js.map +1 -1
- package/csmThreatsPolicy.js +12 -12
- package/csmThreatsPolicy.js.map +1 -1
- package/dashboard.js +30 -30
- package/dashboard.js.map +1 -1
- package/dashboardJson.js +9 -9
- package/dashboardJson.js.map +1 -1
- package/dashboardList.js +6 -6
- package/dashboardList.js.map +1 -1
- package/dataset.js +11 -11
- package/dataset.js.map +1 -1
- package/domainAllowlist.js +7 -7
- package/domainAllowlist.js.map +1 -1
- package/downtime.js +27 -27
- package/downtime.js.map +1 -1
- package/downtimeSchedule.js +20 -20
- package/downtimeSchedule.js.map +1 -1
- package/fastly/integrationAccount.js +7 -7
- package/fastly/integrationAccount.js.map +1 -1
- package/fastly/integrationService.js +8 -8
- package/fastly/integrationService.js.map +1 -1
- package/gcp/integration.js +30 -30
- package/gcp/integration.js.map +1 -1
- package/gcp/integrationSts.js +25 -25
- package/gcp/integrationSts.js.map +1 -1
- package/incidentType.js +8 -8
- package/incidentType.js.map +1 -1
- package/ipAllowlist.js +6 -6
- package/ipAllowlist.js.map +1 -1
- package/logsArchive.js +19 -19
- package/logsArchive.js.map +1 -1
- package/logsArchiveOrder.js +3 -3
- package/logsArchiveOrder.js.map +1 -1
- package/logsCustomDestination.js +22 -22
- package/logsCustomDestination.js.map +1 -1
- package/logsCustomPipeline.js +15 -15
- package/logsCustomPipeline.js.map +1 -1
- package/logsIndex.js +21 -21
- package/logsIndex.js.map +1 -1
- package/logsIndexOrder.js +6 -6
- package/logsIndexOrder.js.map +1 -1
- package/logsIntegrationPipeline.js +3 -3
- package/logsIntegrationPipeline.js.map +1 -1
- package/logsMetric.js +12 -12
- package/logsMetric.js.map +1 -1
- package/logsPipelineOrder.js +7 -7
- package/logsPipelineOrder.js.map +1 -1
- package/metricMetadata.js +16 -16
- package/metricMetadata.js.map +1 -1
- package/metricTagConfiguration.js +16 -16
- package/metricTagConfiguration.js.map +1 -1
- package/monitor.d.ts +69 -144
- package/monitor.js +73 -73
- package/monitor.js.map +1 -1
- package/monitorConfigPolicy.js +6 -6
- package/monitorConfigPolicy.js.map +1 -1
- package/monitorJson.js +6 -6
- package/monitorJson.js.map +1 -1
- package/monitorNotificationRule.js +9 -9
- package/monitorNotificationRule.js.map +1 -1
- package/ms/integrationTeamsTenantBasedHandle.js +13 -13
- package/ms/integrationTeamsTenantBasedHandle.js.map +1 -1
- package/ms/integrationTeamsWorkflowsWebhookHandle.js +7 -7
- package/ms/integrationTeamsWorkflowsWebhookHandle.js.map +1 -1
- package/observabilityPipeline.js +6 -6
- package/observabilityPipeline.js.map +1 -1
- package/onCallEscalationPolicy.js +13 -13
- package/onCallEscalationPolicy.js.map +1 -1
- package/onCallSchedule.js +11 -11
- package/onCallSchedule.js.map +1 -1
- package/onCallTeamRoutingRules.js +6 -6
- package/onCallTeamRoutingRules.js.map +1 -1
- package/openapiApi.js +4 -4
- package/openapiApi.js.map +1 -1
- package/opsgenie/serviceObject.js +12 -12
- package/opsgenie/serviceObject.js.map +1 -1
- package/organizationSettings.js +9 -9
- package/organizationSettings.js.map +1 -1
- package/package.json +2 -2
- package/pagerduty/integration.js +8 -8
- package/pagerduty/integration.js.map +1 -1
- package/pagerduty/serviceObject.js +7 -7
- package/pagerduty/serviceObject.js.map +1 -1
- package/powerpack.js +17 -17
- package/powerpack.js.map +1 -1
- package/provider.d.ts +15 -40
- package/provider.js +16 -16
- package/provider.js.map +1 -1
- package/restrictionPolicy.js +6 -6
- package/restrictionPolicy.js.map +1 -1
- package/role.js +11 -11
- package/role.js.map +1 -1
- package/rumApplication.js +7 -7
- package/rumApplication.js.map +1 -1
- package/rumMetric.js +15 -15
- package/rumMetric.js.map +1 -1
- package/rumRetentionFilter.js +17 -17
- package/rumRetentionFilter.js.map +1 -1
- package/rumRetentionFiltersOrder.js +7 -7
- package/rumRetentionFiltersOrder.js.map +1 -1
- package/securityMonitoringDefaultRule.js +18 -18
- package/securityMonitoringDefaultRule.js.map +1 -1
- package/securityMonitoringFilter.js +15 -15
- package/securityMonitoringFilter.js.map +1 -1
- package/securityMonitoringRule.js +33 -33
- package/securityMonitoringRule.js.map +1 -1
- package/securityMonitoringRuleJson.js +4 -4
- package/securityMonitoringRuleJson.js.map +1 -1
- package/securityMonitoringSuppression.js +20 -20
- package/securityMonitoringSuppression.js.map +1 -1
- package/securityNotificationRule.js +20 -20
- package/securityNotificationRule.js.map +1 -1
- package/sensitiveDataScannerGroup.js +17 -17
- package/sensitiveDataScannerGroup.js.map +1 -1
- package/sensitiveDataScannerGroupOrder.js +4 -4
- package/sensitiveDataScannerGroupOrder.js.map +1 -1
- package/sensitiveDataScannerRule.js +26 -26
- package/sensitiveDataScannerRule.js.map +1 -1
- package/serviceAccount.js +10 -10
- package/serviceAccount.js.map +1 -1
- package/serviceAccountApplicationKey.js +12 -12
- package/serviceAccountApplicationKey.js.map +1 -1
- package/serviceDefinitionYaml.js +4 -4
- package/serviceDefinitionYaml.js.map +1 -1
- package/serviceLevelObjective.js +32 -32
- package/serviceLevelObjective.js.map +1 -1
- package/slack/channel.js +10 -10
- package/slack/channel.js.map +1 -1
- package/sloCorrection.js +20 -20
- package/sloCorrection.js.map +1 -1
- package/softwareCatalog.js +4 -4
- package/softwareCatalog.js.map +1 -1
- package/spansMetric.js +10 -10
- package/spansMetric.js.map +1 -1
- package/syntheticsConcurrencyCap.js +4 -4
- package/syntheticsConcurrencyCap.js.map +1 -1
- package/syntheticsGlobalVariable.js +24 -24
- package/syntheticsGlobalVariable.js.map +1 -1
- package/syntheticsPrivateLocation.js +13 -13
- package/syntheticsPrivateLocation.js.map +1 -1
- package/syntheticsTest.js +62 -62
- package/syntheticsTest.js.map +1 -1
- package/team.js +13 -13
- package/team.js.map +1 -1
- package/teamLink.js +12 -12
- package/teamLink.js.map +1 -1
- package/teamMembership.js +9 -9
- package/teamMembership.js.map +1 -1
- package/teamPermissionSetting.js +10 -10
- package/teamPermissionSetting.js.map +1 -1
- package/user.js +14 -14
- package/user.js.map +1 -1
- package/userRole.js +7 -7
- package/userRole.js.map +1 -1
- package/utilities.js +18 -29
- package/utilities.js.map +1 -1
- package/webhook.js +13 -13
- package/webhook.js.map +1 -1
- package/webhookCustomVariable.js +10 -10
- package/webhookCustomVariable.js.map +1 -1
- package/workflowAutomation.js +18 -18
- package/workflowAutomation.js.map +1 -1
|
@@ -65,7 +65,7 @@ class MetricTagConfiguration extends pulumi.CustomResource {
|
|
|
65
65
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
66
66
|
*/
|
|
67
67
|
static get(name, id, state, opts) {
|
|
68
|
-
return new MetricTagConfiguration(name, state,
|
|
68
|
+
return new MetricTagConfiguration(name, state, { ...opts, id: id });
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* Returns true if the given object is an instance of MetricTagConfiguration. This is designed to work even
|
|
@@ -82,30 +82,30 @@ class MetricTagConfiguration extends pulumi.CustomResource {
|
|
|
82
82
|
opts = opts || {};
|
|
83
83
|
if (opts.id) {
|
|
84
84
|
const state = argsOrState;
|
|
85
|
-
resourceInputs["aggregations"] = state
|
|
86
|
-
resourceInputs["excludeTagsMode"] = state
|
|
87
|
-
resourceInputs["includePercentiles"] = state
|
|
88
|
-
resourceInputs["metricName"] = state
|
|
89
|
-
resourceInputs["metricType"] = state
|
|
90
|
-
resourceInputs["tags"] = state
|
|
85
|
+
resourceInputs["aggregations"] = state?.aggregations;
|
|
86
|
+
resourceInputs["excludeTagsMode"] = state?.excludeTagsMode;
|
|
87
|
+
resourceInputs["includePercentiles"] = state?.includePercentiles;
|
|
88
|
+
resourceInputs["metricName"] = state?.metricName;
|
|
89
|
+
resourceInputs["metricType"] = state?.metricType;
|
|
90
|
+
resourceInputs["tags"] = state?.tags;
|
|
91
91
|
}
|
|
92
92
|
else {
|
|
93
93
|
const args = argsOrState;
|
|
94
|
-
if (
|
|
94
|
+
if (args?.metricName === undefined && !opts.urn) {
|
|
95
95
|
throw new Error("Missing required property 'metricName'");
|
|
96
96
|
}
|
|
97
|
-
if (
|
|
97
|
+
if (args?.metricType === undefined && !opts.urn) {
|
|
98
98
|
throw new Error("Missing required property 'metricType'");
|
|
99
99
|
}
|
|
100
|
-
if (
|
|
100
|
+
if (args?.tags === undefined && !opts.urn) {
|
|
101
101
|
throw new Error("Missing required property 'tags'");
|
|
102
102
|
}
|
|
103
|
-
resourceInputs["aggregations"] = args
|
|
104
|
-
resourceInputs["excludeTagsMode"] = args
|
|
105
|
-
resourceInputs["includePercentiles"] = args
|
|
106
|
-
resourceInputs["metricName"] = args
|
|
107
|
-
resourceInputs["metricType"] = args
|
|
108
|
-
resourceInputs["tags"] = args
|
|
103
|
+
resourceInputs["aggregations"] = args?.aggregations;
|
|
104
|
+
resourceInputs["excludeTagsMode"] = args?.excludeTagsMode;
|
|
105
|
+
resourceInputs["includePercentiles"] = args?.includePercentiles;
|
|
106
|
+
resourceInputs["metricName"] = args?.metricName;
|
|
107
|
+
resourceInputs["metricType"] = args?.metricType;
|
|
108
|
+
resourceInputs["tags"] = args?.tags;
|
|
109
109
|
}
|
|
110
110
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
111
111
|
super(MetricTagConfiguration.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metricTagConfiguration.js","sourceRoot":"","sources":["../metricTagConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"metricTagConfiguration.js","sourceRoot":"","sources":["../metricTagConfiguration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;YAC3D,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,EAAE,kBAAkB,CAAC;YACjE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAqD,CAAC;YACnE,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AA5FL,wDA6FC;AA/EG,gBAAgB;AACO,mCAAY,GAAG,6DAA6D,CAAC"}
|
package/monitor.d.ts
CHANGED
|
@@ -53,13 +53,11 @@ export declare class Monitor extends pulumi.CustomResource {
|
|
|
53
53
|
*/
|
|
54
54
|
static isInstance(obj: any): obj is Monitor;
|
|
55
55
|
/**
|
|
56
|
-
* A boolean indicating whether or not to include a list of log values which triggered the alert. This is only used by log
|
|
57
|
-
* monitors. Defaults to `false`.
|
|
56
|
+
* A boolean indicating whether or not to include a list of log values which triggered the alert. This is only used by log monitors. Defaults to `false`.
|
|
58
57
|
*/
|
|
59
58
|
readonly enableLogsSample: pulumi.Output<boolean | undefined>;
|
|
60
59
|
/**
|
|
61
|
-
* Whether or not a list of samples which triggered the alert is included. This is only used by CI Test and Pipeline
|
|
62
|
-
* monitors.
|
|
60
|
+
* Whether or not a list of samples which triggered the alert is included. This is only used by CI Test and Pipeline monitors.
|
|
63
61
|
*/
|
|
64
62
|
readonly enableSamples: pulumi.Output<boolean | undefined>;
|
|
65
63
|
/**
|
|
@@ -67,26 +65,21 @@ export declare class Monitor extends pulumi.CustomResource {
|
|
|
67
65
|
*/
|
|
68
66
|
readonly escalationMessage: pulumi.Output<string | undefined>;
|
|
69
67
|
/**
|
|
70
|
-
* (Only applies to metric alert) Time (in seconds) to delay evaluation, as a non-negative integer.
|
|
71
|
-
*
|
|
72
|
-
* from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor will always have
|
|
73
|
-
* data during evaluation.
|
|
68
|
+
* (Only applies to metric alert) Time (in seconds) to delay evaluation, as a non-negative integer.
|
|
69
|
+
*
|
|
70
|
+
* For example, if the value is set to `300` (5min), the `timeframe` is set to `last5m` and the time is 7:00, the monitor will evaluate data from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor will always have data during evaluation.
|
|
74
71
|
*/
|
|
75
72
|
readonly evaluationDelay: pulumi.Output<number>;
|
|
76
73
|
/**
|
|
77
|
-
* A boolean indicating whether this monitor can be deleted even if it’s referenced by other resources (e.g. SLO,
|
|
78
|
-
* composite monitor).
|
|
74
|
+
* A boolean indicating whether this monitor can be deleted even if it’s referenced by other resources (e.g. SLO, composite monitor).
|
|
79
75
|
*/
|
|
80
76
|
readonly forceDelete: pulumi.Output<boolean | undefined>;
|
|
81
77
|
/**
|
|
82
|
-
* The time span after which groups with missing data are dropped from the monitor state. The minimum value is one hour,
|
|
83
|
-
* and the maximum value is 72 hours. Example values are: 60m, 1h, and 2d. This option is only available for APM Trace
|
|
84
|
-
* Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
|
|
78
|
+
* The time span after which groups with missing data are dropped from the monitor state. The minimum value is one hour, and the maximum value is 72 hours. Example values are: 60m, 1h, and 2d. This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
|
|
85
79
|
*/
|
|
86
80
|
readonly groupRetentionDuration: pulumi.Output<string | undefined>;
|
|
87
81
|
/**
|
|
88
|
-
* Whether or not to trigger one alert if any source breaches a threshold. This is only used by log monitors. Defaults to
|
|
89
|
-
* `false`.
|
|
82
|
+
* Whether or not to trigger one alert if any source breaches a threshold. This is only used by log monitors. Defaults to `false`.
|
|
90
83
|
*/
|
|
91
84
|
readonly groupbySimpleMonitor: pulumi.Output<boolean | undefined>;
|
|
92
85
|
/**
|
|
@@ -104,8 +97,7 @@ export declare class Monitor extends pulumi.CustomResource {
|
|
|
104
97
|
*/
|
|
105
98
|
readonly message: pulumi.Output<string>;
|
|
106
99
|
/**
|
|
107
|
-
* A mapping containing `recoveryWindow` and `triggerWindow` values, e.g. `last15m` . Can only be used for, and are
|
|
108
|
-
* required for, anomaly monitors.
|
|
100
|
+
* A mapping containing `recoveryWindow` and `triggerWindow` values, e.g. `last15m` . Can only be used for, and are required for, anomaly monitors.
|
|
109
101
|
*/
|
|
110
102
|
readonly monitorThresholdWindows: pulumi.Output<outputs.MonitorMonitorThresholdWindows | undefined>;
|
|
111
103
|
/**
|
|
@@ -117,22 +109,21 @@ export declare class Monitor extends pulumi.CustomResource {
|
|
|
117
109
|
*/
|
|
118
110
|
readonly name: pulumi.Output<string>;
|
|
119
111
|
/**
|
|
120
|
-
* The time (in seconds) to skip evaluations for new groups.
|
|
121
|
-
*
|
|
112
|
+
* The time (in seconds) to skip evaluations for new groups.
|
|
113
|
+
*
|
|
114
|
+
* `newGroupDelay` overrides `newHostDelay` if it is set to a nonzero value.
|
|
122
115
|
*/
|
|
123
116
|
readonly newGroupDelay: pulumi.Output<number | undefined>;
|
|
124
117
|
/**
|
|
125
|
-
* **Deprecated**. See `newGroupDelay`. Time (in seconds) to allow a host to boot and applications to fully start before
|
|
126
|
-
* starting the evaluation of monitor results. Should be a non-negative integer. This value is ignored for simple monitors
|
|
127
|
-
* and monitors not grouped by host. The only case when this should be used is to override the default and set
|
|
128
|
-
* `newHostDelay` to zero for monitors grouped by host.
|
|
118
|
+
* **Deprecated**. See `newGroupDelay`. Time (in seconds) to allow a host to boot and applications to fully start before starting the evaluation of monitor results. Should be a non-negative integer. This value is ignored for simple monitors and monitors not grouped by host. The only case when this should be used is to override the default and set `newHostDelay` to zero for monitors grouped by host.
|
|
129
119
|
*
|
|
130
120
|
* @deprecated Use `newGroupDelay` except when setting `newHostDelay` to zero.
|
|
131
121
|
*/
|
|
132
122
|
readonly newHostDelay: pulumi.Output<number | undefined>;
|
|
133
123
|
/**
|
|
134
|
-
* The number of minutes before a monitor will notify when data stops reporting.
|
|
135
|
-
*
|
|
124
|
+
* The number of minutes before a monitor will notify when data stops reporting.
|
|
125
|
+
*
|
|
126
|
+
* We recommend at least 2x the monitor timeframe for metric alerts or 2 minutes for service checks.
|
|
136
127
|
*/
|
|
137
128
|
readonly noDataTimeframe: pulumi.Output<number | undefined>;
|
|
138
129
|
/**
|
|
@@ -144,11 +135,7 @@ export declare class Monitor extends pulumi.CustomResource {
|
|
|
144
135
|
*/
|
|
145
136
|
readonly notifyAudit: pulumi.Output<boolean | undefined>;
|
|
146
137
|
/**
|
|
147
|
-
* Controls what granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor
|
|
148
|
-
* grouped by `cluster`, `namespace`, and `pod` can be configured to only notify on each new `cluster` violating the alert
|
|
149
|
-
* conditions by setting `notifyBy` to `['cluster']`. Tags mentioned in `notifyBy` must be a subset of the grouping tags in
|
|
150
|
-
* the query. For example, a query grouped by `cluster` and `namespace` cannot notify on `region`. Setting `notifyBy` to
|
|
151
|
-
* `[*]` configures the monitor to notify as a simple-alert.
|
|
138
|
+
* Controls what granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor grouped by `cluster`, `namespace`, and `pod` can be configured to only notify on each new `cluster` violating the alert conditions by setting `notifyBy` to `['cluster']`. Tags mentioned in `notifyBy` must be a subset of the grouping tags in the query. For example, a query grouped by `cluster` and `namespace` cannot notify on `region`. Setting `notifyBy` to `[*]` configures the monitor to notify as a simple-alert.
|
|
152
139
|
*/
|
|
153
140
|
readonly notifyBies: pulumi.Output<string[] | undefined>;
|
|
154
141
|
/**
|
|
@@ -156,12 +143,7 @@ export declare class Monitor extends pulumi.CustomResource {
|
|
|
156
143
|
*/
|
|
157
144
|
readonly notifyNoData: pulumi.Output<boolean | undefined>;
|
|
158
145
|
/**
|
|
159
|
-
* Controls how groups or monitors are treated if an evaluation does not return any data points. The default option results
|
|
160
|
-
* in different behavior depending on the monitor query type. For monitors using `Count` queries, an empty monitor
|
|
161
|
-
* evaluation is treated as 0 and is compared to the threshold conditions. For monitors using any query type other than
|
|
162
|
-
* `Count`, for example `Gauge`, `Measure`, or `Rate`, the monitor shows the last known status. This option is not
|
|
163
|
-
* available for Service Check, Composite, or SLO monitors. Valid values are: `showNoData`, `showAndNotifyNoData`,
|
|
164
|
-
* `resolve`, and `default`.
|
|
146
|
+
* Controls how groups or monitors are treated if an evaluation does not return any data points. The default option results in different behavior depending on the monitor query type. For monitors using `Count` queries, an empty monitor evaluation is treated as 0 and is compared to the threshold conditions. For monitors using any query type other than `Count`, for example `Gauge`, `Measure`, or `Rate`, the monitor shows the last known status. This option is not available for Service Check, Composite, or SLO monitors. Valid values are: `showNoData`, `showAndNotifyNoData`, `resolve`, and `default`.
|
|
165
147
|
*/
|
|
166
148
|
readonly onMissingData: pulumi.Output<string | undefined>;
|
|
167
149
|
/**
|
|
@@ -170,8 +152,7 @@ export declare class Monitor extends pulumi.CustomResource {
|
|
|
170
152
|
readonly priority: pulumi.Output<string | undefined>;
|
|
171
153
|
readonly query: pulumi.Output<string>;
|
|
172
154
|
/**
|
|
173
|
-
* The number of minutes after the last notification before a monitor will re-notify on the current status. It will only
|
|
174
|
-
* re-notify if it's not resolved.
|
|
155
|
+
* The number of minutes after the last notification before a monitor will re-notify on the current status. It will only re-notify if it's not resolved.
|
|
175
156
|
*/
|
|
176
157
|
readonly renotifyInterval: pulumi.Output<number | undefined>;
|
|
177
158
|
/**
|
|
@@ -183,9 +164,7 @@ export declare class Monitor extends pulumi.CustomResource {
|
|
|
183
164
|
*/
|
|
184
165
|
readonly renotifyStatuses: pulumi.Output<string[] | undefined>;
|
|
185
166
|
/**
|
|
186
|
-
* A boolean indicating whether this monitor needs a full window of data before it's evaluated. Datadog strongly recommends
|
|
187
|
-
* you set this to `false` for sparse metrics, otherwise some evaluations may be skipped. If there's a customSchedule set,
|
|
188
|
-
* `requireFullWindow` must be false and will be ignored.
|
|
167
|
+
* A boolean indicating whether this monitor needs a full window of data before it's evaluated. Datadog strongly recommends you set this to `false` for sparse metrics, otherwise some evaluations may be skipped. If there's a customSchedule set, `requireFullWindow` must be false and will be ignored.
|
|
189
168
|
*/
|
|
190
169
|
readonly requireFullWindow: pulumi.Output<boolean | undefined>;
|
|
191
170
|
readonly restrictedRoles: pulumi.Output<string[] | undefined>;
|
|
@@ -194,19 +173,15 @@ export declare class Monitor extends pulumi.CustomResource {
|
|
|
194
173
|
*/
|
|
195
174
|
readonly schedulingOptions: pulumi.Output<outputs.MonitorSchedulingOption[] | undefined>;
|
|
196
175
|
/**
|
|
197
|
-
* A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors
|
|
198
|
-
* page of the UI. Note: it's not currently possible to filter by these tags when querying via the API
|
|
176
|
+
* A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors page of the UI. Note: it's not currently possible to filter by these tags when querying via the API
|
|
199
177
|
*/
|
|
200
178
|
readonly tags: pulumi.Output<string[]>;
|
|
201
179
|
/**
|
|
202
|
-
* The number of hours of the monitor not reporting data before it automatically resolves from a triggered state. The
|
|
203
|
-
* minimum allowed value is 0 hours. The maximum allowed value is 24 hours.
|
|
180
|
+
* The number of hours of the monitor not reporting data before it automatically resolves from a triggered state. The minimum allowed value is 0 hours. The maximum allowed value is 24 hours.
|
|
204
181
|
*/
|
|
205
182
|
readonly timeoutH: pulumi.Output<number | undefined>;
|
|
206
183
|
/**
|
|
207
|
-
* The type of the monitor. The mapping from these types to the types found in the Datadog Web UI can be found in the
|
|
208
|
-
* Datadog API [documentation page](https://docs.datadoghq.com/api/v1/monitors/#create-a-monitor). Note: The monitor type
|
|
209
|
-
* cannot be changed after a monitor is created.
|
|
184
|
+
* The type of the monitor. The mapping from these types to the types found in the Datadog Web UI can be found in the Datadog API [documentation page](https://docs.datadoghq.com/api/v1/monitors/#create-a-monitor). Note: The monitor type cannot be changed after a monitor is created.
|
|
210
185
|
*/
|
|
211
186
|
readonly type: pulumi.Output<string>;
|
|
212
187
|
/**
|
|
@@ -228,13 +203,11 @@ export declare class Monitor extends pulumi.CustomResource {
|
|
|
228
203
|
*/
|
|
229
204
|
export interface MonitorState {
|
|
230
205
|
/**
|
|
231
|
-
* A boolean indicating whether or not to include a list of log values which triggered the alert. This is only used by log
|
|
232
|
-
* monitors. Defaults to `false`.
|
|
206
|
+
* A boolean indicating whether or not to include a list of log values which triggered the alert. This is only used by log monitors. Defaults to `false`.
|
|
233
207
|
*/
|
|
234
208
|
enableLogsSample?: pulumi.Input<boolean>;
|
|
235
209
|
/**
|
|
236
|
-
* Whether or not a list of samples which triggered the alert is included. This is only used by CI Test and Pipeline
|
|
237
|
-
* monitors.
|
|
210
|
+
* Whether or not a list of samples which triggered the alert is included. This is only used by CI Test and Pipeline monitors.
|
|
238
211
|
*/
|
|
239
212
|
enableSamples?: pulumi.Input<boolean>;
|
|
240
213
|
/**
|
|
@@ -242,26 +215,21 @@ export interface MonitorState {
|
|
|
242
215
|
*/
|
|
243
216
|
escalationMessage?: pulumi.Input<string>;
|
|
244
217
|
/**
|
|
245
|
-
* (Only applies to metric alert) Time (in seconds) to delay evaluation, as a non-negative integer.
|
|
246
|
-
*
|
|
247
|
-
* from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor will always have
|
|
248
|
-
* data during evaluation.
|
|
218
|
+
* (Only applies to metric alert) Time (in seconds) to delay evaluation, as a non-negative integer.
|
|
219
|
+
*
|
|
220
|
+
* For example, if the value is set to `300` (5min), the `timeframe` is set to `last5m` and the time is 7:00, the monitor will evaluate data from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor will always have data during evaluation.
|
|
249
221
|
*/
|
|
250
222
|
evaluationDelay?: pulumi.Input<number>;
|
|
251
223
|
/**
|
|
252
|
-
* A boolean indicating whether this monitor can be deleted even if it’s referenced by other resources (e.g. SLO,
|
|
253
|
-
* composite monitor).
|
|
224
|
+
* A boolean indicating whether this monitor can be deleted even if it’s referenced by other resources (e.g. SLO, composite monitor).
|
|
254
225
|
*/
|
|
255
226
|
forceDelete?: pulumi.Input<boolean>;
|
|
256
227
|
/**
|
|
257
|
-
* The time span after which groups with missing data are dropped from the monitor state. The minimum value is one hour,
|
|
258
|
-
* and the maximum value is 72 hours. Example values are: 60m, 1h, and 2d. This option is only available for APM Trace
|
|
259
|
-
* Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
|
|
228
|
+
* The time span after which groups with missing data are dropped from the monitor state. The minimum value is one hour, and the maximum value is 72 hours. Example values are: 60m, 1h, and 2d. This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
|
|
260
229
|
*/
|
|
261
230
|
groupRetentionDuration?: pulumi.Input<string>;
|
|
262
231
|
/**
|
|
263
|
-
* Whether or not to trigger one alert if any source breaches a threshold. This is only used by log monitors. Defaults to
|
|
264
|
-
* `false`.
|
|
232
|
+
* Whether or not to trigger one alert if any source breaches a threshold. This is only used by log monitors. Defaults to `false`.
|
|
265
233
|
*/
|
|
266
234
|
groupbySimpleMonitor?: pulumi.Input<boolean>;
|
|
267
235
|
/**
|
|
@@ -279,8 +247,7 @@ export interface MonitorState {
|
|
|
279
247
|
*/
|
|
280
248
|
message?: pulumi.Input<string>;
|
|
281
249
|
/**
|
|
282
|
-
* A mapping containing `recoveryWindow` and `triggerWindow` values, e.g. `last15m` . Can only be used for, and are
|
|
283
|
-
* required for, anomaly monitors.
|
|
250
|
+
* A mapping containing `recoveryWindow` and `triggerWindow` values, e.g. `last15m` . Can only be used for, and are required for, anomaly monitors.
|
|
284
251
|
*/
|
|
285
252
|
monitorThresholdWindows?: pulumi.Input<inputs.MonitorMonitorThresholdWindows>;
|
|
286
253
|
/**
|
|
@@ -292,22 +259,21 @@ export interface MonitorState {
|
|
|
292
259
|
*/
|
|
293
260
|
name?: pulumi.Input<string>;
|
|
294
261
|
/**
|
|
295
|
-
* The time (in seconds) to skip evaluations for new groups.
|
|
296
|
-
*
|
|
262
|
+
* The time (in seconds) to skip evaluations for new groups.
|
|
263
|
+
*
|
|
264
|
+
* `newGroupDelay` overrides `newHostDelay` if it is set to a nonzero value.
|
|
297
265
|
*/
|
|
298
266
|
newGroupDelay?: pulumi.Input<number>;
|
|
299
267
|
/**
|
|
300
|
-
* **Deprecated**. See `newGroupDelay`. Time (in seconds) to allow a host to boot and applications to fully start before
|
|
301
|
-
* starting the evaluation of monitor results. Should be a non-negative integer. This value is ignored for simple monitors
|
|
302
|
-
* and monitors not grouped by host. The only case when this should be used is to override the default and set
|
|
303
|
-
* `newHostDelay` to zero for monitors grouped by host.
|
|
268
|
+
* **Deprecated**. See `newGroupDelay`. Time (in seconds) to allow a host to boot and applications to fully start before starting the evaluation of monitor results. Should be a non-negative integer. This value is ignored for simple monitors and monitors not grouped by host. The only case when this should be used is to override the default and set `newHostDelay` to zero for monitors grouped by host.
|
|
304
269
|
*
|
|
305
270
|
* @deprecated Use `newGroupDelay` except when setting `newHostDelay` to zero.
|
|
306
271
|
*/
|
|
307
272
|
newHostDelay?: pulumi.Input<number>;
|
|
308
273
|
/**
|
|
309
|
-
* The number of minutes before a monitor will notify when data stops reporting.
|
|
310
|
-
*
|
|
274
|
+
* The number of minutes before a monitor will notify when data stops reporting.
|
|
275
|
+
*
|
|
276
|
+
* We recommend at least 2x the monitor timeframe for metric alerts or 2 minutes for service checks.
|
|
311
277
|
*/
|
|
312
278
|
noDataTimeframe?: pulumi.Input<number>;
|
|
313
279
|
/**
|
|
@@ -319,11 +285,7 @@ export interface MonitorState {
|
|
|
319
285
|
*/
|
|
320
286
|
notifyAudit?: pulumi.Input<boolean>;
|
|
321
287
|
/**
|
|
322
|
-
* Controls what granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor
|
|
323
|
-
* grouped by `cluster`, `namespace`, and `pod` can be configured to only notify on each new `cluster` violating the alert
|
|
324
|
-
* conditions by setting `notifyBy` to `['cluster']`. Tags mentioned in `notifyBy` must be a subset of the grouping tags in
|
|
325
|
-
* the query. For example, a query grouped by `cluster` and `namespace` cannot notify on `region`. Setting `notifyBy` to
|
|
326
|
-
* `[*]` configures the monitor to notify as a simple-alert.
|
|
288
|
+
* Controls what granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor grouped by `cluster`, `namespace`, and `pod` can be configured to only notify on each new `cluster` violating the alert conditions by setting `notifyBy` to `['cluster']`. Tags mentioned in `notifyBy` must be a subset of the grouping tags in the query. For example, a query grouped by `cluster` and `namespace` cannot notify on `region`. Setting `notifyBy` to `[*]` configures the monitor to notify as a simple-alert.
|
|
327
289
|
*/
|
|
328
290
|
notifyBies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
329
291
|
/**
|
|
@@ -331,12 +293,7 @@ export interface MonitorState {
|
|
|
331
293
|
*/
|
|
332
294
|
notifyNoData?: pulumi.Input<boolean>;
|
|
333
295
|
/**
|
|
334
|
-
* Controls how groups or monitors are treated if an evaluation does not return any data points. The default option results
|
|
335
|
-
* in different behavior depending on the monitor query type. For monitors using `Count` queries, an empty monitor
|
|
336
|
-
* evaluation is treated as 0 and is compared to the threshold conditions. For monitors using any query type other than
|
|
337
|
-
* `Count`, for example `Gauge`, `Measure`, or `Rate`, the monitor shows the last known status. This option is not
|
|
338
|
-
* available for Service Check, Composite, or SLO monitors. Valid values are: `showNoData`, `showAndNotifyNoData`,
|
|
339
|
-
* `resolve`, and `default`.
|
|
296
|
+
* Controls how groups or monitors are treated if an evaluation does not return any data points. The default option results in different behavior depending on the monitor query type. For monitors using `Count` queries, an empty monitor evaluation is treated as 0 and is compared to the threshold conditions. For monitors using any query type other than `Count`, for example `Gauge`, `Measure`, or `Rate`, the monitor shows the last known status. This option is not available for Service Check, Composite, or SLO monitors. Valid values are: `showNoData`, `showAndNotifyNoData`, `resolve`, and `default`.
|
|
340
297
|
*/
|
|
341
298
|
onMissingData?: pulumi.Input<string>;
|
|
342
299
|
/**
|
|
@@ -345,8 +302,7 @@ export interface MonitorState {
|
|
|
345
302
|
priority?: pulumi.Input<string>;
|
|
346
303
|
query?: pulumi.Input<string>;
|
|
347
304
|
/**
|
|
348
|
-
* The number of minutes after the last notification before a monitor will re-notify on the current status. It will only
|
|
349
|
-
* re-notify if it's not resolved.
|
|
305
|
+
* The number of minutes after the last notification before a monitor will re-notify on the current status. It will only re-notify if it's not resolved.
|
|
350
306
|
*/
|
|
351
307
|
renotifyInterval?: pulumi.Input<number>;
|
|
352
308
|
/**
|
|
@@ -358,9 +314,7 @@ export interface MonitorState {
|
|
|
358
314
|
*/
|
|
359
315
|
renotifyStatuses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
360
316
|
/**
|
|
361
|
-
* A boolean indicating whether this monitor needs a full window of data before it's evaluated. Datadog strongly recommends
|
|
362
|
-
* you set this to `false` for sparse metrics, otherwise some evaluations may be skipped. If there's a customSchedule set,
|
|
363
|
-
* `requireFullWindow` must be false and will be ignored.
|
|
317
|
+
* A boolean indicating whether this monitor needs a full window of data before it's evaluated. Datadog strongly recommends you set this to `false` for sparse metrics, otherwise some evaluations may be skipped. If there's a customSchedule set, `requireFullWindow` must be false and will be ignored.
|
|
364
318
|
*/
|
|
365
319
|
requireFullWindow?: pulumi.Input<boolean>;
|
|
366
320
|
restrictedRoles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
@@ -369,19 +323,15 @@ export interface MonitorState {
|
|
|
369
323
|
*/
|
|
370
324
|
schedulingOptions?: pulumi.Input<pulumi.Input<inputs.MonitorSchedulingOption>[]>;
|
|
371
325
|
/**
|
|
372
|
-
* A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors
|
|
373
|
-
* page of the UI. Note: it's not currently possible to filter by these tags when querying via the API
|
|
326
|
+
* A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors page of the UI. Note: it's not currently possible to filter by these tags when querying via the API
|
|
374
327
|
*/
|
|
375
328
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
376
329
|
/**
|
|
377
|
-
* The number of hours of the monitor not reporting data before it automatically resolves from a triggered state. The
|
|
378
|
-
* minimum allowed value is 0 hours. The maximum allowed value is 24 hours.
|
|
330
|
+
* The number of hours of the monitor not reporting data before it automatically resolves from a triggered state. The minimum allowed value is 0 hours. The maximum allowed value is 24 hours.
|
|
379
331
|
*/
|
|
380
332
|
timeoutH?: pulumi.Input<number>;
|
|
381
333
|
/**
|
|
382
|
-
* The type of the monitor. The mapping from these types to the types found in the Datadog Web UI can be found in the
|
|
383
|
-
* Datadog API [documentation page](https://docs.datadoghq.com/api/v1/monitors/#create-a-monitor). Note: The monitor type
|
|
384
|
-
* cannot be changed after a monitor is created.
|
|
334
|
+
* The type of the monitor. The mapping from these types to the types found in the Datadog Web UI can be found in the Datadog API [documentation page](https://docs.datadoghq.com/api/v1/monitors/#create-a-monitor). Note: The monitor type cannot be changed after a monitor is created.
|
|
385
335
|
*/
|
|
386
336
|
type?: pulumi.Input<string>;
|
|
387
337
|
/**
|
|
@@ -395,13 +345,11 @@ export interface MonitorState {
|
|
|
395
345
|
*/
|
|
396
346
|
export interface MonitorArgs {
|
|
397
347
|
/**
|
|
398
|
-
* A boolean indicating whether or not to include a list of log values which triggered the alert. This is only used by log
|
|
399
|
-
* monitors. Defaults to `false`.
|
|
348
|
+
* A boolean indicating whether or not to include a list of log values which triggered the alert. This is only used by log monitors. Defaults to `false`.
|
|
400
349
|
*/
|
|
401
350
|
enableLogsSample?: pulumi.Input<boolean>;
|
|
402
351
|
/**
|
|
403
|
-
* Whether or not a list of samples which triggered the alert is included. This is only used by CI Test and Pipeline
|
|
404
|
-
* monitors.
|
|
352
|
+
* Whether or not a list of samples which triggered the alert is included. This is only used by CI Test and Pipeline monitors.
|
|
405
353
|
*/
|
|
406
354
|
enableSamples?: pulumi.Input<boolean>;
|
|
407
355
|
/**
|
|
@@ -409,26 +357,21 @@ export interface MonitorArgs {
|
|
|
409
357
|
*/
|
|
410
358
|
escalationMessage?: pulumi.Input<string>;
|
|
411
359
|
/**
|
|
412
|
-
* (Only applies to metric alert) Time (in seconds) to delay evaluation, as a non-negative integer.
|
|
413
|
-
*
|
|
414
|
-
* from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor will always have
|
|
415
|
-
* data during evaluation.
|
|
360
|
+
* (Only applies to metric alert) Time (in seconds) to delay evaluation, as a non-negative integer.
|
|
361
|
+
*
|
|
362
|
+
* For example, if the value is set to `300` (5min), the `timeframe` is set to `last5m` and the time is 7:00, the monitor will evaluate data from 6:50 to 6:55. This is useful for AWS CloudWatch and other backfilled metrics to ensure the monitor will always have data during evaluation.
|
|
416
363
|
*/
|
|
417
364
|
evaluationDelay?: pulumi.Input<number>;
|
|
418
365
|
/**
|
|
419
|
-
* A boolean indicating whether this monitor can be deleted even if it’s referenced by other resources (e.g. SLO,
|
|
420
|
-
* composite monitor).
|
|
366
|
+
* A boolean indicating whether this monitor can be deleted even if it’s referenced by other resources (e.g. SLO, composite monitor).
|
|
421
367
|
*/
|
|
422
368
|
forceDelete?: pulumi.Input<boolean>;
|
|
423
369
|
/**
|
|
424
|
-
* The time span after which groups with missing data are dropped from the monitor state. The minimum value is one hour,
|
|
425
|
-
* and the maximum value is 72 hours. Example values are: 60m, 1h, and 2d. This option is only available for APM Trace
|
|
426
|
-
* Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
|
|
370
|
+
* The time span after which groups with missing data are dropped from the monitor state. The minimum value is one hour, and the maximum value is 72 hours. Example values are: 60m, 1h, and 2d. This option is only available for APM Trace Analytics, Audit Trail, CI, Error Tracking, Event, Logs, and RUM monitors.
|
|
427
371
|
*/
|
|
428
372
|
groupRetentionDuration?: pulumi.Input<string>;
|
|
429
373
|
/**
|
|
430
|
-
* Whether or not to trigger one alert if any source breaches a threshold. This is only used by log monitors. Defaults to
|
|
431
|
-
* `false`.
|
|
374
|
+
* Whether or not to trigger one alert if any source breaches a threshold. This is only used by log monitors. Defaults to `false`.
|
|
432
375
|
*/
|
|
433
376
|
groupbySimpleMonitor?: pulumi.Input<boolean>;
|
|
434
377
|
/**
|
|
@@ -446,8 +389,7 @@ export interface MonitorArgs {
|
|
|
446
389
|
*/
|
|
447
390
|
message: pulumi.Input<string>;
|
|
448
391
|
/**
|
|
449
|
-
* A mapping containing `recoveryWindow` and `triggerWindow` values, e.g. `last15m` . Can only be used for, and are
|
|
450
|
-
* required for, anomaly monitors.
|
|
392
|
+
* A mapping containing `recoveryWindow` and `triggerWindow` values, e.g. `last15m` . Can only be used for, and are required for, anomaly monitors.
|
|
451
393
|
*/
|
|
452
394
|
monitorThresholdWindows?: pulumi.Input<inputs.MonitorMonitorThresholdWindows>;
|
|
453
395
|
/**
|
|
@@ -459,22 +401,21 @@ export interface MonitorArgs {
|
|
|
459
401
|
*/
|
|
460
402
|
name: pulumi.Input<string>;
|
|
461
403
|
/**
|
|
462
|
-
* The time (in seconds) to skip evaluations for new groups.
|
|
463
|
-
*
|
|
404
|
+
* The time (in seconds) to skip evaluations for new groups.
|
|
405
|
+
*
|
|
406
|
+
* `newGroupDelay` overrides `newHostDelay` if it is set to a nonzero value.
|
|
464
407
|
*/
|
|
465
408
|
newGroupDelay?: pulumi.Input<number>;
|
|
466
409
|
/**
|
|
467
|
-
* **Deprecated**. See `newGroupDelay`. Time (in seconds) to allow a host to boot and applications to fully start before
|
|
468
|
-
* starting the evaluation of monitor results. Should be a non-negative integer. This value is ignored for simple monitors
|
|
469
|
-
* and monitors not grouped by host. The only case when this should be used is to override the default and set
|
|
470
|
-
* `newHostDelay` to zero for monitors grouped by host.
|
|
410
|
+
* **Deprecated**. See `newGroupDelay`. Time (in seconds) to allow a host to boot and applications to fully start before starting the evaluation of monitor results. Should be a non-negative integer. This value is ignored for simple monitors and monitors not grouped by host. The only case when this should be used is to override the default and set `newHostDelay` to zero for monitors grouped by host.
|
|
471
411
|
*
|
|
472
412
|
* @deprecated Use `newGroupDelay` except when setting `newHostDelay` to zero.
|
|
473
413
|
*/
|
|
474
414
|
newHostDelay?: pulumi.Input<number>;
|
|
475
415
|
/**
|
|
476
|
-
* The number of minutes before a monitor will notify when data stops reporting.
|
|
477
|
-
*
|
|
416
|
+
* The number of minutes before a monitor will notify when data stops reporting.
|
|
417
|
+
*
|
|
418
|
+
* We recommend at least 2x the monitor timeframe for metric alerts or 2 minutes for service checks.
|
|
478
419
|
*/
|
|
479
420
|
noDataTimeframe?: pulumi.Input<number>;
|
|
480
421
|
/**
|
|
@@ -486,11 +427,7 @@ export interface MonitorArgs {
|
|
|
486
427
|
*/
|
|
487
428
|
notifyAudit?: pulumi.Input<boolean>;
|
|
488
429
|
/**
|
|
489
|
-
* Controls what granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor
|
|
490
|
-
* grouped by `cluster`, `namespace`, and `pod` can be configured to only notify on each new `cluster` violating the alert
|
|
491
|
-
* conditions by setting `notifyBy` to `['cluster']`. Tags mentioned in `notifyBy` must be a subset of the grouping tags in
|
|
492
|
-
* the query. For example, a query grouped by `cluster` and `namespace` cannot notify on `region`. Setting `notifyBy` to
|
|
493
|
-
* `[*]` configures the monitor to notify as a simple-alert.
|
|
430
|
+
* Controls what granularity a monitor alerts on. Only available for monitors with groupings. For instance, a monitor grouped by `cluster`, `namespace`, and `pod` can be configured to only notify on each new `cluster` violating the alert conditions by setting `notifyBy` to `['cluster']`. Tags mentioned in `notifyBy` must be a subset of the grouping tags in the query. For example, a query grouped by `cluster` and `namespace` cannot notify on `region`. Setting `notifyBy` to `[*]` configures the monitor to notify as a simple-alert.
|
|
494
431
|
*/
|
|
495
432
|
notifyBies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
496
433
|
/**
|
|
@@ -498,12 +435,7 @@ export interface MonitorArgs {
|
|
|
498
435
|
*/
|
|
499
436
|
notifyNoData?: pulumi.Input<boolean>;
|
|
500
437
|
/**
|
|
501
|
-
* Controls how groups or monitors are treated if an evaluation does not return any data points. The default option results
|
|
502
|
-
* in different behavior depending on the monitor query type. For monitors using `Count` queries, an empty monitor
|
|
503
|
-
* evaluation is treated as 0 and is compared to the threshold conditions. For monitors using any query type other than
|
|
504
|
-
* `Count`, for example `Gauge`, `Measure`, or `Rate`, the monitor shows the last known status. This option is not
|
|
505
|
-
* available for Service Check, Composite, or SLO monitors. Valid values are: `showNoData`, `showAndNotifyNoData`,
|
|
506
|
-
* `resolve`, and `default`.
|
|
438
|
+
* Controls how groups or monitors are treated if an evaluation does not return any data points. The default option results in different behavior depending on the monitor query type. For monitors using `Count` queries, an empty monitor evaluation is treated as 0 and is compared to the threshold conditions. For monitors using any query type other than `Count`, for example `Gauge`, `Measure`, or `Rate`, the monitor shows the last known status. This option is not available for Service Check, Composite, or SLO monitors. Valid values are: `showNoData`, `showAndNotifyNoData`, `resolve`, and `default`.
|
|
507
439
|
*/
|
|
508
440
|
onMissingData?: pulumi.Input<string>;
|
|
509
441
|
/**
|
|
@@ -512,8 +444,7 @@ export interface MonitorArgs {
|
|
|
512
444
|
priority?: pulumi.Input<string>;
|
|
513
445
|
query: pulumi.Input<string>;
|
|
514
446
|
/**
|
|
515
|
-
* The number of minutes after the last notification before a monitor will re-notify on the current status. It will only
|
|
516
|
-
* re-notify if it's not resolved.
|
|
447
|
+
* The number of minutes after the last notification before a monitor will re-notify on the current status. It will only re-notify if it's not resolved.
|
|
517
448
|
*/
|
|
518
449
|
renotifyInterval?: pulumi.Input<number>;
|
|
519
450
|
/**
|
|
@@ -525,9 +456,7 @@ export interface MonitorArgs {
|
|
|
525
456
|
*/
|
|
526
457
|
renotifyStatuses?: pulumi.Input<pulumi.Input<string>[]>;
|
|
527
458
|
/**
|
|
528
|
-
* A boolean indicating whether this monitor needs a full window of data before it's evaluated. Datadog strongly recommends
|
|
529
|
-
* you set this to `false` for sparse metrics, otherwise some evaluations may be skipped. If there's a customSchedule set,
|
|
530
|
-
* `requireFullWindow` must be false and will be ignored.
|
|
459
|
+
* A boolean indicating whether this monitor needs a full window of data before it's evaluated. Datadog strongly recommends you set this to `false` for sparse metrics, otherwise some evaluations may be skipped. If there's a customSchedule set, `requireFullWindow` must be false and will be ignored.
|
|
531
460
|
*/
|
|
532
461
|
requireFullWindow?: pulumi.Input<boolean>;
|
|
533
462
|
restrictedRoles?: pulumi.Input<pulumi.Input<string>[]>;
|
|
@@ -536,19 +465,15 @@ export interface MonitorArgs {
|
|
|
536
465
|
*/
|
|
537
466
|
schedulingOptions?: pulumi.Input<pulumi.Input<inputs.MonitorSchedulingOption>[]>;
|
|
538
467
|
/**
|
|
539
|
-
* A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors
|
|
540
|
-
* page of the UI. Note: it's not currently possible to filter by these tags when querying via the API
|
|
468
|
+
* A list of tags to associate with your monitor. This can help you categorize and filter monitors in the manage monitors page of the UI. Note: it's not currently possible to filter by these tags when querying via the API
|
|
541
469
|
*/
|
|
542
470
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
543
471
|
/**
|
|
544
|
-
* The number of hours of the monitor not reporting data before it automatically resolves from a triggered state. The
|
|
545
|
-
* minimum allowed value is 0 hours. The maximum allowed value is 24 hours.
|
|
472
|
+
* The number of hours of the monitor not reporting data before it automatically resolves from a triggered state. The minimum allowed value is 0 hours. The maximum allowed value is 24 hours.
|
|
546
473
|
*/
|
|
547
474
|
timeoutH?: pulumi.Input<number>;
|
|
548
475
|
/**
|
|
549
|
-
* The type of the monitor. The mapping from these types to the types found in the Datadog Web UI can be found in the
|
|
550
|
-
* Datadog API [documentation page](https://docs.datadoghq.com/api/v1/monitors/#create-a-monitor). Note: The monitor type
|
|
551
|
-
* cannot be changed after a monitor is created.
|
|
476
|
+
* The type of the monitor. The mapping from these types to the types found in the Datadog Web UI can be found in the Datadog API [documentation page](https://docs.datadoghq.com/api/v1/monitors/#create-a-monitor). Note: The monitor type cannot be changed after a monitor is created.
|
|
552
477
|
*/
|
|
553
478
|
type: pulumi.Input<string>;
|
|
554
479
|
/**
|