@pulumi/signalfx 7.0.1 → 7.0.2
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 +37 -19
- package/alertMutingRule.js +22 -4
- package/alertMutingRule.js.map +1 -1
- package/aws/externalIntegration.d.ts +23 -11
- package/aws/externalIntegration.js +16 -4
- package/aws/externalIntegration.js.map +1 -1
- package/aws/integration.d.ts +141 -72
- package/aws/integration.js +41 -4
- package/aws/integration.js.map +1 -1
- package/aws/tokenIntegration.d.ts +18 -7
- package/aws/tokenIntegration.js +13 -2
- package/aws/tokenIntegration.js.map +1 -1
- package/azure/integration.d.ts +101 -45
- package/azure/integration.js +29 -3
- package/azure/integration.js.map +1 -1
- package/config/vars.d.ts +3 -3
- package/dashboard.d.ts +62 -62
- package/dashboardGroup.d.ts +62 -27
- package/dashboardGroup.js +41 -6
- package/dashboardGroup.js.map +1 -1
- package/dataLink.d.ts +52 -18
- package/dataLink.js +31 -3
- package/dataLink.js.map +1 -1
- package/detector.d.ts +133 -70
- package/detector.js +70 -15
- package/detector.js.map +1 -1
- package/eventFeedChart.d.ts +38 -20
- package/eventFeedChart.js +18 -0
- package/eventFeedChart.js.map +1 -1
- package/gcp/integration.d.ts +64 -33
- package/gcp/integration.js +22 -3
- package/gcp/integration.js.map +1 -1
- package/getDimensionValues.d.ts +18 -2
- package/getDimensionValues.js +18 -2
- package/getDimensionValues.js.map +1 -1
- package/heatmapChart.d.ts +80 -46
- package/heatmapChart.js +36 -2
- package/heatmapChart.js.map +1 -1
- package/jira/integration.d.ts +51 -24
- package/jira/integration.js +24 -3
- package/jira/integration.js.map +1 -1
- package/listChart.d.ts +111 -64
- package/listChart.js +46 -2
- package/listChart.js.map +1 -1
- package/log/timeline.d.ts +44 -24
- package/log/timeline.js +21 -1
- package/log/timeline.js.map +1 -1
- package/log/view.d.ts +54 -31
- package/log/view.js +25 -2
- package/log/view.js.map +1 -1
- package/metricRuleset.d.ts +33 -11
- package/metricRuleset.js +24 -2
- package/metricRuleset.js.map +1 -1
- package/opsgenie/integration.d.ts +28 -15
- package/opsgenie/integration.js +16 -3
- package/opsgenie/integration.js.map +1 -1
- package/orgToken.d.ts +50 -39
- package/orgToken.js +32 -3
- package/orgToken.js.map +1 -1
- package/package.json +1 -1
- package/pagerduty/getIntegration.d.ts +22 -14
- package/pagerduty/getIntegration.js +22 -2
- package/pagerduty/getIntegration.js.map +1 -1
- package/pagerduty/integration.d.ts +23 -12
- package/pagerduty/integration.js +14 -3
- package/pagerduty/integration.js.map +1 -1
- package/provider.d.ts +6 -6
- package/servicenow/integration.d.ts +46 -17
- package/servicenow/integration.js +19 -2
- package/servicenow/integration.js.map +1 -1
- package/singleValueChart.d.ts +74 -39
- package/singleValueChart.js +36 -1
- package/singleValueChart.js.map +1 -1
- package/slack/integration.d.ts +24 -12
- package/slack/integration.js +15 -3
- package/slack/integration.js.map +1 -1
- package/tableChart.d.ts +32 -16
- package/tableChart.js +18 -2
- package/tableChart.js.map +1 -1
- package/team.d.ts +54 -33
- package/team.js +25 -4
- package/team.js.map +1 -1
- package/textChart.d.ts +27 -12
- package/textChart.js +16 -1
- package/textChart.js.map +1 -1
- package/timeChart.d.ts +148 -94
- package/timeChart.js +68 -2
- package/timeChart.js.map +1 -1
- package/types/input.d.ts +0 -577
- package/types/output.d.ts +0 -577
- package/victorops/integration.d.ts +24 -12
- package/victorops/integration.js +15 -3
- package/victorops/integration.js.map +1 -1
- package/webhookIntegration.d.ts +31 -15
- package/webhookIntegration.js +19 -3
- package/webhookIntegration.js.map +1 -1
package/heatmapChart.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* This chart type
|
|
5
|
+
* This chart type shows the specified plot in a heat map fashion. This format is similar to the [Infrastructure Navigator](https://signalfx-product-docs.readthedocs-hosted.com/en/latest/built-in-content/infra-nav.html#infra), with squares representing each source for the selected metric, and the color of each square representing the value range of the metric.
|
|
6
6
|
*
|
|
7
|
-
* ## Example
|
|
7
|
+
* ## Example
|
|
8
8
|
*
|
|
9
9
|
* ```typescript
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -46,6 +46,40 @@ import * as outputs from "./types/output";
|
|
|
46
46
|
* timezone: "Europe/Paris",
|
|
47
47
|
* });
|
|
48
48
|
* ```
|
|
49
|
+
*
|
|
50
|
+
* ## Arguments
|
|
51
|
+
*
|
|
52
|
+
* The following arguments are supported in the resource block:
|
|
53
|
+
*
|
|
54
|
+
* * `name` - (Required) Name of the chart.
|
|
55
|
+
* * `programText` - (Required) Signalflow program text for the chart. More info at <https://dev.splunk.com/observability/docs/signalflow/>.
|
|
56
|
+
* * `description` - (Optional) Description of the chart.
|
|
57
|
+
* * `unitPrefix` - (Optional) Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
58
|
+
* * `minimumResolution` - (Optional) The minimum resolution (in seconds) to use for computing the underlying program.
|
|
59
|
+
* * `maxDelay` - (Optional) How long (in seconds) to wait for late datapoints.
|
|
60
|
+
* * `timezone` - (Optional) The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
61
|
+
* * `refreshInterval` - (Optional) How often (in seconds) to refresh the values of the heatmap.
|
|
62
|
+
* * `disableSampling` - (Optional) If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
63
|
+
* * `groupBy` - (Optional) Properties to group by in the heatmap (in nesting order).
|
|
64
|
+
* * `sortBy` - (Optional) The property to use when sorting the elements. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`).
|
|
65
|
+
* * `hideTimestamp` - (Optional) Whether to show the timestamp in the chart. `false` by default.
|
|
66
|
+
* * `colorRange` - (Optional, Default) Values and color for the color range. Example: `colorRange : { min : 0, max : 100, color : "#0000ff" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
67
|
+
* * `minValue` - (Optional) The minimum value within the coloring range.
|
|
68
|
+
* * `maxValue` - (Optional) The maximum value within the coloring range.
|
|
69
|
+
* * `color` - (Required) The color range to use. The starting hex color value for data values in a heatmap chart. Specify the value as a 6-character hexadecimal value preceded by the '#' character, for example "#ea1849" (grass green).
|
|
70
|
+
* * `colorScale` - (Optional. Conflicts with `colorRange`) One to N blocks, each defining a single color range including both the color to display for that range and the borders of the range. Example: `colorScale { gt = 60, color = "blue" } colorScale { lte = 60, color = "yellow" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
71
|
+
* * `gt` - (Optional) Indicates the lower threshold non-inclusive value for this range.
|
|
72
|
+
* * `gte` - (Optional) Indicates the lower threshold inclusive value for this range.
|
|
73
|
+
* * `lt` - (Optional) Indicates the upper threshold non-inclusive value for this range.
|
|
74
|
+
* * `lte` - (Optional) Indicates the upper threshold inclusive value for this range.
|
|
75
|
+
* * `color` - (Required) The color range to use. Hex values are not supported here. 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.
|
|
76
|
+
*
|
|
77
|
+
* ## Attributes
|
|
78
|
+
*
|
|
79
|
+
* In a addition to all arguments above, the following attributes are exported:
|
|
80
|
+
*
|
|
81
|
+
* * `id` - The ID of the chart.
|
|
82
|
+
* * `url` - The URL of the chart.
|
|
49
83
|
*/
|
|
50
84
|
export declare class HeatmapChart extends pulumi.CustomResource {
|
|
51
85
|
/**
|
|
@@ -64,63 +98,63 @@ export declare class HeatmapChart extends pulumi.CustomResource {
|
|
|
64
98
|
*/
|
|
65
99
|
static isInstance(obj: any): obj is HeatmapChart;
|
|
66
100
|
/**
|
|
67
|
-
* Values and color for the color range. Example:
|
|
101
|
+
* Values and color for the color range. Example: colorRange : { min : 0, max : 100, color : "#0000ff" }
|
|
68
102
|
*/
|
|
69
103
|
readonly colorRange: pulumi.Output<outputs.HeatmapChartColorRange | undefined>;
|
|
70
104
|
/**
|
|
71
|
-
*
|
|
105
|
+
* Single color range including both the color to display for that range and the borders of the range
|
|
72
106
|
*/
|
|
73
107
|
readonly colorScales: pulumi.Output<outputs.HeatmapChartColorScale[] | undefined>;
|
|
74
108
|
/**
|
|
75
|
-
* Description of the chart
|
|
109
|
+
* Description of the chart (Optional)
|
|
76
110
|
*/
|
|
77
111
|
readonly description: pulumi.Output<string | undefined>;
|
|
78
112
|
/**
|
|
79
|
-
* If
|
|
113
|
+
* (false by default) If false, samples a subset of the output MTS, which improves UI performance
|
|
80
114
|
*/
|
|
81
115
|
readonly disableSampling: pulumi.Output<boolean | undefined>;
|
|
82
116
|
/**
|
|
83
|
-
* Properties to group by in the heatmap (in nesting order)
|
|
117
|
+
* Properties to group by in the heatmap (in nesting order)
|
|
84
118
|
*/
|
|
85
119
|
readonly groupBies: pulumi.Output<string[] | undefined>;
|
|
86
120
|
/**
|
|
87
|
-
* Whether to show the timestamp in the chart
|
|
121
|
+
* (false by default) Whether to show the timestamp in the chart
|
|
88
122
|
*/
|
|
89
123
|
readonly hideTimestamp: pulumi.Output<boolean | undefined>;
|
|
90
124
|
/**
|
|
91
|
-
* How long (in seconds) to wait for late datapoints
|
|
125
|
+
* How long (in seconds) to wait for late datapoints
|
|
92
126
|
*/
|
|
93
127
|
readonly maxDelay: pulumi.Output<number | undefined>;
|
|
94
128
|
/**
|
|
95
|
-
* The minimum resolution (in seconds) to use for computing the underlying program
|
|
129
|
+
* The minimum resolution (in seconds) to use for computing the underlying program
|
|
96
130
|
*/
|
|
97
131
|
readonly minimumResolution: pulumi.Output<number | undefined>;
|
|
98
132
|
/**
|
|
99
|
-
* Name of the chart
|
|
133
|
+
* Name of the chart
|
|
100
134
|
*/
|
|
101
135
|
readonly name: pulumi.Output<string>;
|
|
102
136
|
/**
|
|
103
|
-
* Signalflow program text for the chart. More info at
|
|
137
|
+
* Signalflow program text for the chart. More info at "https://developers.signalfx.com/docs/signalflow-overview"
|
|
104
138
|
*/
|
|
105
139
|
readonly programText: pulumi.Output<string>;
|
|
106
140
|
/**
|
|
107
|
-
* How often (in seconds) to refresh the values of the heatmap
|
|
141
|
+
* How often (in seconds) to refresh the values of the heatmap
|
|
108
142
|
*/
|
|
109
143
|
readonly refreshInterval: pulumi.Output<number | undefined>;
|
|
110
144
|
/**
|
|
111
|
-
* The property to use when sorting the elements. Must be prepended with
|
|
145
|
+
* The property to use when sorting the elements. Must be prepended with + for ascending or - for descending (e.g. -foo)
|
|
112
146
|
*/
|
|
113
147
|
readonly sortBy: pulumi.Output<string | undefined>;
|
|
114
148
|
/**
|
|
115
|
-
* The property value is a string that denotes the geographic region associated with the time zone, (
|
|
149
|
+
* The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
|
|
116
150
|
*/
|
|
117
151
|
readonly timezone: pulumi.Output<string | undefined>;
|
|
118
152
|
/**
|
|
119
|
-
* Must be
|
|
153
|
+
* (Metric by default) Must be "Metric" or "Binary"
|
|
120
154
|
*/
|
|
121
155
|
readonly unitPrefix: pulumi.Output<string | undefined>;
|
|
122
156
|
/**
|
|
123
|
-
*
|
|
157
|
+
* URL of the chart
|
|
124
158
|
*/
|
|
125
159
|
readonly url: pulumi.Output<string>;
|
|
126
160
|
/**
|
|
@@ -137,63 +171,63 @@ export declare class HeatmapChart extends pulumi.CustomResource {
|
|
|
137
171
|
*/
|
|
138
172
|
export interface HeatmapChartState {
|
|
139
173
|
/**
|
|
140
|
-
* Values and color for the color range. Example:
|
|
174
|
+
* Values and color for the color range. Example: colorRange : { min : 0, max : 100, color : "#0000ff" }
|
|
141
175
|
*/
|
|
142
176
|
colorRange?: pulumi.Input<inputs.HeatmapChartColorRange>;
|
|
143
177
|
/**
|
|
144
|
-
*
|
|
178
|
+
* Single color range including both the color to display for that range and the borders of the range
|
|
145
179
|
*/
|
|
146
180
|
colorScales?: pulumi.Input<pulumi.Input<inputs.HeatmapChartColorScale>[]>;
|
|
147
181
|
/**
|
|
148
|
-
* Description of the chart
|
|
182
|
+
* Description of the chart (Optional)
|
|
149
183
|
*/
|
|
150
184
|
description?: pulumi.Input<string>;
|
|
151
185
|
/**
|
|
152
|
-
* If
|
|
186
|
+
* (false by default) If false, samples a subset of the output MTS, which improves UI performance
|
|
153
187
|
*/
|
|
154
188
|
disableSampling?: pulumi.Input<boolean>;
|
|
155
189
|
/**
|
|
156
|
-
* Properties to group by in the heatmap (in nesting order)
|
|
190
|
+
* Properties to group by in the heatmap (in nesting order)
|
|
157
191
|
*/
|
|
158
192
|
groupBies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
159
193
|
/**
|
|
160
|
-
* Whether to show the timestamp in the chart
|
|
194
|
+
* (false by default) Whether to show the timestamp in the chart
|
|
161
195
|
*/
|
|
162
196
|
hideTimestamp?: pulumi.Input<boolean>;
|
|
163
197
|
/**
|
|
164
|
-
* How long (in seconds) to wait for late datapoints
|
|
198
|
+
* How long (in seconds) to wait for late datapoints
|
|
165
199
|
*/
|
|
166
200
|
maxDelay?: pulumi.Input<number>;
|
|
167
201
|
/**
|
|
168
|
-
* The minimum resolution (in seconds) to use for computing the underlying program
|
|
202
|
+
* The minimum resolution (in seconds) to use for computing the underlying program
|
|
169
203
|
*/
|
|
170
204
|
minimumResolution?: pulumi.Input<number>;
|
|
171
205
|
/**
|
|
172
|
-
* Name of the chart
|
|
206
|
+
* Name of the chart
|
|
173
207
|
*/
|
|
174
208
|
name?: pulumi.Input<string>;
|
|
175
209
|
/**
|
|
176
|
-
* Signalflow program text for the chart. More info at
|
|
210
|
+
* Signalflow program text for the chart. More info at "https://developers.signalfx.com/docs/signalflow-overview"
|
|
177
211
|
*/
|
|
178
212
|
programText?: pulumi.Input<string>;
|
|
179
213
|
/**
|
|
180
|
-
* How often (in seconds) to refresh the values of the heatmap
|
|
214
|
+
* How often (in seconds) to refresh the values of the heatmap
|
|
181
215
|
*/
|
|
182
216
|
refreshInterval?: pulumi.Input<number>;
|
|
183
217
|
/**
|
|
184
|
-
* The property to use when sorting the elements. Must be prepended with
|
|
218
|
+
* The property to use when sorting the elements. Must be prepended with + for ascending or - for descending (e.g. -foo)
|
|
185
219
|
*/
|
|
186
220
|
sortBy?: pulumi.Input<string>;
|
|
187
221
|
/**
|
|
188
|
-
* The property value is a string that denotes the geographic region associated with the time zone, (
|
|
222
|
+
* The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
|
|
189
223
|
*/
|
|
190
224
|
timezone?: pulumi.Input<string>;
|
|
191
225
|
/**
|
|
192
|
-
* Must be
|
|
226
|
+
* (Metric by default) Must be "Metric" or "Binary"
|
|
193
227
|
*/
|
|
194
228
|
unitPrefix?: pulumi.Input<string>;
|
|
195
229
|
/**
|
|
196
|
-
*
|
|
230
|
+
* URL of the chart
|
|
197
231
|
*/
|
|
198
232
|
url?: pulumi.Input<string>;
|
|
199
233
|
}
|
|
@@ -202,59 +236,59 @@ export interface HeatmapChartState {
|
|
|
202
236
|
*/
|
|
203
237
|
export interface HeatmapChartArgs {
|
|
204
238
|
/**
|
|
205
|
-
* Values and color for the color range. Example:
|
|
239
|
+
* Values and color for the color range. Example: colorRange : { min : 0, max : 100, color : "#0000ff" }
|
|
206
240
|
*/
|
|
207
241
|
colorRange?: pulumi.Input<inputs.HeatmapChartColorRange>;
|
|
208
242
|
/**
|
|
209
|
-
*
|
|
243
|
+
* Single color range including both the color to display for that range and the borders of the range
|
|
210
244
|
*/
|
|
211
245
|
colorScales?: pulumi.Input<pulumi.Input<inputs.HeatmapChartColorScale>[]>;
|
|
212
246
|
/**
|
|
213
|
-
* Description of the chart
|
|
247
|
+
* Description of the chart (Optional)
|
|
214
248
|
*/
|
|
215
249
|
description?: pulumi.Input<string>;
|
|
216
250
|
/**
|
|
217
|
-
* If
|
|
251
|
+
* (false by default) If false, samples a subset of the output MTS, which improves UI performance
|
|
218
252
|
*/
|
|
219
253
|
disableSampling?: pulumi.Input<boolean>;
|
|
220
254
|
/**
|
|
221
|
-
* Properties to group by in the heatmap (in nesting order)
|
|
255
|
+
* Properties to group by in the heatmap (in nesting order)
|
|
222
256
|
*/
|
|
223
257
|
groupBies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
224
258
|
/**
|
|
225
|
-
* Whether to show the timestamp in the chart
|
|
259
|
+
* (false by default) Whether to show the timestamp in the chart
|
|
226
260
|
*/
|
|
227
261
|
hideTimestamp?: pulumi.Input<boolean>;
|
|
228
262
|
/**
|
|
229
|
-
* How long (in seconds) to wait for late datapoints
|
|
263
|
+
* How long (in seconds) to wait for late datapoints
|
|
230
264
|
*/
|
|
231
265
|
maxDelay?: pulumi.Input<number>;
|
|
232
266
|
/**
|
|
233
|
-
* The minimum resolution (in seconds) to use for computing the underlying program
|
|
267
|
+
* The minimum resolution (in seconds) to use for computing the underlying program
|
|
234
268
|
*/
|
|
235
269
|
minimumResolution?: pulumi.Input<number>;
|
|
236
270
|
/**
|
|
237
|
-
* Name of the chart
|
|
271
|
+
* Name of the chart
|
|
238
272
|
*/
|
|
239
273
|
name?: pulumi.Input<string>;
|
|
240
274
|
/**
|
|
241
|
-
* Signalflow program text for the chart. More info at
|
|
275
|
+
* Signalflow program text for the chart. More info at "https://developers.signalfx.com/docs/signalflow-overview"
|
|
242
276
|
*/
|
|
243
277
|
programText: pulumi.Input<string>;
|
|
244
278
|
/**
|
|
245
|
-
* How often (in seconds) to refresh the values of the heatmap
|
|
279
|
+
* How often (in seconds) to refresh the values of the heatmap
|
|
246
280
|
*/
|
|
247
281
|
refreshInterval?: pulumi.Input<number>;
|
|
248
282
|
/**
|
|
249
|
-
* The property to use when sorting the elements. Must be prepended with
|
|
283
|
+
* The property to use when sorting the elements. Must be prepended with + for ascending or - for descending (e.g. -foo)
|
|
250
284
|
*/
|
|
251
285
|
sortBy?: pulumi.Input<string>;
|
|
252
286
|
/**
|
|
253
|
-
* The property value is a string that denotes the geographic region associated with the time zone, (
|
|
287
|
+
* The property value is a string that denotes the geographic region associated with the time zone, (e.g. Australia/Sydney)
|
|
254
288
|
*/
|
|
255
289
|
timezone?: pulumi.Input<string>;
|
|
256
290
|
/**
|
|
257
|
-
* Must be
|
|
291
|
+
* (Metric by default) Must be "Metric" or "Binary"
|
|
258
292
|
*/
|
|
259
293
|
unitPrefix?: pulumi.Input<string>;
|
|
260
294
|
}
|
package/heatmapChart.js
CHANGED
|
@@ -6,9 +6,9 @@ exports.HeatmapChart = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* This chart type
|
|
9
|
+
* This chart type shows the specified plot in a heat map fashion. This format is similar to the [Infrastructure Navigator](https://signalfx-product-docs.readthedocs-hosted.com/en/latest/built-in-content/infra-nav.html#infra), with squares representing each source for the selected metric, and the color of each square representing the value range of the metric.
|
|
10
10
|
*
|
|
11
|
-
* ## Example
|
|
11
|
+
* ## Example
|
|
12
12
|
*
|
|
13
13
|
* ```typescript
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -50,6 +50,40 @@ const utilities = require("./utilities");
|
|
|
50
50
|
* timezone: "Europe/Paris",
|
|
51
51
|
* });
|
|
52
52
|
* ```
|
|
53
|
+
*
|
|
54
|
+
* ## Arguments
|
|
55
|
+
*
|
|
56
|
+
* The following arguments are supported in the resource block:
|
|
57
|
+
*
|
|
58
|
+
* * `name` - (Required) Name of the chart.
|
|
59
|
+
* * `programText` - (Required) Signalflow program text for the chart. More info at <https://dev.splunk.com/observability/docs/signalflow/>.
|
|
60
|
+
* * `description` - (Optional) Description of the chart.
|
|
61
|
+
* * `unitPrefix` - (Optional) Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
62
|
+
* * `minimumResolution` - (Optional) The minimum resolution (in seconds) to use for computing the underlying program.
|
|
63
|
+
* * `maxDelay` - (Optional) How long (in seconds) to wait for late datapoints.
|
|
64
|
+
* * `timezone` - (Optional) The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
65
|
+
* * `refreshInterval` - (Optional) How often (in seconds) to refresh the values of the heatmap.
|
|
66
|
+
* * `disableSampling` - (Optional) If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
67
|
+
* * `groupBy` - (Optional) Properties to group by in the heatmap (in nesting order).
|
|
68
|
+
* * `sortBy` - (Optional) The property to use when sorting the elements. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`).
|
|
69
|
+
* * `hideTimestamp` - (Optional) Whether to show the timestamp in the chart. `false` by default.
|
|
70
|
+
* * `colorRange` - (Optional, Default) Values and color for the color range. Example: `colorRange : { min : 0, max : 100, color : "#0000ff" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
71
|
+
* * `minValue` - (Optional) The minimum value within the coloring range.
|
|
72
|
+
* * `maxValue` - (Optional) The maximum value within the coloring range.
|
|
73
|
+
* * `color` - (Required) The color range to use. The starting hex color value for data values in a heatmap chart. Specify the value as a 6-character hexadecimal value preceded by the '#' character, for example "#ea1849" (grass green).
|
|
74
|
+
* * `colorScale` - (Optional. Conflicts with `colorRange`) One to N blocks, each defining a single color range including both the color to display for that range and the borders of the range. Example: `colorScale { gt = 60, color = "blue" } colorScale { lte = 60, color = "yellow" }`. Look at this [link](https://docs.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
75
|
+
* * `gt` - (Optional) Indicates the lower threshold non-inclusive value for this range.
|
|
76
|
+
* * `gte` - (Optional) Indicates the lower threshold inclusive value for this range.
|
|
77
|
+
* * `lt` - (Optional) Indicates the upper threshold non-inclusive value for this range.
|
|
78
|
+
* * `lte` - (Optional) Indicates the upper threshold inclusive value for this range.
|
|
79
|
+
* * `color` - (Required) The color range to use. Hex values are not supported here. 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.
|
|
80
|
+
*
|
|
81
|
+
* ## Attributes
|
|
82
|
+
*
|
|
83
|
+
* In a addition to all arguments above, the following attributes are exported:
|
|
84
|
+
*
|
|
85
|
+
* * `id` - The ID of the chart.
|
|
86
|
+
* * `url` - The URL of the chart.
|
|
53
87
|
*/
|
|
54
88
|
class HeatmapChart extends pulumi.CustomResource {
|
|
55
89
|
/**
|
package/heatmapChart.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heatmapChart.js","sourceRoot":"","sources":["../heatmapChart.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"heatmapChart.js","sourceRoot":"","sources":["../heatmapChart.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+EG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAuED,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;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CAAC,CAAC;IACjE,CAAC;;AA5IL,oCA6IC;AA/HG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
|
package/jira/integration.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Splunk Observability Cloud Jira integrations. For help with this integration see [Integration with Jira](https://docs.splunk.com/observability/en/admin/notif-services/jira.html).
|
|
4
4
|
*
|
|
5
|
-
* > **NOTE** When managing integrations, use a session token of an administrator to authenticate the
|
|
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
|
-
* ## Example
|
|
7
|
+
* ## Example
|
|
8
8
|
*
|
|
9
9
|
* ```typescript
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -22,6 +22,27 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
22
22
|
* username: "yoosername",
|
|
23
23
|
* });
|
|
24
24
|
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Arguments
|
|
27
|
+
*
|
|
28
|
+
* * `name` - (Required) Name of the integration.
|
|
29
|
+
* * `enabled` - (Required) Whether the integration is enabled.
|
|
30
|
+
* * `authMethod` - (Required) Authentication method used when creating the Jira integration. One of `EmailAndToken` (using `userEmail` and `apiToken`) or `UsernameAndPassword` (using `username` and `password`).
|
|
31
|
+
* * `apiToken` - (Required if `authMethod` is `EmailAndToken`) The API token for the user email
|
|
32
|
+
* * `userEmail` - (Required if `authMethod` is `EmailAndToken`) Email address used to authenticate the Jira integration.
|
|
33
|
+
* * `username` - (Required if `authMethod` is `UsernameAndPassword`) User name used to authenticate the Jira integration.
|
|
34
|
+
* * `password` - (Required if `authMethod` is `UsernameAndPassword`) Password used to authenticate the Jira integration.
|
|
35
|
+
* * `baseUrl` - (Required) Base URL of the Jira instance that's integrated with SignalFx.
|
|
36
|
+
* * `issueType` - (Required) Issue type (for example, Story) for tickets that Jira creates for detector notifications. Splunk Observability Cloud validates issue types, so you must specify a type that's valid for the Jira project specified in `projectKey`.
|
|
37
|
+
* * `projectKey` - (Required) Jira key of an existing project. When Jira creates a new ticket for a detector notification, the ticket is assigned to this project.
|
|
38
|
+
* * `assigneeName` - (Required) Jira user name for the assignee.
|
|
39
|
+
* * `assigneeDisplayName` - (Optional) Jira display name for the assignee.
|
|
40
|
+
*
|
|
41
|
+
* ## Attributes
|
|
42
|
+
*
|
|
43
|
+
* In a addition to all arguments above, the following attributes are exported:
|
|
44
|
+
*
|
|
45
|
+
* * `id` - The ID of the integration.
|
|
25
46
|
*/
|
|
26
47
|
export declare class Integration extends pulumi.CustomResource {
|
|
27
48
|
/**
|
|
@@ -44,15 +65,15 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
44
65
|
*/
|
|
45
66
|
readonly apiToken: pulumi.Output<string | undefined>;
|
|
46
67
|
/**
|
|
47
|
-
* Jira display name for the assignee
|
|
68
|
+
* Jira display name for the assignee
|
|
48
69
|
*/
|
|
49
70
|
readonly assigneeDisplayName: pulumi.Output<string | undefined>;
|
|
50
71
|
/**
|
|
51
|
-
* Jira user name for the assignee
|
|
72
|
+
* Jira user name for the assignee
|
|
52
73
|
*/
|
|
53
74
|
readonly assigneeName: pulumi.Output<string>;
|
|
54
75
|
/**
|
|
55
|
-
* Authentication method used when creating the Jira integration. One of `EmailAndToken`
|
|
76
|
+
* Authentication method used when creating the Jira integration. One of `EmailAndToken` or `UsernameAndPassword`
|
|
56
77
|
*/
|
|
57
78
|
readonly authMethod: pulumi.Output<string>;
|
|
58
79
|
/**
|
|
@@ -60,15 +81,16 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
60
81
|
*/
|
|
61
82
|
readonly baseUrl: pulumi.Output<string>;
|
|
62
83
|
/**
|
|
63
|
-
* Whether the integration is enabled
|
|
84
|
+
* Whether the integration is enabled or not
|
|
64
85
|
*/
|
|
65
86
|
readonly enabled: pulumi.Output<boolean>;
|
|
66
87
|
/**
|
|
67
|
-
* Issue type (for example, Story) for tickets that Jira creates for detector notifications.
|
|
88
|
+
* Issue type (for example, Story) for tickets that Jira creates for detector notifications. Splunk Observability Cloud
|
|
89
|
+
* validates issue types, so you must specify a type that's valid for the Jira project specified in `projectKey`.
|
|
68
90
|
*/
|
|
69
91
|
readonly issueType: pulumi.Output<string>;
|
|
70
92
|
/**
|
|
71
|
-
* Name of the integration
|
|
93
|
+
* Name of the integration
|
|
72
94
|
*/
|
|
73
95
|
readonly name: pulumi.Output<string>;
|
|
74
96
|
/**
|
|
@@ -76,7 +98,8 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
76
98
|
*/
|
|
77
99
|
readonly password: pulumi.Output<string | undefined>;
|
|
78
100
|
/**
|
|
79
|
-
* Jira key of an existing project. When Jira creates a new ticket for a detector notification, the ticket is assigned to
|
|
101
|
+
* Jira key of an existing project. When Jira creates a new ticket for a detector notification, the ticket is assigned to
|
|
102
|
+
* this project.
|
|
80
103
|
*/
|
|
81
104
|
readonly projectKey: pulumi.Output<string>;
|
|
82
105
|
/**
|
|
@@ -105,15 +128,15 @@ export interface IntegrationState {
|
|
|
105
128
|
*/
|
|
106
129
|
apiToken?: pulumi.Input<string>;
|
|
107
130
|
/**
|
|
108
|
-
* Jira display name for the assignee
|
|
131
|
+
* Jira display name for the assignee
|
|
109
132
|
*/
|
|
110
133
|
assigneeDisplayName?: pulumi.Input<string>;
|
|
111
134
|
/**
|
|
112
|
-
* Jira user name for the assignee
|
|
135
|
+
* Jira user name for the assignee
|
|
113
136
|
*/
|
|
114
137
|
assigneeName?: pulumi.Input<string>;
|
|
115
138
|
/**
|
|
116
|
-
* Authentication method used when creating the Jira integration. One of `EmailAndToken`
|
|
139
|
+
* Authentication method used when creating the Jira integration. One of `EmailAndToken` or `UsernameAndPassword`
|
|
117
140
|
*/
|
|
118
141
|
authMethod?: pulumi.Input<string>;
|
|
119
142
|
/**
|
|
@@ -121,15 +144,16 @@ export interface IntegrationState {
|
|
|
121
144
|
*/
|
|
122
145
|
baseUrl?: pulumi.Input<string>;
|
|
123
146
|
/**
|
|
124
|
-
* Whether the integration is enabled
|
|
147
|
+
* Whether the integration is enabled or not
|
|
125
148
|
*/
|
|
126
149
|
enabled?: pulumi.Input<boolean>;
|
|
127
150
|
/**
|
|
128
|
-
* Issue type (for example, Story) for tickets that Jira creates for detector notifications.
|
|
151
|
+
* Issue type (for example, Story) for tickets that Jira creates for detector notifications. Splunk Observability Cloud
|
|
152
|
+
* validates issue types, so you must specify a type that's valid for the Jira project specified in `projectKey`.
|
|
129
153
|
*/
|
|
130
154
|
issueType?: pulumi.Input<string>;
|
|
131
155
|
/**
|
|
132
|
-
* Name of the integration
|
|
156
|
+
* Name of the integration
|
|
133
157
|
*/
|
|
134
158
|
name?: pulumi.Input<string>;
|
|
135
159
|
/**
|
|
@@ -137,7 +161,8 @@ export interface IntegrationState {
|
|
|
137
161
|
*/
|
|
138
162
|
password?: pulumi.Input<string>;
|
|
139
163
|
/**
|
|
140
|
-
* Jira key of an existing project. When Jira creates a new ticket for a detector notification, the ticket is assigned to
|
|
164
|
+
* Jira key of an existing project. When Jira creates a new ticket for a detector notification, the ticket is assigned to
|
|
165
|
+
* this project.
|
|
141
166
|
*/
|
|
142
167
|
projectKey?: pulumi.Input<string>;
|
|
143
168
|
/**
|
|
@@ -158,15 +183,15 @@ export interface IntegrationArgs {
|
|
|
158
183
|
*/
|
|
159
184
|
apiToken?: pulumi.Input<string>;
|
|
160
185
|
/**
|
|
161
|
-
* Jira display name for the assignee
|
|
186
|
+
* Jira display name for the assignee
|
|
162
187
|
*/
|
|
163
188
|
assigneeDisplayName?: pulumi.Input<string>;
|
|
164
189
|
/**
|
|
165
|
-
* Jira user name for the assignee
|
|
190
|
+
* Jira user name for the assignee
|
|
166
191
|
*/
|
|
167
192
|
assigneeName: pulumi.Input<string>;
|
|
168
193
|
/**
|
|
169
|
-
* Authentication method used when creating the Jira integration. One of `EmailAndToken`
|
|
194
|
+
* Authentication method used when creating the Jira integration. One of `EmailAndToken` or `UsernameAndPassword`
|
|
170
195
|
*/
|
|
171
196
|
authMethod: pulumi.Input<string>;
|
|
172
197
|
/**
|
|
@@ -174,15 +199,16 @@ export interface IntegrationArgs {
|
|
|
174
199
|
*/
|
|
175
200
|
baseUrl: pulumi.Input<string>;
|
|
176
201
|
/**
|
|
177
|
-
* Whether the integration is enabled
|
|
202
|
+
* Whether the integration is enabled or not
|
|
178
203
|
*/
|
|
179
204
|
enabled: pulumi.Input<boolean>;
|
|
180
205
|
/**
|
|
181
|
-
* Issue type (for example, Story) for tickets that Jira creates for detector notifications.
|
|
206
|
+
* Issue type (for example, Story) for tickets that Jira creates for detector notifications. Splunk Observability Cloud
|
|
207
|
+
* validates issue types, so you must specify a type that's valid for the Jira project specified in `projectKey`.
|
|
182
208
|
*/
|
|
183
209
|
issueType: pulumi.Input<string>;
|
|
184
210
|
/**
|
|
185
|
-
* Name of the integration
|
|
211
|
+
* Name of the integration
|
|
186
212
|
*/
|
|
187
213
|
name?: pulumi.Input<string>;
|
|
188
214
|
/**
|
|
@@ -190,7 +216,8 @@ export interface IntegrationArgs {
|
|
|
190
216
|
*/
|
|
191
217
|
password?: pulumi.Input<string>;
|
|
192
218
|
/**
|
|
193
|
-
* Jira key of an existing project. When Jira creates a new ticket for a detector notification, the ticket is assigned to
|
|
219
|
+
* Jira key of an existing project. When Jira creates a new ticket for a detector notification, the ticket is assigned to
|
|
220
|
+
* this project.
|
|
194
221
|
*/
|
|
195
222
|
projectKey: pulumi.Input<string>;
|
|
196
223
|
/**
|
package/jira/integration.js
CHANGED
|
@@ -6,11 +6,11 @@ exports.Integration = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Splunk Observability Cloud Jira integrations. For help with this integration see [Integration with Jira](https://docs.splunk.com/observability/en/admin/notif-services/jira.html).
|
|
10
10
|
*
|
|
11
|
-
* > **NOTE** When managing integrations, use a session token of an administrator to authenticate the
|
|
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
|
-
* ## Example
|
|
13
|
+
* ## Example
|
|
14
14
|
*
|
|
15
15
|
* ```typescript
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -28,6 +28,27 @@ const utilities = require("../utilities");
|
|
|
28
28
|
* username: "yoosername",
|
|
29
29
|
* });
|
|
30
30
|
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Arguments
|
|
33
|
+
*
|
|
34
|
+
* * `name` - (Required) Name of the integration.
|
|
35
|
+
* * `enabled` - (Required) Whether the integration is enabled.
|
|
36
|
+
* * `authMethod` - (Required) Authentication method used when creating the Jira integration. One of `EmailAndToken` (using `userEmail` and `apiToken`) or `UsernameAndPassword` (using `username` and `password`).
|
|
37
|
+
* * `apiToken` - (Required if `authMethod` is `EmailAndToken`) The API token for the user email
|
|
38
|
+
* * `userEmail` - (Required if `authMethod` is `EmailAndToken`) Email address used to authenticate the Jira integration.
|
|
39
|
+
* * `username` - (Required if `authMethod` is `UsernameAndPassword`) User name used to authenticate the Jira integration.
|
|
40
|
+
* * `password` - (Required if `authMethod` is `UsernameAndPassword`) Password used to authenticate the Jira integration.
|
|
41
|
+
* * `baseUrl` - (Required) Base URL of the Jira instance that's integrated with SignalFx.
|
|
42
|
+
* * `issueType` - (Required) Issue type (for example, Story) for tickets that Jira creates for detector notifications. Splunk Observability Cloud validates issue types, so you must specify a type that's valid for the Jira project specified in `projectKey`.
|
|
43
|
+
* * `projectKey` - (Required) Jira key of an existing project. When Jira creates a new ticket for a detector notification, the ticket is assigned to this project.
|
|
44
|
+
* * `assigneeName` - (Required) Jira user name for the assignee.
|
|
45
|
+
* * `assigneeDisplayName` - (Optional) Jira display name for the assignee.
|
|
46
|
+
*
|
|
47
|
+
* ## Attributes
|
|
48
|
+
*
|
|
49
|
+
* In a addition to all arguments above, the following attributes are exported:
|
|
50
|
+
*
|
|
51
|
+
* * `id` - The ID of the integration.
|
|
31
52
|
*/
|
|
32
53
|
class Integration extends pulumi.CustomResource {
|
|
33
54
|
/**
|
package/jira/integration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../jira/integration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../jira/integration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA6DD,YAAY,IAAY,EAAE,WAA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