@pulumi/newrelic 5.8.0 → 5.9.0
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/alertCondition.d.ts +53 -0
- package/alertCondition.js +47 -0
- package/alertCondition.js.map +1 -1
- package/getServiceLevelAlertHelper.d.ts +242 -0
- package/getServiceLevelAlertHelper.js +174 -0
- package/getServiceLevelAlertHelper.js.map +1 -0
- package/index.d.ts +3 -0
- package/index.js +5 -2
- package/index.js.map +1 -1
- package/infraAlertCondition.d.ts +54 -0
- package/infraAlertCondition.js +48 -0
- package/infraAlertCondition.js.map +1 -1
- package/oneDashboardJson.d.ts +9 -0
- package/oneDashboardJson.js +9 -0
- package/oneDashboardJson.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/synthetics/alertCondition.d.ts +58 -0
- package/synthetics/alertCondition.js +52 -0
- package/synthetics/alertCondition.js.map +1 -1
- package/synthetics/certCheckMonitor.d.ts +26 -0
- package/synthetics/certCheckMonitor.js +26 -0
- package/synthetics/certCheckMonitor.js.map +1 -1
- package/synthetics/multiLocationAlertCondition.d.ts +66 -0
- package/synthetics/multiLocationAlertCondition.js +60 -0
- package/synthetics/multiLocationAlertCondition.js.map +1 -1
package/alertCondition.d.ts
CHANGED
|
@@ -44,6 +44,51 @@ import * as outputs from "./types/output";
|
|
|
44
44
|
* * `threshold` - (Required) Must be 0 or greater.
|
|
45
45
|
* * `timeFunction` - (Required) `all` or `any`.
|
|
46
46
|
*
|
|
47
|
+
* ## Tags
|
|
48
|
+
*
|
|
49
|
+
* Manage alert condition tags with `newrelic.EntityTags`. For up-to-date documentation about the tagging resource, please check newrelic.EntityTags
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
54
|
+
*
|
|
55
|
+
* const fooEntity = newrelic.getEntity({
|
|
56
|
+
* name: "foo entitiy",
|
|
57
|
+
* });
|
|
58
|
+
* const fooAlertPolicy = new newrelic.AlertPolicy("fooAlertPolicy", {});
|
|
59
|
+
* const fooAlertCondition = new newrelic.AlertCondition("fooAlertCondition", {
|
|
60
|
+
* policyId: fooAlertPolicy.id,
|
|
61
|
+
* type: "apm_app_metric",
|
|
62
|
+
* entities: [fooEntity.then(fooEntity => fooEntity.applicationId)],
|
|
63
|
+
* metric: "apdex",
|
|
64
|
+
* runbookUrl: "https://www.example.com",
|
|
65
|
+
* conditionScope: "application",
|
|
66
|
+
* terms: [{
|
|
67
|
+
* duration: 5,
|
|
68
|
+
* operator: "below",
|
|
69
|
+
* priority: "critical",
|
|
70
|
+
* threshold: 0.75,
|
|
71
|
+
* timeFunction: "all",
|
|
72
|
+
* }],
|
|
73
|
+
* });
|
|
74
|
+
* const myConditionEntityTags = new newrelic.EntityTags("myConditionEntityTags", {
|
|
75
|
+
* guid: fooAlertCondition.entityGuid,
|
|
76
|
+
* tags: [
|
|
77
|
+
* {
|
|
78
|
+
* key: "my-key",
|
|
79
|
+
* values: [
|
|
80
|
+
* "my-value",
|
|
81
|
+
* "my-other-value",
|
|
82
|
+
* ],
|
|
83
|
+
* },
|
|
84
|
+
* {
|
|
85
|
+
* key: "my-key-2",
|
|
86
|
+
* values: ["my-value-2"],
|
|
87
|
+
* },
|
|
88
|
+
* ],
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
*
|
|
47
92
|
* ## Import
|
|
48
93
|
*
|
|
49
94
|
* Alert conditions can be imported using notation `alert_policy_id:alert_condition_id`, e.g.
|
|
@@ -80,6 +125,10 @@ export declare class AlertCondition extends pulumi.CustomResource {
|
|
|
80
125
|
* The instance IDs associated with this condition.
|
|
81
126
|
*/
|
|
82
127
|
readonly entities: pulumi.Output<number[]>;
|
|
128
|
+
/**
|
|
129
|
+
* The unique entity identifier of the condition in New Relic.
|
|
130
|
+
*/
|
|
131
|
+
readonly entityGuid: pulumi.Output<string>;
|
|
83
132
|
/**
|
|
84
133
|
* A valid Garbage Collection metric e.g. `GC/G1 Young Generation`.
|
|
85
134
|
*/
|
|
@@ -145,6 +194,10 @@ export interface AlertConditionState {
|
|
|
145
194
|
* The instance IDs associated with this condition.
|
|
146
195
|
*/
|
|
147
196
|
entities?: pulumi.Input<pulumi.Input<number>[]>;
|
|
197
|
+
/**
|
|
198
|
+
* The unique entity identifier of the condition in New Relic.
|
|
199
|
+
*/
|
|
200
|
+
entityGuid?: pulumi.Input<string>;
|
|
148
201
|
/**
|
|
149
202
|
* A valid Garbage Collection metric e.g. `GC/G1 Young Generation`.
|
|
150
203
|
*/
|
package/alertCondition.js
CHANGED
|
@@ -48,6 +48,51 @@ const utilities = require("./utilities");
|
|
|
48
48
|
* * `threshold` - (Required) Must be 0 or greater.
|
|
49
49
|
* * `timeFunction` - (Required) `all` or `any`.
|
|
50
50
|
*
|
|
51
|
+
* ## Tags
|
|
52
|
+
*
|
|
53
|
+
* Manage alert condition tags with `newrelic.EntityTags`. For up-to-date documentation about the tagging resource, please check newrelic.EntityTags
|
|
54
|
+
*
|
|
55
|
+
* ```typescript
|
|
56
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
57
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
58
|
+
*
|
|
59
|
+
* const fooEntity = newrelic.getEntity({
|
|
60
|
+
* name: "foo entitiy",
|
|
61
|
+
* });
|
|
62
|
+
* const fooAlertPolicy = new newrelic.AlertPolicy("fooAlertPolicy", {});
|
|
63
|
+
* const fooAlertCondition = new newrelic.AlertCondition("fooAlertCondition", {
|
|
64
|
+
* policyId: fooAlertPolicy.id,
|
|
65
|
+
* type: "apm_app_metric",
|
|
66
|
+
* entities: [fooEntity.then(fooEntity => fooEntity.applicationId)],
|
|
67
|
+
* metric: "apdex",
|
|
68
|
+
* runbookUrl: "https://www.example.com",
|
|
69
|
+
* conditionScope: "application",
|
|
70
|
+
* terms: [{
|
|
71
|
+
* duration: 5,
|
|
72
|
+
* operator: "below",
|
|
73
|
+
* priority: "critical",
|
|
74
|
+
* threshold: 0.75,
|
|
75
|
+
* timeFunction: "all",
|
|
76
|
+
* }],
|
|
77
|
+
* });
|
|
78
|
+
* const myConditionEntityTags = new newrelic.EntityTags("myConditionEntityTags", {
|
|
79
|
+
* guid: fooAlertCondition.entityGuid,
|
|
80
|
+
* tags: [
|
|
81
|
+
* {
|
|
82
|
+
* key: "my-key",
|
|
83
|
+
* values: [
|
|
84
|
+
* "my-value",
|
|
85
|
+
* "my-other-value",
|
|
86
|
+
* ],
|
|
87
|
+
* },
|
|
88
|
+
* {
|
|
89
|
+
* key: "my-key-2",
|
|
90
|
+
* values: ["my-value-2"],
|
|
91
|
+
* },
|
|
92
|
+
* ],
|
|
93
|
+
* });
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
51
96
|
* ## Import
|
|
52
97
|
*
|
|
53
98
|
* Alert conditions can be imported using notation `alert_policy_id:alert_condition_id`, e.g.
|
|
@@ -87,6 +132,7 @@ class AlertCondition extends pulumi.CustomResource {
|
|
|
87
132
|
resourceInputs["conditionScope"] = state ? state.conditionScope : undefined;
|
|
88
133
|
resourceInputs["enabled"] = state ? state.enabled : undefined;
|
|
89
134
|
resourceInputs["entities"] = state ? state.entities : undefined;
|
|
135
|
+
resourceInputs["entityGuid"] = state ? state.entityGuid : undefined;
|
|
90
136
|
resourceInputs["gcMetric"] = state ? state.gcMetric : undefined;
|
|
91
137
|
resourceInputs["metric"] = state ? state.metric : undefined;
|
|
92
138
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
@@ -128,6 +174,7 @@ class AlertCondition extends pulumi.CustomResource {
|
|
|
128
174
|
resourceInputs["userDefinedMetric"] = args ? args.userDefinedMetric : undefined;
|
|
129
175
|
resourceInputs["userDefinedValueFunction"] = args ? args.userDefinedValueFunction : undefined;
|
|
130
176
|
resourceInputs["violationCloseTimer"] = args ? args.violationCloseTimer : undefined;
|
|
177
|
+
resourceInputs["entityGuid"] = undefined /*out*/;
|
|
131
178
|
}
|
|
132
179
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
133
180
|
super(AlertCondition.__pulumiType, name, resourceInputs, opts);
|
package/alertCondition.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertCondition.js","sourceRoot":"","sources":["../alertCondition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"alertCondition.js","sourceRoot":"","sources":["../alertCondition.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+FG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAmED,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc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BAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAlJL,wCAmJC;AArIG,gBAAgB;AACO,2BAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to obtain the necessary fields to set up alerts on your service levels. It can be used for a `custom` alertType in order to set up an alert with custom tolerated budget consumption and custom evaluation period or for recommended ones like `fastBurn`. For more information check [the documentation](https://docs.newrelic.com/docs/service-level-management/alerts-slm/).
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* Firstly set up your service level objective, we recommend to use local variables for the `target` and `time_window.rolling.count`, as they are also necessary for the helper.
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
12
|
+
*
|
|
13
|
+
* const fooTarget = 99.9;
|
|
14
|
+
* const fooPeriod = 28;
|
|
15
|
+
* const foo = new newrelic.ServiceLevel("foo", {
|
|
16
|
+
* guid: "MXxBUE18QVBQTElDQVRJT058MQ",
|
|
17
|
+
* description: "Proportion of requests that are served faster than a threshold.",
|
|
18
|
+
* events: {
|
|
19
|
+
* accountId: 12345678,
|
|
20
|
+
* validEvents: {
|
|
21
|
+
* from: "Transaction",
|
|
22
|
+
* where: "appName = 'Example application' AND (transactionType='Web')",
|
|
23
|
+
* },
|
|
24
|
+
* goodEvents: {
|
|
25
|
+
* from: "Transaction",
|
|
26
|
+
* where: "appName = 'Example application' AND (transactionType= 'Web') AND duration < 0.1",
|
|
27
|
+
* },
|
|
28
|
+
* },
|
|
29
|
+
* objective: {
|
|
30
|
+
* target: fooTarget,
|
|
31
|
+
* timeWindow: {
|
|
32
|
+
* rolling: {
|
|
33
|
+
* count: fooPeriod,
|
|
34
|
+
* unit: "DAY",
|
|
35
|
+
* },
|
|
36
|
+
* },
|
|
37
|
+
* },
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
* Then use the helper to obtain the necessary fields to set up an alert on that Service Level.
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
45
|
+
*
|
|
46
|
+
* const fooCustom = newrelic.getServiceLevelAlertHelper({
|
|
47
|
+
* alertType: "custom",
|
|
48
|
+
* sliGuid: newrelic_service_level.foo.sli_guid,
|
|
49
|
+
* sloTarget: local.foo_target,
|
|
50
|
+
* sloPeriod: local.foo_period,
|
|
51
|
+
* customToleratedBudgetConsumption: 5,
|
|
52
|
+
* customEvaluationPeriod: 90,
|
|
53
|
+
* });
|
|
54
|
+
* const yourCondition = new newrelic.NrqlAlertCondition("yourCondition", {
|
|
55
|
+
* accountId: 12345678,
|
|
56
|
+
* policyId: 67890,
|
|
57
|
+
* type: "static",
|
|
58
|
+
* enabled: true,
|
|
59
|
+
* violationTimeLimitSeconds: 259200,
|
|
60
|
+
* nrql: {
|
|
61
|
+
* query: fooCustom.then(fooCustom => fooCustom.nrql),
|
|
62
|
+
* },
|
|
63
|
+
* critical: {
|
|
64
|
+
* operator: "above",
|
|
65
|
+
* threshold: fooCustom.then(fooCustom => fooCustom.threshold),
|
|
66
|
+
* thresholdDuration: fooCustom.then(fooCustom => fooCustom.evaluationPeriod),
|
|
67
|
+
* thresholdOccurrences: "at_least_once",
|
|
68
|
+
* },
|
|
69
|
+
* fillOption: "none",
|
|
70
|
+
* aggregationWindow: 3600,
|
|
71
|
+
* aggregationMethod: "event_flow",
|
|
72
|
+
* aggregationDelay: "120",
|
|
73
|
+
* slideBy: 60,
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
export declare function getServiceLevelAlertHelper(args: GetServiceLevelAlertHelperArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceLevelAlertHelperResult>;
|
|
78
|
+
/**
|
|
79
|
+
* A collection of arguments for invoking getServiceLevelAlertHelper.
|
|
80
|
+
*/
|
|
81
|
+
export interface GetServiceLevelAlertHelperArgs {
|
|
82
|
+
/**
|
|
83
|
+
* The type of alert we want to set. Valid values are:
|
|
84
|
+
*/
|
|
85
|
+
alertType: string;
|
|
86
|
+
/**
|
|
87
|
+
* Aggregation window taken into consideration in minutes. Mandatory if `alertType` is `custom`.
|
|
88
|
+
*/
|
|
89
|
+
customEvaluationPeriod?: number;
|
|
90
|
+
/**
|
|
91
|
+
* How much budget you tolerate to consume during the custom evaluation period, valid values between `0` and `100`. Mandatory if `alertType` is `custom`.
|
|
92
|
+
*/
|
|
93
|
+
customToleratedBudgetConsumption?: number;
|
|
94
|
+
/**
|
|
95
|
+
* The guid of the sli we want to set the alert on.
|
|
96
|
+
*/
|
|
97
|
+
sliGuid: string;
|
|
98
|
+
/**
|
|
99
|
+
* The time window of the Service Level Objective in days. Valid values are `1`, `7` and `28`.
|
|
100
|
+
*/
|
|
101
|
+
sloPeriod: number;
|
|
102
|
+
/**
|
|
103
|
+
* The target of the Service Level Objective, valid values between `0` and `100`.
|
|
104
|
+
*/
|
|
105
|
+
sloTarget: number;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* A collection of values returned by getServiceLevelAlertHelper.
|
|
109
|
+
*/
|
|
110
|
+
export interface GetServiceLevelAlertHelperResult {
|
|
111
|
+
readonly alertType: string;
|
|
112
|
+
readonly customEvaluationPeriod?: number;
|
|
113
|
+
readonly customToleratedBudgetConsumption?: number;
|
|
114
|
+
/**
|
|
115
|
+
* (Computed) For non `custom` alert_type, this is the recommended for that type of alert. For `custom` alertType it has the same value as `customEvaluationPeriod`.
|
|
116
|
+
*/
|
|
117
|
+
readonly evaluationPeriod: number;
|
|
118
|
+
/**
|
|
119
|
+
* The provider-assigned unique ID for this managed resource.
|
|
120
|
+
*/
|
|
121
|
+
readonly id: string;
|
|
122
|
+
/**
|
|
123
|
+
* (Computed) The nrql query for the selected type of alert.
|
|
124
|
+
*/
|
|
125
|
+
readonly nrql: string;
|
|
126
|
+
readonly sliGuid: string;
|
|
127
|
+
readonly sloPeriod: number;
|
|
128
|
+
readonly sloTarget: number;
|
|
129
|
+
/**
|
|
130
|
+
* (Computed) The computed threshold given the provided arguments.
|
|
131
|
+
*/
|
|
132
|
+
readonly threshold: number;
|
|
133
|
+
/**
|
|
134
|
+
* (Computed) For non `custom` alert_type, this is the recommended for that type of alert. For `custom` alertType it has the same value as `customToleratedBudgetConsumption`.
|
|
135
|
+
*/
|
|
136
|
+
readonly toleratedBudgetConsumption: number;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Use this data source to obtain the necessary fields to set up alerts on your service levels. It can be used for a `custom` alertType in order to set up an alert with custom tolerated budget consumption and custom evaluation period or for recommended ones like `fastBurn`. For more information check [the documentation](https://docs.newrelic.com/docs/service-level-management/alerts-slm/).
|
|
140
|
+
*
|
|
141
|
+
* ## Example Usage
|
|
142
|
+
*
|
|
143
|
+
* Firstly set up your service level objective, we recommend to use local variables for the `target` and `time_window.rolling.count`, as they are also necessary for the helper.
|
|
144
|
+
*
|
|
145
|
+
* ```typescript
|
|
146
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
147
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
148
|
+
*
|
|
149
|
+
* const fooTarget = 99.9;
|
|
150
|
+
* const fooPeriod = 28;
|
|
151
|
+
* const foo = new newrelic.ServiceLevel("foo", {
|
|
152
|
+
* guid: "MXxBUE18QVBQTElDQVRJT058MQ",
|
|
153
|
+
* description: "Proportion of requests that are served faster than a threshold.",
|
|
154
|
+
* events: {
|
|
155
|
+
* accountId: 12345678,
|
|
156
|
+
* validEvents: {
|
|
157
|
+
* from: "Transaction",
|
|
158
|
+
* where: "appName = 'Example application' AND (transactionType='Web')",
|
|
159
|
+
* },
|
|
160
|
+
* goodEvents: {
|
|
161
|
+
* from: "Transaction",
|
|
162
|
+
* where: "appName = 'Example application' AND (transactionType= 'Web') AND duration < 0.1",
|
|
163
|
+
* },
|
|
164
|
+
* },
|
|
165
|
+
* objective: {
|
|
166
|
+
* target: fooTarget,
|
|
167
|
+
* timeWindow: {
|
|
168
|
+
* rolling: {
|
|
169
|
+
* count: fooPeriod,
|
|
170
|
+
* unit: "DAY",
|
|
171
|
+
* },
|
|
172
|
+
* },
|
|
173
|
+
* },
|
|
174
|
+
* });
|
|
175
|
+
* ```
|
|
176
|
+
* Then use the helper to obtain the necessary fields to set up an alert on that Service Level.
|
|
177
|
+
*
|
|
178
|
+
* ```typescript
|
|
179
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
180
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
181
|
+
*
|
|
182
|
+
* const fooCustom = newrelic.getServiceLevelAlertHelper({
|
|
183
|
+
* alertType: "custom",
|
|
184
|
+
* sliGuid: newrelic_service_level.foo.sli_guid,
|
|
185
|
+
* sloTarget: local.foo_target,
|
|
186
|
+
* sloPeriod: local.foo_period,
|
|
187
|
+
* customToleratedBudgetConsumption: 5,
|
|
188
|
+
* customEvaluationPeriod: 90,
|
|
189
|
+
* });
|
|
190
|
+
* const yourCondition = new newrelic.NrqlAlertCondition("yourCondition", {
|
|
191
|
+
* accountId: 12345678,
|
|
192
|
+
* policyId: 67890,
|
|
193
|
+
* type: "static",
|
|
194
|
+
* enabled: true,
|
|
195
|
+
* violationTimeLimitSeconds: 259200,
|
|
196
|
+
* nrql: {
|
|
197
|
+
* query: fooCustom.then(fooCustom => fooCustom.nrql),
|
|
198
|
+
* },
|
|
199
|
+
* critical: {
|
|
200
|
+
* operator: "above",
|
|
201
|
+
* threshold: fooCustom.then(fooCustom => fooCustom.threshold),
|
|
202
|
+
* thresholdDuration: fooCustom.then(fooCustom => fooCustom.evaluationPeriod),
|
|
203
|
+
* thresholdOccurrences: "at_least_once",
|
|
204
|
+
* },
|
|
205
|
+
* fillOption: "none",
|
|
206
|
+
* aggregationWindow: 3600,
|
|
207
|
+
* aggregationMethod: "event_flow",
|
|
208
|
+
* aggregationDelay: "120",
|
|
209
|
+
* slideBy: 60,
|
|
210
|
+
* });
|
|
211
|
+
* ```
|
|
212
|
+
*/
|
|
213
|
+
export declare function getServiceLevelAlertHelperOutput(args: GetServiceLevelAlertHelperOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServiceLevelAlertHelperResult>;
|
|
214
|
+
/**
|
|
215
|
+
* A collection of arguments for invoking getServiceLevelAlertHelper.
|
|
216
|
+
*/
|
|
217
|
+
export interface GetServiceLevelAlertHelperOutputArgs {
|
|
218
|
+
/**
|
|
219
|
+
* The type of alert we want to set. Valid values are:
|
|
220
|
+
*/
|
|
221
|
+
alertType: pulumi.Input<string>;
|
|
222
|
+
/**
|
|
223
|
+
* Aggregation window taken into consideration in minutes. Mandatory if `alertType` is `custom`.
|
|
224
|
+
*/
|
|
225
|
+
customEvaluationPeriod?: pulumi.Input<number>;
|
|
226
|
+
/**
|
|
227
|
+
* How much budget you tolerate to consume during the custom evaluation period, valid values between `0` and `100`. Mandatory if `alertType` is `custom`.
|
|
228
|
+
*/
|
|
229
|
+
customToleratedBudgetConsumption?: pulumi.Input<number>;
|
|
230
|
+
/**
|
|
231
|
+
* The guid of the sli we want to set the alert on.
|
|
232
|
+
*/
|
|
233
|
+
sliGuid: pulumi.Input<string>;
|
|
234
|
+
/**
|
|
235
|
+
* The time window of the Service Level Objective in days. Valid values are `1`, `7` and `28`.
|
|
236
|
+
*/
|
|
237
|
+
sloPeriod: pulumi.Input<number>;
|
|
238
|
+
/**
|
|
239
|
+
* The target of the Service Level Objective, valid values between `0` and `100`.
|
|
240
|
+
*/
|
|
241
|
+
sloTarget: pulumi.Input<number>;
|
|
242
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getServiceLevelAlertHelperOutput = exports.getServiceLevelAlertHelper = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to obtain the necessary fields to set up alerts on your service levels. It can be used for a `custom` alertType in order to set up an alert with custom tolerated budget consumption and custom evaluation period or for recommended ones like `fastBurn`. For more information check [the documentation](https://docs.newrelic.com/docs/service-level-management/alerts-slm/).
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* Firstly set up your service level objective, we recommend to use local variables for the `target` and `time_window.rolling.count`, as they are also necessary for the helper.
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
18
|
+
*
|
|
19
|
+
* const fooTarget = 99.9;
|
|
20
|
+
* const fooPeriod = 28;
|
|
21
|
+
* const foo = new newrelic.ServiceLevel("foo", {
|
|
22
|
+
* guid: "MXxBUE18QVBQTElDQVRJT058MQ",
|
|
23
|
+
* description: "Proportion of requests that are served faster than a threshold.",
|
|
24
|
+
* events: {
|
|
25
|
+
* accountId: 12345678,
|
|
26
|
+
* validEvents: {
|
|
27
|
+
* from: "Transaction",
|
|
28
|
+
* where: "appName = 'Example application' AND (transactionType='Web')",
|
|
29
|
+
* },
|
|
30
|
+
* goodEvents: {
|
|
31
|
+
* from: "Transaction",
|
|
32
|
+
* where: "appName = 'Example application' AND (transactionType= 'Web') AND duration < 0.1",
|
|
33
|
+
* },
|
|
34
|
+
* },
|
|
35
|
+
* objective: {
|
|
36
|
+
* target: fooTarget,
|
|
37
|
+
* timeWindow: {
|
|
38
|
+
* rolling: {
|
|
39
|
+
* count: fooPeriod,
|
|
40
|
+
* unit: "DAY",
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
* Then use the helper to obtain the necessary fields to set up an alert on that Service Level.
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
51
|
+
*
|
|
52
|
+
* const fooCustom = newrelic.getServiceLevelAlertHelper({
|
|
53
|
+
* alertType: "custom",
|
|
54
|
+
* sliGuid: newrelic_service_level.foo.sli_guid,
|
|
55
|
+
* sloTarget: local.foo_target,
|
|
56
|
+
* sloPeriod: local.foo_period,
|
|
57
|
+
* customToleratedBudgetConsumption: 5,
|
|
58
|
+
* customEvaluationPeriod: 90,
|
|
59
|
+
* });
|
|
60
|
+
* const yourCondition = new newrelic.NrqlAlertCondition("yourCondition", {
|
|
61
|
+
* accountId: 12345678,
|
|
62
|
+
* policyId: 67890,
|
|
63
|
+
* type: "static",
|
|
64
|
+
* enabled: true,
|
|
65
|
+
* violationTimeLimitSeconds: 259200,
|
|
66
|
+
* nrql: {
|
|
67
|
+
* query: fooCustom.then(fooCustom => fooCustom.nrql),
|
|
68
|
+
* },
|
|
69
|
+
* critical: {
|
|
70
|
+
* operator: "above",
|
|
71
|
+
* threshold: fooCustom.then(fooCustom => fooCustom.threshold),
|
|
72
|
+
* thresholdDuration: fooCustom.then(fooCustom => fooCustom.evaluationPeriod),
|
|
73
|
+
* thresholdOccurrences: "at_least_once",
|
|
74
|
+
* },
|
|
75
|
+
* fillOption: "none",
|
|
76
|
+
* aggregationWindow: 3600,
|
|
77
|
+
* aggregationMethod: "event_flow",
|
|
78
|
+
* aggregationDelay: "120",
|
|
79
|
+
* slideBy: 60,
|
|
80
|
+
* });
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
function getServiceLevelAlertHelper(args, opts) {
|
|
84
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
85
|
+
return pulumi.runtime.invoke("newrelic:index/getServiceLevelAlertHelper:getServiceLevelAlertHelper", {
|
|
86
|
+
"alertType": args.alertType,
|
|
87
|
+
"customEvaluationPeriod": args.customEvaluationPeriod,
|
|
88
|
+
"customToleratedBudgetConsumption": args.customToleratedBudgetConsumption,
|
|
89
|
+
"sliGuid": args.sliGuid,
|
|
90
|
+
"sloPeriod": args.sloPeriod,
|
|
91
|
+
"sloTarget": args.sloTarget,
|
|
92
|
+
}, opts);
|
|
93
|
+
}
|
|
94
|
+
exports.getServiceLevelAlertHelper = getServiceLevelAlertHelper;
|
|
95
|
+
/**
|
|
96
|
+
* Use this data source to obtain the necessary fields to set up alerts on your service levels. It can be used for a `custom` alertType in order to set up an alert with custom tolerated budget consumption and custom evaluation period or for recommended ones like `fastBurn`. For more information check [the documentation](https://docs.newrelic.com/docs/service-level-management/alerts-slm/).
|
|
97
|
+
*
|
|
98
|
+
* ## Example Usage
|
|
99
|
+
*
|
|
100
|
+
* Firstly set up your service level objective, we recommend to use local variables for the `target` and `time_window.rolling.count`, as they are also necessary for the helper.
|
|
101
|
+
*
|
|
102
|
+
* ```typescript
|
|
103
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
104
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
105
|
+
*
|
|
106
|
+
* const fooTarget = 99.9;
|
|
107
|
+
* const fooPeriod = 28;
|
|
108
|
+
* const foo = new newrelic.ServiceLevel("foo", {
|
|
109
|
+
* guid: "MXxBUE18QVBQTElDQVRJT058MQ",
|
|
110
|
+
* description: "Proportion of requests that are served faster than a threshold.",
|
|
111
|
+
* events: {
|
|
112
|
+
* accountId: 12345678,
|
|
113
|
+
* validEvents: {
|
|
114
|
+
* from: "Transaction",
|
|
115
|
+
* where: "appName = 'Example application' AND (transactionType='Web')",
|
|
116
|
+
* },
|
|
117
|
+
* goodEvents: {
|
|
118
|
+
* from: "Transaction",
|
|
119
|
+
* where: "appName = 'Example application' AND (transactionType= 'Web') AND duration < 0.1",
|
|
120
|
+
* },
|
|
121
|
+
* },
|
|
122
|
+
* objective: {
|
|
123
|
+
* target: fooTarget,
|
|
124
|
+
* timeWindow: {
|
|
125
|
+
* rolling: {
|
|
126
|
+
* count: fooPeriod,
|
|
127
|
+
* unit: "DAY",
|
|
128
|
+
* },
|
|
129
|
+
* },
|
|
130
|
+
* },
|
|
131
|
+
* });
|
|
132
|
+
* ```
|
|
133
|
+
* Then use the helper to obtain the necessary fields to set up an alert on that Service Level.
|
|
134
|
+
*
|
|
135
|
+
* ```typescript
|
|
136
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
137
|
+
* import * as newrelic from "@pulumi/newrelic";
|
|
138
|
+
*
|
|
139
|
+
* const fooCustom = newrelic.getServiceLevelAlertHelper({
|
|
140
|
+
* alertType: "custom",
|
|
141
|
+
* sliGuid: newrelic_service_level.foo.sli_guid,
|
|
142
|
+
* sloTarget: local.foo_target,
|
|
143
|
+
* sloPeriod: local.foo_period,
|
|
144
|
+
* customToleratedBudgetConsumption: 5,
|
|
145
|
+
* customEvaluationPeriod: 90,
|
|
146
|
+
* });
|
|
147
|
+
* const yourCondition = new newrelic.NrqlAlertCondition("yourCondition", {
|
|
148
|
+
* accountId: 12345678,
|
|
149
|
+
* policyId: 67890,
|
|
150
|
+
* type: "static",
|
|
151
|
+
* enabled: true,
|
|
152
|
+
* violationTimeLimitSeconds: 259200,
|
|
153
|
+
* nrql: {
|
|
154
|
+
* query: fooCustom.then(fooCustom => fooCustom.nrql),
|
|
155
|
+
* },
|
|
156
|
+
* critical: {
|
|
157
|
+
* operator: "above",
|
|
158
|
+
* threshold: fooCustom.then(fooCustom => fooCustom.threshold),
|
|
159
|
+
* thresholdDuration: fooCustom.then(fooCustom => fooCustom.evaluationPeriod),
|
|
160
|
+
* thresholdOccurrences: "at_least_once",
|
|
161
|
+
* },
|
|
162
|
+
* fillOption: "none",
|
|
163
|
+
* aggregationWindow: 3600,
|
|
164
|
+
* aggregationMethod: "event_flow",
|
|
165
|
+
* aggregationDelay: "120",
|
|
166
|
+
* slideBy: 60,
|
|
167
|
+
* });
|
|
168
|
+
* ```
|
|
169
|
+
*/
|
|
170
|
+
function getServiceLevelAlertHelperOutput(args, opts) {
|
|
171
|
+
return pulumi.output(args).apply((a) => getServiceLevelAlertHelper(a, opts));
|
|
172
|
+
}
|
|
173
|
+
exports.getServiceLevelAlertHelperOutput = getServiceLevelAlertHelperOutput;
|
|
174
|
+
//# sourceMappingURL=getServiceLevelAlertHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getServiceLevelAlertHelper.js","sourceRoot":"","sources":["../getServiceLevelAlertHelper.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IAExG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sEAAsE,EAAE;QACjG,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,kCAAkC,EAAE,IAAI,CAAC,gCAAgC;QACzE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gEAWC;AA+DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,0BAA0B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrF,CAAC;AAFD,4EAEC"}
|
package/index.d.ts
CHANGED
|
@@ -58,6 +58,9 @@ export declare const getNotificationDestinationOutput: typeof import("./getNotif
|
|
|
58
58
|
export { GetObfuscationExpressionArgs, GetObfuscationExpressionResult, GetObfuscationExpressionOutputArgs } from "./getObfuscationExpression";
|
|
59
59
|
export declare const getObfuscationExpression: typeof import("./getObfuscationExpression").getObfuscationExpression;
|
|
60
60
|
export declare const getObfuscationExpressionOutput: typeof import("./getObfuscationExpression").getObfuscationExpressionOutput;
|
|
61
|
+
export { GetServiceLevelAlertHelperArgs, GetServiceLevelAlertHelperResult, GetServiceLevelAlertHelperOutputArgs } from "./getServiceLevelAlertHelper";
|
|
62
|
+
export declare const getServiceLevelAlertHelper: typeof import("./getServiceLevelAlertHelper").getServiceLevelAlertHelper;
|
|
63
|
+
export declare const getServiceLevelAlertHelperOutput: typeof import("./getServiceLevelAlertHelper").getServiceLevelAlertHelperOutput;
|
|
61
64
|
export { GetTestGrokPatternArgs, GetTestGrokPatternResult, GetTestGrokPatternOutputArgs } from "./getTestGrokPattern";
|
|
62
65
|
export declare const getTestGrokPattern: typeof import("./getTestGrokPattern").getTestGrokPattern;
|
|
63
66
|
export declare const getTestGrokPatternOutput: typeof import("./getTestGrokPattern").getTestGrokPatternOutput;
|
package/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
6
|
-
exports.types = void 0;
|
|
5
|
+
exports.insights = exports.config = exports.cloud = exports.Workflow = exports.ServiceLevel = exports.Provider = exports.OneDashboardRaw = exports.OneDashboardJson = exports.OneDashboard = exports.ObfuscationRule = exports.ObfuscationExpression = exports.NrqlDropRule = exports.NrqlAlertCondition = exports.NotificationDestination = exports.NotificationChannel = exports.LogParsingRule = exports.InfraAlertCondition = exports.getTestGrokPatternOutput = exports.getTestGrokPattern = exports.getServiceLevelAlertHelperOutput = exports.getServiceLevelAlertHelper = exports.getObfuscationExpressionOutput = exports.getObfuscationExpression = exports.getNotificationDestinationOutput = exports.getNotificationDestination = exports.getKeyTransactionOutput = exports.getKeyTransaction = exports.getEntityOutput = exports.getEntity = exports.getCloudAccountOutput = exports.getCloudAccount = exports.getApplicationOutput = exports.getApplication = exports.getAlertPolicyOutput = exports.getAlertPolicy = exports.getAlertChannelOutput = exports.getAlertChannel = exports.getAccountOutput = exports.getAccount = exports.EventsToMetricsRule = exports.EntityTags = exports.DataPartitionRule = exports.BrowserApplication = exports.ApiAccessKey = exports.AlertPolicyChannel = exports.AlertPolicy = exports.AlertMutingRule = exports.AlertCondition = exports.AlertChannel = exports.AccountManagement = void 0;
|
|
6
|
+
exports.types = exports.synthetics = exports.plugins = void 0;
|
|
7
7
|
const pulumi = require("@pulumi/pulumi");
|
|
8
8
|
const utilities = require("./utilities");
|
|
9
9
|
exports.AccountManagement = null;
|
|
@@ -55,6 +55,9 @@ utilities.lazyLoad(exports, ["getNotificationDestination", "getNotificationDesti
|
|
|
55
55
|
exports.getObfuscationExpression = null;
|
|
56
56
|
exports.getObfuscationExpressionOutput = null;
|
|
57
57
|
utilities.lazyLoad(exports, ["getObfuscationExpression", "getObfuscationExpressionOutput"], () => require("./getObfuscationExpression"));
|
|
58
|
+
exports.getServiceLevelAlertHelper = null;
|
|
59
|
+
exports.getServiceLevelAlertHelperOutput = null;
|
|
60
|
+
utilities.lazyLoad(exports, ["getServiceLevelAlertHelper", "getServiceLevelAlertHelperOutput"], () => require("./getServiceLevelAlertHelper"));
|
|
58
61
|
exports.getTestGrokPattern = null;
|
|
59
62
|
exports.getTestGrokPatternOutput = null;
|
|
60
63
|
utilities.lazyLoad(exports, ["getTestGrokPattern", "getTestGrokPatternOutput"], () => require("./getTestGrokPattern"));
|