@pulumi/signalfx 7.1.4 → 7.1.5
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/alertMutingRule.d.ts +27 -33
- package/alertMutingRule.js +2 -18
- package/alertMutingRule.js.map +1 -1
- package/aws/externalIntegration.d.ts +7 -19
- package/aws/externalIntegration.js +0 -12
- package/aws/externalIntegration.js.map +1 -1
- package/aws/integration.d.ts +68 -135
- package/aws/integration.js +0 -37
- package/aws/integration.js.map +1 -1
- package/aws/tokenIntegration.d.ts +5 -16
- package/aws/tokenIntegration.js +0 -11
- package/aws/tokenIntegration.js.map +1 -1
- package/azure/integration.d.ts +39 -95
- package/azure/integration.js +0 -26
- package/azure/integration.js.map +1 -1
- package/dashboard.d.ts +62 -62
- package/dashboardGroup.d.ts +21 -54
- package/dashboardGroup.js +0 -33
- package/dashboardGroup.js.map +1 -1
- package/dataLink.d.ts +12 -46
- package/dataLink.js +0 -28
- package/dataLink.js.map +1 -1
- package/detector.d.ts +55 -114
- package/detector.js +0 -51
- package/detector.js.map +1 -1
- package/eventFeedChart.d.ts +20 -38
- package/eventFeedChart.js +0 -18
- package/eventFeedChart.js.map +1 -1
- package/gcp/integration.d.ts +30 -61
- package/gcp/integration.js +0 -19
- package/gcp/integration.js.map +1 -1
- package/heatmapChart.d.ts +44 -78
- package/heatmapChart.js +0 -34
- package/heatmapChart.js.map +1 -1
- package/jira/integration.d.ts +21 -48
- package/jira/integration.js +0 -21
- package/jira/integration.js.map +1 -1
- package/listChart.d.ts +62 -109
- package/listChart.js +0 -44
- package/listChart.js.map +1 -1
- package/log/timeline.d.ts +23 -42
- package/log/timeline.js +0 -19
- package/log/timeline.js.map +1 -1
- package/log/view.d.ts +29 -50
- package/log/view.js +0 -21
- package/log/view.js.map +1 -1
- package/metricRuleset.d.ts +9 -31
- package/metricRuleset.js +0 -22
- package/metricRuleset.js.map +1 -1
- package/opsgenie/integration.d.ts +12 -25
- package/opsgenie/integration.js +0 -13
- package/opsgenie/integration.js.map +1 -1
- package/orgToken.d.ts +36 -47
- package/orgToken.js +0 -29
- package/orgToken.js.map +1 -1
- package/package.json +2 -2
- package/pagerduty/getIntegration.d.ts +12 -20
- package/pagerduty/getIntegration.js +0 -20
- package/pagerduty/getIntegration.js.map +1 -1
- package/pagerduty/integration.d.ts +9 -20
- package/pagerduty/integration.js +0 -11
- package/pagerduty/integration.js.map +1 -1
- package/servicenow/integration.d.ts +15 -44
- package/servicenow/integration.js +0 -17
- package/servicenow/integration.js.map +1 -1
- package/singleValueChart.d.ts +38 -73
- package/singleValueChart.js +0 -35
- package/singleValueChart.js.map +1 -1
- package/slack/integration.d.ts +9 -21
- package/slack/integration.js +0 -12
- package/slack/integration.js.map +1 -1
- package/slo.d.ts +12 -52
- package/slo.js +0 -37
- package/slo.js.map +1 -1
- package/tableChart.d.ts +14 -30
- package/tableChart.js +0 -16
- package/tableChart.js.map +1 -1
- package/team.d.ts +29 -50
- package/team.js +0 -21
- package/team.js.map +1 -1
- package/textChart.d.ts +11 -26
- package/textChart.js +0 -15
- package/textChart.js.map +1 -1
- package/timeChart.d.ts +92 -146
- package/timeChart.js +0 -66
- package/timeChart.js.map +1 -1
- package/types/input.d.ts +211 -182
- package/types/output.d.ts +211 -182
- package/victorops/integration.d.ts +9 -21
- package/victorops/integration.js +0 -12
- package/victorops/integration.js.map +1 -1
- package/webhookIntegration.d.ts +36 -28
- package/webhookIntegration.js +4 -16
- package/webhookIntegration.js.map +1 -1
package/singleValueChart.d.ts
CHANGED
|
@@ -7,41 +7,6 @@ import * as outputs from "./types/output";
|
|
|
7
7
|
* If the time period is in the past, the number represents the value of the metric near the end of the time period.
|
|
8
8
|
*
|
|
9
9
|
* ## Example
|
|
10
|
-
*
|
|
11
|
-
* ## Arguments
|
|
12
|
-
*
|
|
13
|
-
* The following arguments are supported in the resource block:
|
|
14
|
-
*
|
|
15
|
-
* * `name` - (Required) Name of the chart.
|
|
16
|
-
* * `programText` - (Required) Signalflow program text for the chart. More info [in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/).
|
|
17
|
-
* * `description` - (Optional) Description of the chart.
|
|
18
|
-
* * `colorBy` - (Optional) Must be `"Dimension"`, `"Scale"` or `"Metric"`. `"Dimension"` by default.
|
|
19
|
-
* * `colorScale` - (Optional. `colorBy` must be `"Scale"`) Single color range including both the color to display for that range and the borders of the range. Example: `[{ gt = 60, color = "blue" }, { lte = 60, color = "yellow" }]`. Look at this [link](https://docs.signalfx.com/en/latest/charts/chart-options-tab.html).
|
|
20
|
-
* * `gt` - (Optional) Indicates the lower threshold non-inclusive value for this range.
|
|
21
|
-
* * `gte` - (Optional) Indicates the lower threshold inclusive value for this range.
|
|
22
|
-
* * `lt` - (Optional) Indicates the upper threshold non-inculsive value for this range.
|
|
23
|
-
* * `lte` - (Optional) Indicates the upper threshold inclusive value for this range.
|
|
24
|
-
* * `color` - (Required) The color to use. Must be one of gray, blue, light_blue, navy, dark_orange, orange, dark_yellow, magenta, cerise, pink, violet, purple, gray_blue, dark_green, green, aquamarine, red, yellow, vivid_yellow, light_green, or lime_green.
|
|
25
|
-
* * `vizOptions` - (Optional) Plot-level customization options, associated with a publish statement.
|
|
26
|
-
* * `label` - (Required) Label used in the publish statement that displays the plot (metric time series data) you want to customize.
|
|
27
|
-
* * `displayName` - (Optional) Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
|
|
28
|
-
* * `color` - (Optional) The color to use. Must be one of gray, blue, light_blue, navy, dark_orange, orange, dark_yellow, magenta, cerise, pink, violet, purple, gray_blue, dark_green, green, aquamarine, red, yellow, vivid_yellow, light_green, or lime_green.
|
|
29
|
-
* * `valueUnit` - (Optional) A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes). Values values are `Bit, Kilobit, Megabit, Gigabit, Terabit, Petabit, Exabit, Zettabit, Yottabit, Byte, Kibibyte, Mebibyte, Gibibyte (note: this was previously typoed as Gigibyte), Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte, Nanosecond, Microsecond, Millisecond, Second, Minute, Hour, Day, Week`.
|
|
30
|
-
* * `valuePrefix`, `valueSuffix` - (Optional) Arbitrary prefix/suffix to display with the value of this plot.
|
|
31
|
-
* * `unitPrefix` - (Optional) Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
32
|
-
* * `maxDelay` - (Optional) How long (in seconds) to wait for late datapoints
|
|
33
|
-
* * `refreshInterval` - (Optional) How often (in seconds) to refresh the value.
|
|
34
|
-
* * `maxPrecision` - (Optional) The maximum precision to for value displayed.
|
|
35
|
-
* * `isTimestampHidden` - (Optional) Whether to hide the timestamp in the chart. `false` by default.
|
|
36
|
-
* * `secondaryVisualization` - (Optional) The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`None`).
|
|
37
|
-
* * `showSparkLine` - (Optional) Whether to show a trend line below the current value. `false` by default.
|
|
38
|
-
*
|
|
39
|
-
* ## Attributes
|
|
40
|
-
*
|
|
41
|
-
* In a addition to all arguments above, the following attributes are exported:
|
|
42
|
-
*
|
|
43
|
-
* * `id` - The ID of the chart.
|
|
44
|
-
* * `url` - The URL of the chart.
|
|
45
10
|
*/
|
|
46
11
|
export declare class SingleValueChart extends pulumi.CustomResource {
|
|
47
12
|
/**
|
|
@@ -60,19 +25,19 @@ export declare class SingleValueChart extends pulumi.CustomResource {
|
|
|
60
25
|
*/
|
|
61
26
|
static isInstance(obj: any): obj is SingleValueChart;
|
|
62
27
|
/**
|
|
63
|
-
*
|
|
28
|
+
* Must be `"Dimension"`, `"Scale"` or `"Metric"`. `"Dimension"` by default.
|
|
64
29
|
*/
|
|
65
30
|
readonly colorBy: pulumi.Output<string | undefined>;
|
|
66
31
|
/**
|
|
67
|
-
* Single color range including both the color to display for that range and the borders of the range
|
|
32
|
+
* Single color range including both the color to display for that range and the borders of the range. Example: `[{ gt = 60, color = "blue" }, { lte = 60, color = "yellow" }]`. Look at this [link](https://docs.signalfx.com/en/latest/charts/chart-options-tab.html).
|
|
68
33
|
*/
|
|
69
34
|
readonly colorScales: pulumi.Output<outputs.SingleValueChartColorScale[] | undefined>;
|
|
70
35
|
/**
|
|
71
|
-
* Description of the chart
|
|
36
|
+
* Description of the chart.
|
|
72
37
|
*/
|
|
73
38
|
readonly description: pulumi.Output<string | undefined>;
|
|
74
39
|
/**
|
|
75
|
-
*
|
|
40
|
+
* Whether to hide the timestamp in the chart. `false` by default.
|
|
76
41
|
*/
|
|
77
42
|
readonly isTimestampHidden: pulumi.Output<boolean | undefined>;
|
|
78
43
|
/**
|
|
@@ -80,27 +45,27 @@ export declare class SingleValueChart extends pulumi.CustomResource {
|
|
|
80
45
|
*/
|
|
81
46
|
readonly maxDelay: pulumi.Output<number | undefined>;
|
|
82
47
|
/**
|
|
83
|
-
* The maximum precision to for
|
|
48
|
+
* The maximum precision to for value displayed.
|
|
84
49
|
*/
|
|
85
50
|
readonly maxPrecision: pulumi.Output<number | undefined>;
|
|
86
51
|
/**
|
|
87
|
-
* Name of the chart
|
|
52
|
+
* Name of the chart.
|
|
88
53
|
*/
|
|
89
54
|
readonly name: pulumi.Output<string>;
|
|
90
55
|
/**
|
|
91
|
-
* Signalflow program text for the chart. More info
|
|
56
|
+
* Signalflow program text for the chart. More info [in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/).
|
|
92
57
|
*/
|
|
93
58
|
readonly programText: pulumi.Output<string>;
|
|
94
59
|
/**
|
|
95
|
-
* How often (in seconds) to refresh the
|
|
60
|
+
* How often (in seconds) to refresh the value.
|
|
96
61
|
*/
|
|
97
62
|
readonly refreshInterval: pulumi.Output<number | undefined>;
|
|
98
63
|
/**
|
|
99
|
-
*
|
|
64
|
+
* The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`None`).
|
|
100
65
|
*/
|
|
101
66
|
readonly secondaryVisualization: pulumi.Output<string | undefined>;
|
|
102
67
|
/**
|
|
103
|
-
*
|
|
68
|
+
* Whether to show a trend line below the current value. `false` by default.
|
|
104
69
|
*/
|
|
105
70
|
readonly showSparkLine: pulumi.Output<boolean | undefined>;
|
|
106
71
|
/**
|
|
@@ -108,15 +73,15 @@ export declare class SingleValueChart extends pulumi.CustomResource {
|
|
|
108
73
|
*/
|
|
109
74
|
readonly timezone: pulumi.Output<string | undefined>;
|
|
110
75
|
/**
|
|
111
|
-
*
|
|
76
|
+
* Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
112
77
|
*/
|
|
113
78
|
readonly unitPrefix: pulumi.Output<string | undefined>;
|
|
114
79
|
/**
|
|
115
|
-
* URL of the chart
|
|
80
|
+
* The URL of the chart.
|
|
116
81
|
*/
|
|
117
82
|
readonly url: pulumi.Output<string>;
|
|
118
83
|
/**
|
|
119
|
-
* Plot-level customization options, associated with a publish statement
|
|
84
|
+
* Plot-level customization options, associated with a publish statement.
|
|
120
85
|
*/
|
|
121
86
|
readonly vizOptions: pulumi.Output<outputs.SingleValueChartVizOption[] | undefined>;
|
|
122
87
|
/**
|
|
@@ -133,19 +98,19 @@ export declare class SingleValueChart extends pulumi.CustomResource {
|
|
|
133
98
|
*/
|
|
134
99
|
export interface SingleValueChartState {
|
|
135
100
|
/**
|
|
136
|
-
*
|
|
101
|
+
* Must be `"Dimension"`, `"Scale"` or `"Metric"`. `"Dimension"` by default.
|
|
137
102
|
*/
|
|
138
103
|
colorBy?: pulumi.Input<string>;
|
|
139
104
|
/**
|
|
140
|
-
* Single color range including both the color to display for that range and the borders of the range
|
|
105
|
+
* Single color range including both the color to display for that range and the borders of the range. Example: `[{ gt = 60, color = "blue" }, { lte = 60, color = "yellow" }]`. Look at this [link](https://docs.signalfx.com/en/latest/charts/chart-options-tab.html).
|
|
141
106
|
*/
|
|
142
107
|
colorScales?: pulumi.Input<pulumi.Input<inputs.SingleValueChartColorScale>[]>;
|
|
143
108
|
/**
|
|
144
|
-
* Description of the chart
|
|
109
|
+
* Description of the chart.
|
|
145
110
|
*/
|
|
146
111
|
description?: pulumi.Input<string>;
|
|
147
112
|
/**
|
|
148
|
-
*
|
|
113
|
+
* Whether to hide the timestamp in the chart. `false` by default.
|
|
149
114
|
*/
|
|
150
115
|
isTimestampHidden?: pulumi.Input<boolean>;
|
|
151
116
|
/**
|
|
@@ -153,27 +118,27 @@ export interface SingleValueChartState {
|
|
|
153
118
|
*/
|
|
154
119
|
maxDelay?: pulumi.Input<number>;
|
|
155
120
|
/**
|
|
156
|
-
* The maximum precision to for
|
|
121
|
+
* The maximum precision to for value displayed.
|
|
157
122
|
*/
|
|
158
123
|
maxPrecision?: pulumi.Input<number>;
|
|
159
124
|
/**
|
|
160
|
-
* Name of the chart
|
|
125
|
+
* Name of the chart.
|
|
161
126
|
*/
|
|
162
127
|
name?: pulumi.Input<string>;
|
|
163
128
|
/**
|
|
164
|
-
* Signalflow program text for the chart. More info
|
|
129
|
+
* Signalflow program text for the chart. More info [in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/).
|
|
165
130
|
*/
|
|
166
131
|
programText?: pulumi.Input<string>;
|
|
167
132
|
/**
|
|
168
|
-
* How often (in seconds) to refresh the
|
|
133
|
+
* How often (in seconds) to refresh the value.
|
|
169
134
|
*/
|
|
170
135
|
refreshInterval?: pulumi.Input<number>;
|
|
171
136
|
/**
|
|
172
|
-
*
|
|
137
|
+
* The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`None`).
|
|
173
138
|
*/
|
|
174
139
|
secondaryVisualization?: pulumi.Input<string>;
|
|
175
140
|
/**
|
|
176
|
-
*
|
|
141
|
+
* Whether to show a trend line below the current value. `false` by default.
|
|
177
142
|
*/
|
|
178
143
|
showSparkLine?: pulumi.Input<boolean>;
|
|
179
144
|
/**
|
|
@@ -181,15 +146,15 @@ export interface SingleValueChartState {
|
|
|
181
146
|
*/
|
|
182
147
|
timezone?: pulumi.Input<string>;
|
|
183
148
|
/**
|
|
184
|
-
*
|
|
149
|
+
* Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
185
150
|
*/
|
|
186
151
|
unitPrefix?: pulumi.Input<string>;
|
|
187
152
|
/**
|
|
188
|
-
* URL of the chart
|
|
153
|
+
* The URL of the chart.
|
|
189
154
|
*/
|
|
190
155
|
url?: pulumi.Input<string>;
|
|
191
156
|
/**
|
|
192
|
-
* Plot-level customization options, associated with a publish statement
|
|
157
|
+
* Plot-level customization options, associated with a publish statement.
|
|
193
158
|
*/
|
|
194
159
|
vizOptions?: pulumi.Input<pulumi.Input<inputs.SingleValueChartVizOption>[]>;
|
|
195
160
|
}
|
|
@@ -198,19 +163,19 @@ export interface SingleValueChartState {
|
|
|
198
163
|
*/
|
|
199
164
|
export interface SingleValueChartArgs {
|
|
200
165
|
/**
|
|
201
|
-
*
|
|
166
|
+
* Must be `"Dimension"`, `"Scale"` or `"Metric"`. `"Dimension"` by default.
|
|
202
167
|
*/
|
|
203
168
|
colorBy?: pulumi.Input<string>;
|
|
204
169
|
/**
|
|
205
|
-
* Single color range including both the color to display for that range and the borders of the range
|
|
170
|
+
* Single color range including both the color to display for that range and the borders of the range. Example: `[{ gt = 60, color = "blue" }, { lte = 60, color = "yellow" }]`. Look at this [link](https://docs.signalfx.com/en/latest/charts/chart-options-tab.html).
|
|
206
171
|
*/
|
|
207
172
|
colorScales?: pulumi.Input<pulumi.Input<inputs.SingleValueChartColorScale>[]>;
|
|
208
173
|
/**
|
|
209
|
-
* Description of the chart
|
|
174
|
+
* Description of the chart.
|
|
210
175
|
*/
|
|
211
176
|
description?: pulumi.Input<string>;
|
|
212
177
|
/**
|
|
213
|
-
*
|
|
178
|
+
* Whether to hide the timestamp in the chart. `false` by default.
|
|
214
179
|
*/
|
|
215
180
|
isTimestampHidden?: pulumi.Input<boolean>;
|
|
216
181
|
/**
|
|
@@ -218,27 +183,27 @@ export interface SingleValueChartArgs {
|
|
|
218
183
|
*/
|
|
219
184
|
maxDelay?: pulumi.Input<number>;
|
|
220
185
|
/**
|
|
221
|
-
* The maximum precision to for
|
|
186
|
+
* The maximum precision to for value displayed.
|
|
222
187
|
*/
|
|
223
188
|
maxPrecision?: pulumi.Input<number>;
|
|
224
189
|
/**
|
|
225
|
-
* Name of the chart
|
|
190
|
+
* Name of the chart.
|
|
226
191
|
*/
|
|
227
192
|
name?: pulumi.Input<string>;
|
|
228
193
|
/**
|
|
229
|
-
* Signalflow program text for the chart. More info
|
|
194
|
+
* Signalflow program text for the chart. More info [in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/).
|
|
230
195
|
*/
|
|
231
196
|
programText: pulumi.Input<string>;
|
|
232
197
|
/**
|
|
233
|
-
* How often (in seconds) to refresh the
|
|
198
|
+
* How often (in seconds) to refresh the value.
|
|
234
199
|
*/
|
|
235
200
|
refreshInterval?: pulumi.Input<number>;
|
|
236
201
|
/**
|
|
237
|
-
*
|
|
202
|
+
* The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`None`).
|
|
238
203
|
*/
|
|
239
204
|
secondaryVisualization?: pulumi.Input<string>;
|
|
240
205
|
/**
|
|
241
|
-
*
|
|
206
|
+
* Whether to show a trend line below the current value. `false` by default.
|
|
242
207
|
*/
|
|
243
208
|
showSparkLine?: pulumi.Input<boolean>;
|
|
244
209
|
/**
|
|
@@ -246,11 +211,11 @@ export interface SingleValueChartArgs {
|
|
|
246
211
|
*/
|
|
247
212
|
timezone?: pulumi.Input<string>;
|
|
248
213
|
/**
|
|
249
|
-
*
|
|
214
|
+
* Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
250
215
|
*/
|
|
251
216
|
unitPrefix?: pulumi.Input<string>;
|
|
252
217
|
/**
|
|
253
|
-
* Plot-level customization options, associated with a publish statement
|
|
218
|
+
* Plot-level customization options, associated with a publish statement.
|
|
254
219
|
*/
|
|
255
220
|
vizOptions?: pulumi.Input<pulumi.Input<inputs.SingleValueChartVizOption>[]>;
|
|
256
221
|
}
|
package/singleValueChart.js
CHANGED
|
@@ -11,41 +11,6 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* If the time period is in the past, the number represents the value of the metric near the end of the time period.
|
|
12
12
|
*
|
|
13
13
|
* ## Example
|
|
14
|
-
*
|
|
15
|
-
* ## Arguments
|
|
16
|
-
*
|
|
17
|
-
* The following arguments are supported in the resource block:
|
|
18
|
-
*
|
|
19
|
-
* * `name` - (Required) Name of the chart.
|
|
20
|
-
* * `programText` - (Required) Signalflow program text for the chart. More info [in the Splunk Observability Cloud docs](https://dev.splunk.com/observability/docs/signalflow/).
|
|
21
|
-
* * `description` - (Optional) Description of the chart.
|
|
22
|
-
* * `colorBy` - (Optional) Must be `"Dimension"`, `"Scale"` or `"Metric"`. `"Dimension"` by default.
|
|
23
|
-
* * `colorScale` - (Optional. `colorBy` must be `"Scale"`) Single color range including both the color to display for that range and the borders of the range. Example: `[{ gt = 60, color = "blue" }, { lte = 60, color = "yellow" }]`. Look at this [link](https://docs.signalfx.com/en/latest/charts/chart-options-tab.html).
|
|
24
|
-
* * `gt` - (Optional) Indicates the lower threshold non-inclusive value for this range.
|
|
25
|
-
* * `gte` - (Optional) Indicates the lower threshold inclusive value for this range.
|
|
26
|
-
* * `lt` - (Optional) Indicates the upper threshold non-inculsive value for this range.
|
|
27
|
-
* * `lte` - (Optional) Indicates the upper threshold inclusive value for this range.
|
|
28
|
-
* * `color` - (Required) The color to use. Must be one of gray, blue, light_blue, navy, dark_orange, orange, dark_yellow, magenta, cerise, pink, violet, purple, gray_blue, dark_green, green, aquamarine, red, yellow, vivid_yellow, light_green, or lime_green.
|
|
29
|
-
* * `vizOptions` - (Optional) Plot-level customization options, associated with a publish statement.
|
|
30
|
-
* * `label` - (Required) Label used in the publish statement that displays the plot (metric time series data) you want to customize.
|
|
31
|
-
* * `displayName` - (Optional) Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
|
|
32
|
-
* * `color` - (Optional) The color to use. Must be one of gray, blue, light_blue, navy, dark_orange, orange, dark_yellow, magenta, cerise, pink, violet, purple, gray_blue, dark_green, green, aquamarine, red, yellow, vivid_yellow, light_green, or lime_green.
|
|
33
|
-
* * `valueUnit` - (Optional) A unit to attach to this plot. Units support automatic scaling (eg thousands of bytes will be displayed as kilobytes). Values values are `Bit, Kilobit, Megabit, Gigabit, Terabit, Petabit, Exabit, Zettabit, Yottabit, Byte, Kibibyte, Mebibyte, Gibibyte (note: this was previously typoed as Gigibyte), Tebibyte, Pebibyte, Exbibyte, Zebibyte, Yobibyte, Nanosecond, Microsecond, Millisecond, Second, Minute, Hour, Day, Week`.
|
|
34
|
-
* * `valuePrefix`, `valueSuffix` - (Optional) Arbitrary prefix/suffix to display with the value of this plot.
|
|
35
|
-
* * `unitPrefix` - (Optional) Must be `"Metric"` or `"Binary"`. `"Metric"` by default.
|
|
36
|
-
* * `maxDelay` - (Optional) How long (in seconds) to wait for late datapoints
|
|
37
|
-
* * `refreshInterval` - (Optional) How often (in seconds) to refresh the value.
|
|
38
|
-
* * `maxPrecision` - (Optional) The maximum precision to for value displayed.
|
|
39
|
-
* * `isTimestampHidden` - (Optional) Whether to hide the timestamp in the chart. `false` by default.
|
|
40
|
-
* * `secondaryVisualization` - (Optional) The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`None`).
|
|
41
|
-
* * `showSparkLine` - (Optional) Whether to show a trend line below the current value. `false` by default.
|
|
42
|
-
*
|
|
43
|
-
* ## Attributes
|
|
44
|
-
*
|
|
45
|
-
* In a addition to all arguments above, the following attributes are exported:
|
|
46
|
-
*
|
|
47
|
-
* * `id` - The ID of the chart.
|
|
48
|
-
* * `url` - The URL of the chart.
|
|
49
14
|
*/
|
|
50
15
|
class SingleValueChart extends pulumi.CustomResource {
|
|
51
16
|
/**
|
package/singleValueChart.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"singleValueChart.js","sourceRoot":"","sources":["../singleValueChart.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"singleValueChart.js","sourceRoot":"","sources":["../singleValueChart.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAuED,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW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,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA5IL,4CA6IC;AA/HG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
|
package/slack/integration.d.ts
CHANGED
|
@@ -5,18 +5,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
* > **NOTE** When managing integrations, use a session token of an administrator to authenticate the Splunk Observability Cloud provider. See [Operations that require a session token for an administrator](https://dev.splunk.com/observability/docs/administration/authtokens#Operations-that-require-a-session-token-for-an-administrator). Otherwise you'll receive a 4xx error.
|
|
6
6
|
*
|
|
7
7
|
* ## Example
|
|
8
|
-
*
|
|
9
|
-
* ## Arguments
|
|
10
|
-
*
|
|
11
|
-
* * `name` - (Required) Name of the integration.
|
|
12
|
-
* * `enabled` - (Required) Whether the integration is enabled.
|
|
13
|
-
* * `webhookUrl` - (Required) Slack incoming webhook URL.
|
|
14
|
-
*
|
|
15
|
-
* ## Attributes
|
|
16
|
-
*
|
|
17
|
-
* In a addition to all arguments above, the following attributes are exported:
|
|
18
|
-
*
|
|
19
|
-
* * `id` - The ID of the integration.
|
|
20
8
|
*/
|
|
21
9
|
export declare class Integration extends pulumi.CustomResource {
|
|
22
10
|
/**
|
|
@@ -35,15 +23,15 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
35
23
|
*/
|
|
36
24
|
static isInstance(obj: any): obj is Integration;
|
|
37
25
|
/**
|
|
38
|
-
* Whether the integration is enabled
|
|
26
|
+
* Whether the integration is enabled.
|
|
39
27
|
*/
|
|
40
28
|
readonly enabled: pulumi.Output<boolean>;
|
|
41
29
|
/**
|
|
42
|
-
* Name of the integration
|
|
30
|
+
* Name of the integration.
|
|
43
31
|
*/
|
|
44
32
|
readonly name: pulumi.Output<string>;
|
|
45
33
|
/**
|
|
46
|
-
* Slack
|
|
34
|
+
* Slack incoming webhook URL.
|
|
47
35
|
*/
|
|
48
36
|
readonly webhookUrl: pulumi.Output<string>;
|
|
49
37
|
/**
|
|
@@ -60,15 +48,15 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
60
48
|
*/
|
|
61
49
|
export interface IntegrationState {
|
|
62
50
|
/**
|
|
63
|
-
* Whether the integration is enabled
|
|
51
|
+
* Whether the integration is enabled.
|
|
64
52
|
*/
|
|
65
53
|
enabled?: pulumi.Input<boolean>;
|
|
66
54
|
/**
|
|
67
|
-
* Name of the integration
|
|
55
|
+
* Name of the integration.
|
|
68
56
|
*/
|
|
69
57
|
name?: pulumi.Input<string>;
|
|
70
58
|
/**
|
|
71
|
-
* Slack
|
|
59
|
+
* Slack incoming webhook URL.
|
|
72
60
|
*/
|
|
73
61
|
webhookUrl?: pulumi.Input<string>;
|
|
74
62
|
}
|
|
@@ -77,15 +65,15 @@ export interface IntegrationState {
|
|
|
77
65
|
*/
|
|
78
66
|
export interface IntegrationArgs {
|
|
79
67
|
/**
|
|
80
|
-
* Whether the integration is enabled
|
|
68
|
+
* Whether the integration is enabled.
|
|
81
69
|
*/
|
|
82
70
|
enabled: pulumi.Input<boolean>;
|
|
83
71
|
/**
|
|
84
|
-
* Name of the integration
|
|
72
|
+
* Name of the integration.
|
|
85
73
|
*/
|
|
86
74
|
name?: pulumi.Input<string>;
|
|
87
75
|
/**
|
|
88
|
-
* Slack
|
|
76
|
+
* Slack incoming webhook URL.
|
|
89
77
|
*/
|
|
90
78
|
webhookUrl: pulumi.Input<string>;
|
|
91
79
|
}
|
package/slack/integration.js
CHANGED
|
@@ -11,18 +11,6 @@ const utilities = require("../utilities");
|
|
|
11
11
|
* > **NOTE** When managing integrations, use a session token of an administrator to authenticate the Splunk Observability Cloud provider. See [Operations that require a session token for an administrator](https://dev.splunk.com/observability/docs/administration/authtokens#Operations-that-require-a-session-token-for-an-administrator). Otherwise you'll receive a 4xx error.
|
|
12
12
|
*
|
|
13
13
|
* ## Example
|
|
14
|
-
*
|
|
15
|
-
* ## Arguments
|
|
16
|
-
*
|
|
17
|
-
* * `name` - (Required) Name of the integration.
|
|
18
|
-
* * `enabled` - (Required) Whether the integration is enabled.
|
|
19
|
-
* * `webhookUrl` - (Required) Slack incoming webhook URL.
|
|
20
|
-
*
|
|
21
|
-
* ## Attributes
|
|
22
|
-
*
|
|
23
|
-
* In a addition to all arguments above, the following attributes are exported:
|
|
24
|
-
*
|
|
25
|
-
* * `id` - The ID of the integration.
|
|
26
14
|
*/
|
|
27
15
|
class Integration extends pulumi.CustomResource {
|
|
28
16
|
/**
|
package/slack/integration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../slack/integration.ts"],"names":[],"mappings":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/output";
|
|
|
49
49
|
* You can either configure a Webhook to use an existing integration's credential id:
|
|
50
50
|
*
|
|
51
51
|
* Or configure one inline:
|
|
52
|
-
*
|
|
53
|
-
* ## Arguments
|
|
54
|
-
*
|
|
55
|
-
* * `name` - (Required) Name of the SLO. Each SLO name must be unique within an organization.
|
|
56
|
-
* * `description` - (Optional) Description of the SLO.
|
|
57
|
-
* * `type` - (Required) Type of the SLO. Currently just: `"RequestBased"` is supported.
|
|
58
|
-
* * `input` - (Required) Properties to configure an SLO object inputs
|
|
59
|
-
* * `programText` - (Required) SignalFlow program and arguments text strings that define the streams used as successful event count and total event count
|
|
60
|
-
* * `goodEventsLabel` - (Required) Label used in `"programText"` that refers to the data block which contains the stream of successful events
|
|
61
|
-
* * `totalEventsLabel` - (Required) Label used in `"programText"` that refers to the data block which contains the stream of total events
|
|
62
|
-
* * `target` - (Required) Define target value of the service level indicator in the appropriate time period.
|
|
63
|
-
* * `type` - (Required) SLO target type can be the following type: `"RollingWindow"`, `"CalendarWindow"`
|
|
64
|
-
* * `compliancePeriod` - (Required for `"RollingWindow"` type) Compliance period of this SLO. This value must be within the range of 1d (1 days) to 30d (30 days), inclusive.
|
|
65
|
-
* * `cycleType` - (Required for `CalendarWindow` type) The cycle type of the calendar window, e.g. week, month.
|
|
66
|
-
* * `cycleStart` - (Optional for `CalendarWindow` type) It can be used to change the cycle start time. For example, you can specify sunday as the start of the week (instead of the default monday)
|
|
67
|
-
* * `slo` - (Required) Target value in the form of a percentage
|
|
68
|
-
* * `alertRule` - (Required) List of alert rules you want to set for this SLO target. An SLO alert rule of type BREACH is always required.
|
|
69
|
-
* * `type` - (Required) SLO alert rule can be one of the following types: BREACH, ERROR_BUDGET_LEFT, BURN_RATE. Within an SLO object, you can only specify one SLO alertRule per type. For example, you can't specify two alertRule of type BREACH. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
70
|
-
* * `rule` - (Required) Set of rules used for alerting.
|
|
71
|
-
* * `severity` - (Required) The severity of the rule, must be one of: `"Critical"`, `"Major"`, `"Minor"`, `"Warning"`, `"Info"`.
|
|
72
|
-
* * `description` - (Optional) Description for the rule. Displays as the alert condition in the Alert Rules tab of the detector editor in the web UI.
|
|
73
|
-
* * `disabled` - (Optional) When true, notifications and events will not be generated for the detect label. `false` by default.
|
|
74
|
-
* * `notifications` - (Optional) List of strings specifying where notifications will be sent when an incident occurs. See [Create SLO](https://dev.splunk.com/observability/reference/api/slo/latest#endpoint-create-new-slo) for more info.
|
|
75
|
-
* * `parameterizedBody` - (Optional) Custom notification message body when an alert is triggered. See [Alert message](https://docs.splunk.com/observability/en/alerts-detectors-notifications/create-detectors-for-alerts.html#alert-messages) for more info.
|
|
76
|
-
* * `parameterizedSubject` - (Optional) Custom notification message subject when an alert is triggered. See [Alert message](https://docs.splunk.com/observability/en/alerts-detectors-notifications/create-detectors-for-alerts.html#alert-messages) for more info.
|
|
77
|
-
* * `runbookUrl` - (Optional) URL of page to consult when an alert is triggered. This can be used with custom notification messages.
|
|
78
|
-
* * `tip` - (Optional) Plain text suggested first course of action, such as a command line to execute. This can be used with custom notification messages.
|
|
79
|
-
* * `parameters` - (Optional) Parameters for the SLO alert rule. Each SLO alert rule type accepts different parameters. If not specified, default parameters are used.
|
|
80
|
-
* * `fireLasting` - (Optional) Duration that indicates how long the alert condition is met before the alert is triggered. The value must be positive and smaller than the compliance period of the SLO target. Note: `"BREACH"` and `"ERROR_BUDGET_LEFT"` alert rules use the fireLasting parameter. Default: `"5m"`
|
|
81
|
-
* * `percentOfLasting` - (Optional) Percentage of the `"fireLasting"` duration that the alert condition is met before the alert is triggered. Note: `"BREACH"` and `"ERROR_BUDGET_LEFT"` alert rules use the `"percentOfLasting"` parameter. Default: `100`
|
|
82
|
-
* * `percentErrorBudgetLeft` - (Optional) Error budget must be equal to or smaller than this percentage for the alert to be triggered. Note: `"ERROR_BUDGET_LEFT"` alert rules use the `"percentErrorBudgetLeft"` parameter. Default: `100`
|
|
83
|
-
* * `shortWindow1` - (Optional) Short window 1 used in burn rate alert calculation. This value must be longer than 1/30 of `"longWindow1"`. Note: `"BURN_RATE"` alert rules use the `"shortWindow1"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
84
|
-
* * `shortWindow2` - (Optional) Short window 2 used in burn rate alert calculation. This value must be longer than 1/30 of `"longWindow2"`. Note: `"BURN_RATE"` alert rules use the `"shortWindow2"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
85
|
-
* * `longWindow1` - (Optional) Long window 1 used in burn rate alert calculation. This value must be longer than `"shortWindow1"` and shorter than 90 days. Note: `"BURN_RATE"` alert rules use the `"longWindow1"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
86
|
-
* * `longWindow2` - (Optional) Long window 2 used in burn rate alert calculation. This value must be longer than `"shortWindow2"` and shorter than 90 days. Note: `"BURN_RATE"` alert rules use the `"longWindow2"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
87
|
-
* * `burnRateThreshold1` - (Optional) Burn rate threshold 1 used in burn rate alert calculation. This value must be between 0 and 100/(100-SLO target). Note: `"BURN_RATE"` alert rules use the `"burnRateThreshold1"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
88
|
-
* * `burnRateThreshold2` - (Optional) Burn rate threshold 2 used in burn rate alert calculation. This value must be between 0 and 100/(100-SLO target). Note: `"BURN_RATE"` alert rules use the `"burnRateThreshold2"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
89
52
|
*/
|
|
90
53
|
export declare class Slo extends pulumi.CustomResource {
|
|
91
54
|
/**
|
|
@@ -104,16 +67,15 @@ export declare class Slo extends pulumi.CustomResource {
|
|
|
104
67
|
*/
|
|
105
68
|
static isInstance(obj: any): obj is Slo;
|
|
106
69
|
/**
|
|
107
|
-
* Description of the SLO
|
|
70
|
+
* Description of the SLO.
|
|
108
71
|
*/
|
|
109
72
|
readonly description: pulumi.Output<string | undefined>;
|
|
110
73
|
/**
|
|
111
|
-
*
|
|
112
|
-
* count
|
|
74
|
+
* Properties to configure an SLO object inputs
|
|
113
75
|
*/
|
|
114
76
|
readonly input: pulumi.Output<outputs.SloInput>;
|
|
115
77
|
/**
|
|
116
|
-
* Name of the SLO
|
|
78
|
+
* Name of the SLO. Each SLO name must be unique within an organization.
|
|
117
79
|
*/
|
|
118
80
|
readonly name: pulumi.Output<string>;
|
|
119
81
|
/**
|
|
@@ -121,7 +83,7 @@ export declare class Slo extends pulumi.CustomResource {
|
|
|
121
83
|
*/
|
|
122
84
|
readonly target: pulumi.Output<outputs.SloTarget>;
|
|
123
85
|
/**
|
|
124
|
-
* Type of the SLO. Currently
|
|
86
|
+
* Type of the SLO. Currently just: `"RequestBased"` is supported.
|
|
125
87
|
*/
|
|
126
88
|
readonly type: pulumi.Output<string>;
|
|
127
89
|
/**
|
|
@@ -138,16 +100,15 @@ export declare class Slo extends pulumi.CustomResource {
|
|
|
138
100
|
*/
|
|
139
101
|
export interface SloState {
|
|
140
102
|
/**
|
|
141
|
-
* Description of the SLO
|
|
103
|
+
* Description of the SLO.
|
|
142
104
|
*/
|
|
143
105
|
description?: pulumi.Input<string>;
|
|
144
106
|
/**
|
|
145
|
-
*
|
|
146
|
-
* count
|
|
107
|
+
* Properties to configure an SLO object inputs
|
|
147
108
|
*/
|
|
148
109
|
input?: pulumi.Input<inputs.SloInput>;
|
|
149
110
|
/**
|
|
150
|
-
* Name of the SLO
|
|
111
|
+
* Name of the SLO. Each SLO name must be unique within an organization.
|
|
151
112
|
*/
|
|
152
113
|
name?: pulumi.Input<string>;
|
|
153
114
|
/**
|
|
@@ -155,7 +116,7 @@ export interface SloState {
|
|
|
155
116
|
*/
|
|
156
117
|
target?: pulumi.Input<inputs.SloTarget>;
|
|
157
118
|
/**
|
|
158
|
-
* Type of the SLO. Currently
|
|
119
|
+
* Type of the SLO. Currently just: `"RequestBased"` is supported.
|
|
159
120
|
*/
|
|
160
121
|
type?: pulumi.Input<string>;
|
|
161
122
|
}
|
|
@@ -164,16 +125,15 @@ export interface SloState {
|
|
|
164
125
|
*/
|
|
165
126
|
export interface SloArgs {
|
|
166
127
|
/**
|
|
167
|
-
* Description of the SLO
|
|
128
|
+
* Description of the SLO.
|
|
168
129
|
*/
|
|
169
130
|
description?: pulumi.Input<string>;
|
|
170
131
|
/**
|
|
171
|
-
*
|
|
172
|
-
* count
|
|
132
|
+
* Properties to configure an SLO object inputs
|
|
173
133
|
*/
|
|
174
134
|
input: pulumi.Input<inputs.SloInput>;
|
|
175
135
|
/**
|
|
176
|
-
* Name of the SLO
|
|
136
|
+
* Name of the SLO. Each SLO name must be unique within an organization.
|
|
177
137
|
*/
|
|
178
138
|
name?: pulumi.Input<string>;
|
|
179
139
|
/**
|
|
@@ -181,7 +141,7 @@ export interface SloArgs {
|
|
|
181
141
|
*/
|
|
182
142
|
target: pulumi.Input<inputs.SloTarget>;
|
|
183
143
|
/**
|
|
184
|
-
* Type of the SLO. Currently
|
|
144
|
+
* Type of the SLO. Currently just: `"RequestBased"` is supported.
|
|
185
145
|
*/
|
|
186
146
|
type: pulumi.Input<string>;
|
|
187
147
|
}
|
package/slo.js
CHANGED
|
@@ -53,43 +53,6 @@ const utilities = require("./utilities");
|
|
|
53
53
|
* You can either configure a Webhook to use an existing integration's credential id:
|
|
54
54
|
*
|
|
55
55
|
* Or configure one inline:
|
|
56
|
-
*
|
|
57
|
-
* ## Arguments
|
|
58
|
-
*
|
|
59
|
-
* * `name` - (Required) Name of the SLO. Each SLO name must be unique within an organization.
|
|
60
|
-
* * `description` - (Optional) Description of the SLO.
|
|
61
|
-
* * `type` - (Required) Type of the SLO. Currently just: `"RequestBased"` is supported.
|
|
62
|
-
* * `input` - (Required) Properties to configure an SLO object inputs
|
|
63
|
-
* * `programText` - (Required) SignalFlow program and arguments text strings that define the streams used as successful event count and total event count
|
|
64
|
-
* * `goodEventsLabel` - (Required) Label used in `"programText"` that refers to the data block which contains the stream of successful events
|
|
65
|
-
* * `totalEventsLabel` - (Required) Label used in `"programText"` that refers to the data block which contains the stream of total events
|
|
66
|
-
* * `target` - (Required) Define target value of the service level indicator in the appropriate time period.
|
|
67
|
-
* * `type` - (Required) SLO target type can be the following type: `"RollingWindow"`, `"CalendarWindow"`
|
|
68
|
-
* * `compliancePeriod` - (Required for `"RollingWindow"` type) Compliance period of this SLO. This value must be within the range of 1d (1 days) to 30d (30 days), inclusive.
|
|
69
|
-
* * `cycleType` - (Required for `CalendarWindow` type) The cycle type of the calendar window, e.g. week, month.
|
|
70
|
-
* * `cycleStart` - (Optional for `CalendarWindow` type) It can be used to change the cycle start time. For example, you can specify sunday as the start of the week (instead of the default monday)
|
|
71
|
-
* * `slo` - (Required) Target value in the form of a percentage
|
|
72
|
-
* * `alertRule` - (Required) List of alert rules you want to set for this SLO target. An SLO alert rule of type BREACH is always required.
|
|
73
|
-
* * `type` - (Required) SLO alert rule can be one of the following types: BREACH, ERROR_BUDGET_LEFT, BURN_RATE. Within an SLO object, you can only specify one SLO alertRule per type. For example, you can't specify two alertRule of type BREACH. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
74
|
-
* * `rule` - (Required) Set of rules used for alerting.
|
|
75
|
-
* * `severity` - (Required) The severity of the rule, must be one of: `"Critical"`, `"Major"`, `"Minor"`, `"Warning"`, `"Info"`.
|
|
76
|
-
* * `description` - (Optional) Description for the rule. Displays as the alert condition in the Alert Rules tab of the detector editor in the web UI.
|
|
77
|
-
* * `disabled` - (Optional) When true, notifications and events will not be generated for the detect label. `false` by default.
|
|
78
|
-
* * `notifications` - (Optional) List of strings specifying where notifications will be sent when an incident occurs. See [Create SLO](https://dev.splunk.com/observability/reference/api/slo/latest#endpoint-create-new-slo) for more info.
|
|
79
|
-
* * `parameterizedBody` - (Optional) Custom notification message body when an alert is triggered. See [Alert message](https://docs.splunk.com/observability/en/alerts-detectors-notifications/create-detectors-for-alerts.html#alert-messages) for more info.
|
|
80
|
-
* * `parameterizedSubject` - (Optional) Custom notification message subject when an alert is triggered. See [Alert message](https://docs.splunk.com/observability/en/alerts-detectors-notifications/create-detectors-for-alerts.html#alert-messages) for more info.
|
|
81
|
-
* * `runbookUrl` - (Optional) URL of page to consult when an alert is triggered. This can be used with custom notification messages.
|
|
82
|
-
* * `tip` - (Optional) Plain text suggested first course of action, such as a command line to execute. This can be used with custom notification messages.
|
|
83
|
-
* * `parameters` - (Optional) Parameters for the SLO alert rule. Each SLO alert rule type accepts different parameters. If not specified, default parameters are used.
|
|
84
|
-
* * `fireLasting` - (Optional) Duration that indicates how long the alert condition is met before the alert is triggered. The value must be positive and smaller than the compliance period of the SLO target. Note: `"BREACH"` and `"ERROR_BUDGET_LEFT"` alert rules use the fireLasting parameter. Default: `"5m"`
|
|
85
|
-
* * `percentOfLasting` - (Optional) Percentage of the `"fireLasting"` duration that the alert condition is met before the alert is triggered. Note: `"BREACH"` and `"ERROR_BUDGET_LEFT"` alert rules use the `"percentOfLasting"` parameter. Default: `100`
|
|
86
|
-
* * `percentErrorBudgetLeft` - (Optional) Error budget must be equal to or smaller than this percentage for the alert to be triggered. Note: `"ERROR_BUDGET_LEFT"` alert rules use the `"percentErrorBudgetLeft"` parameter. Default: `100`
|
|
87
|
-
* * `shortWindow1` - (Optional) Short window 1 used in burn rate alert calculation. This value must be longer than 1/30 of `"longWindow1"`. Note: `"BURN_RATE"` alert rules use the `"shortWindow1"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
88
|
-
* * `shortWindow2` - (Optional) Short window 2 used in burn rate alert calculation. This value must be longer than 1/30 of `"longWindow2"`. Note: `"BURN_RATE"` alert rules use the `"shortWindow2"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
89
|
-
* * `longWindow1` - (Optional) Long window 1 used in burn rate alert calculation. This value must be longer than `"shortWindow1"` and shorter than 90 days. Note: `"BURN_RATE"` alert rules use the `"longWindow1"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
90
|
-
* * `longWindow2` - (Optional) Long window 2 used in burn rate alert calculation. This value must be longer than `"shortWindow2"` and shorter than 90 days. Note: `"BURN_RATE"` alert rules use the `"longWindow2"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
91
|
-
* * `burnRateThreshold1` - (Optional) Burn rate threshold 1 used in burn rate alert calculation. This value must be between 0 and 100/(100-SLO target). Note: `"BURN_RATE"` alert rules use the `"burnRateThreshold1"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
92
|
-
* * `burnRateThreshold2` - (Optional) Burn rate threshold 2 used in burn rate alert calculation. This value must be between 0 and 100/(100-SLO target). Note: `"BURN_RATE"` alert rules use the `"burnRateThreshold2"` parameter. See [SLO alerts](https://docs.splunk.com/observability/en/alerts-detectors-notifications/slo/burn-rate-alerts.html) for more info.
|
|
93
56
|
*/
|
|
94
57
|
class Slo extends pulumi.CustomResource {
|
|
95
58
|
/**
|