@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/listChart.d.ts
CHANGED
|
@@ -7,50 +7,6 @@ import * as outputs from "./types/output";
|
|
|
7
7
|
* The name of each value in the chart reflects the name of the plot and any associated dimensions. We recommend you click the Pencil icon and give the plot a meaningful name, as in plot B from the example. Otherwise, just the raw metric name will be displayed on the chart, as in plot A from the example.
|
|
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://developers.signalfx.com/signalflow_analytics/signalflow_overview.html#_signalflow_programming_language).
|
|
17
|
-
* * `description` - (Optional) Description of the chart.
|
|
18
|
-
* * `unitPrefix` - (Optional) Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
19
|
-
* * `colorBy` - (Optional) Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
20
|
-
* * `maxDelay` - (Optional) How long (in seconds) to wait for late datapoints.
|
|
21
|
-
* * `timezone` - (Optional) The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
22
|
-
* * `disableSampling` - (Optional) If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
23
|
-
* * `refreshInterval` - (Optional) How often (in seconds) to refresh the values of the list.
|
|
24
|
-
* * `hideMissingValues` - (Optional) Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
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
|
-
* * `legendFieldsToHide` - (Optional) List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use `legendOptionsFields`.
|
|
32
|
-
* * `legendOptionsFields` - (Optional) List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with `legendFieldsToHide`.
|
|
33
|
-
* * `property` The name of the property to display. Note the special values of `sfMetric` (corresponding with the API's `Plot Name`) which shows the label of the time series `publish()` and `sf_originatingMetric` (corresponding with the API's `metric (sf metric)`) that shows the [name of the metric](https://dev.splunk.com/observability/docs/signalflow/functions/data_function/) for the time series being displayed.
|
|
34
|
-
* * `enabled` True or False depending on if you want the property to be shown or hidden.
|
|
35
|
-
* * `maxPrecision` - (Optional) Maximum number of digits to display when rounding values up or down.
|
|
36
|
-
* * `secondaryVisualization` - (Optional) The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
37
|
-
* * `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.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
38
|
-
* * `gt` - (Optional) Indicates the lower threshold non-inclusive value for this range.
|
|
39
|
-
* * `gte` - (Optional) Indicates the lower threshold inclusive value for this range.
|
|
40
|
-
* * `lt` - (Optional) Indicates the upper threshold non-inculsive value for this range.
|
|
41
|
-
* * `lte` - (Optional) Indicates the upper threshold inclusive value for this range.
|
|
42
|
-
* * `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.
|
|
43
|
-
* * `sortBy` - (Optional) The property to use when sorting the elements. Use `value` if you want to sort by value. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`). Note there are some special values for some of the options provided in the UX: `"value"` for Value, `"sf_originatingMetric"` for Metric, and `"sfMetric"` for plot.
|
|
44
|
-
* * `timeRange` - (Optional) How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `startTime` and `endTime`.
|
|
45
|
-
* * `startTime` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
46
|
-
* * `endTime` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
47
|
-
*
|
|
48
|
-
* ## Attributes
|
|
49
|
-
*
|
|
50
|
-
* In a addition to all arguments above, the following attributes are exported:
|
|
51
|
-
*
|
|
52
|
-
* * `id` - The ID of the chart.
|
|
53
|
-
* * `url` - The URL of the chart.
|
|
54
10
|
*/
|
|
55
11
|
export declare class ListChart extends pulumi.CustomResource {
|
|
56
12
|
/**
|
|
@@ -69,90 +25,89 @@ export declare class ListChart extends pulumi.CustomResource {
|
|
|
69
25
|
*/
|
|
70
26
|
static isInstance(obj: any): obj is ListChart;
|
|
71
27
|
/**
|
|
72
|
-
*
|
|
28
|
+
* Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
73
29
|
*/
|
|
74
30
|
readonly colorBy: pulumi.Output<string | undefined>;
|
|
75
31
|
/**
|
|
76
|
-
* 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.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
77
33
|
*/
|
|
78
34
|
readonly colorScales: pulumi.Output<outputs.ListChartColorScale[] | undefined>;
|
|
79
35
|
/**
|
|
80
|
-
* Description of the chart
|
|
36
|
+
* Description of the chart.
|
|
81
37
|
*/
|
|
82
38
|
readonly description: pulumi.Output<string | undefined>;
|
|
83
39
|
/**
|
|
84
|
-
*
|
|
40
|
+
* If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
85
41
|
*/
|
|
86
42
|
readonly disableSampling: pulumi.Output<boolean | undefined>;
|
|
87
43
|
/**
|
|
88
|
-
* Seconds since epoch
|
|
44
|
+
* Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
89
45
|
*/
|
|
90
46
|
readonly endTime: pulumi.Output<number | undefined>;
|
|
91
47
|
/**
|
|
92
|
-
*
|
|
48
|
+
* Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
93
49
|
*/
|
|
94
50
|
readonly hideMissingValues: pulumi.Output<boolean | undefined>;
|
|
95
51
|
/**
|
|
96
|
-
* List of properties that
|
|
52
|
+
* List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use `legendOptionsFields`.
|
|
97
53
|
*
|
|
98
54
|
* @deprecated Please use legend_options_fields
|
|
99
55
|
*/
|
|
100
56
|
readonly legendFieldsToHides: pulumi.Output<string[] | undefined>;
|
|
101
57
|
/**
|
|
102
|
-
* List of property and enabled flags
|
|
58
|
+
* List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with `legendFieldsToHide`.
|
|
103
59
|
*/
|
|
104
60
|
readonly legendOptionsFields: pulumi.Output<outputs.ListChartLegendOptionsField[] | undefined>;
|
|
105
61
|
/**
|
|
106
|
-
* How long (in seconds) to wait for late datapoints
|
|
62
|
+
* How long (in seconds) to wait for late datapoints.
|
|
107
63
|
*/
|
|
108
64
|
readonly maxDelay: pulumi.Output<number | undefined>;
|
|
109
65
|
/**
|
|
110
|
-
* Maximum number of digits to display when rounding values up or down
|
|
66
|
+
* Maximum number of digits to display when rounding values up or down.
|
|
111
67
|
*/
|
|
112
68
|
readonly maxPrecision: pulumi.Output<number | undefined>;
|
|
113
69
|
/**
|
|
114
|
-
* Name of the chart
|
|
70
|
+
* Name of the chart.
|
|
115
71
|
*/
|
|
116
72
|
readonly name: pulumi.Output<string>;
|
|
117
73
|
/**
|
|
118
|
-
* Signalflow program text for the chart. More info
|
|
74
|
+
* Signalflow program text for the chart. More info[in the Splunk Observability Cloud docs](https://developers.signalfx.com/signalflow_analytics/signalflow_overview.html#_signalflow_programming_language).
|
|
119
75
|
*/
|
|
120
76
|
readonly programText: pulumi.Output<string>;
|
|
121
77
|
/**
|
|
122
|
-
* How often (in seconds) to refresh the values of the list
|
|
78
|
+
* How often (in seconds) to refresh the values of the list.
|
|
123
79
|
*/
|
|
124
80
|
readonly refreshInterval: pulumi.Output<number | undefined>;
|
|
125
81
|
/**
|
|
126
|
-
*
|
|
82
|
+
* The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
127
83
|
*/
|
|
128
84
|
readonly secondaryVisualization: pulumi.Output<string | undefined>;
|
|
129
85
|
/**
|
|
130
|
-
* The property to use when sorting the elements. Use
|
|
131
|
-
* ascending or - for descending (e.g. -foo)
|
|
86
|
+
* The property to use when sorting the elements. Use `value` if you want to sort by value. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`). Note there are some special values for some of the options provided in the UX: `"value"` for Value, `"sf_originatingMetric"` for Metric, and `"sfMetric"` for plot.
|
|
132
87
|
*/
|
|
133
88
|
readonly sortBy: pulumi.Output<string | undefined>;
|
|
134
89
|
/**
|
|
135
|
-
* Seconds since epoch
|
|
90
|
+
* Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
136
91
|
*/
|
|
137
92
|
readonly startTime: pulumi.Output<number | undefined>;
|
|
138
93
|
/**
|
|
139
|
-
*
|
|
94
|
+
* How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `startTime` and `endTime`.
|
|
140
95
|
*/
|
|
141
96
|
readonly timeRange: pulumi.Output<number | undefined>;
|
|
142
97
|
/**
|
|
143
|
-
* The property value is a string that denotes the geographic region associated with the time zone, (
|
|
98
|
+
* The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
144
99
|
*/
|
|
145
100
|
readonly timezone: pulumi.Output<string | undefined>;
|
|
146
101
|
/**
|
|
147
|
-
*
|
|
102
|
+
* Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
148
103
|
*/
|
|
149
104
|
readonly unitPrefix: pulumi.Output<string | undefined>;
|
|
150
105
|
/**
|
|
151
|
-
* URL of the chart
|
|
106
|
+
* The URL of the chart.
|
|
152
107
|
*/
|
|
153
108
|
readonly url: pulumi.Output<string>;
|
|
154
109
|
/**
|
|
155
|
-
* Plot-level customization options, associated with a publish statement
|
|
110
|
+
* Plot-level customization options, associated with a publish statement.
|
|
156
111
|
*/
|
|
157
112
|
readonly vizOptions: pulumi.Output<outputs.ListChartVizOption[] | undefined>;
|
|
158
113
|
/**
|
|
@@ -169,90 +124,89 @@ export declare class ListChart extends pulumi.CustomResource {
|
|
|
169
124
|
*/
|
|
170
125
|
export interface ListChartState {
|
|
171
126
|
/**
|
|
172
|
-
*
|
|
127
|
+
* Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
173
128
|
*/
|
|
174
129
|
colorBy?: pulumi.Input<string>;
|
|
175
130
|
/**
|
|
176
|
-
* Single color range including both the color to display for that range and the borders of the range
|
|
131
|
+
* 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.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
177
132
|
*/
|
|
178
133
|
colorScales?: pulumi.Input<pulumi.Input<inputs.ListChartColorScale>[]>;
|
|
179
134
|
/**
|
|
180
|
-
* Description of the chart
|
|
135
|
+
* Description of the chart.
|
|
181
136
|
*/
|
|
182
137
|
description?: pulumi.Input<string>;
|
|
183
138
|
/**
|
|
184
|
-
*
|
|
139
|
+
* If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
185
140
|
*/
|
|
186
141
|
disableSampling?: pulumi.Input<boolean>;
|
|
187
142
|
/**
|
|
188
|
-
* Seconds since epoch
|
|
143
|
+
* Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
189
144
|
*/
|
|
190
145
|
endTime?: pulumi.Input<number>;
|
|
191
146
|
/**
|
|
192
|
-
*
|
|
147
|
+
* Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
193
148
|
*/
|
|
194
149
|
hideMissingValues?: pulumi.Input<boolean>;
|
|
195
150
|
/**
|
|
196
|
-
* List of properties that
|
|
151
|
+
* List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use `legendOptionsFields`.
|
|
197
152
|
*
|
|
198
153
|
* @deprecated Please use legend_options_fields
|
|
199
154
|
*/
|
|
200
155
|
legendFieldsToHides?: pulumi.Input<pulumi.Input<string>[]>;
|
|
201
156
|
/**
|
|
202
|
-
* List of property and enabled flags
|
|
157
|
+
* List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with `legendFieldsToHide`.
|
|
203
158
|
*/
|
|
204
159
|
legendOptionsFields?: pulumi.Input<pulumi.Input<inputs.ListChartLegendOptionsField>[]>;
|
|
205
160
|
/**
|
|
206
|
-
* How long (in seconds) to wait for late datapoints
|
|
161
|
+
* How long (in seconds) to wait for late datapoints.
|
|
207
162
|
*/
|
|
208
163
|
maxDelay?: pulumi.Input<number>;
|
|
209
164
|
/**
|
|
210
|
-
* Maximum number of digits to display when rounding values up or down
|
|
165
|
+
* Maximum number of digits to display when rounding values up or down.
|
|
211
166
|
*/
|
|
212
167
|
maxPrecision?: pulumi.Input<number>;
|
|
213
168
|
/**
|
|
214
|
-
* Name of the chart
|
|
169
|
+
* Name of the chart.
|
|
215
170
|
*/
|
|
216
171
|
name?: pulumi.Input<string>;
|
|
217
172
|
/**
|
|
218
|
-
* Signalflow program text for the chart. More info
|
|
173
|
+
* Signalflow program text for the chart. More info[in the Splunk Observability Cloud docs](https://developers.signalfx.com/signalflow_analytics/signalflow_overview.html#_signalflow_programming_language).
|
|
219
174
|
*/
|
|
220
175
|
programText?: pulumi.Input<string>;
|
|
221
176
|
/**
|
|
222
|
-
* How often (in seconds) to refresh the values of the list
|
|
177
|
+
* How often (in seconds) to refresh the values of the list.
|
|
223
178
|
*/
|
|
224
179
|
refreshInterval?: pulumi.Input<number>;
|
|
225
180
|
/**
|
|
226
|
-
*
|
|
181
|
+
* The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
227
182
|
*/
|
|
228
183
|
secondaryVisualization?: pulumi.Input<string>;
|
|
229
184
|
/**
|
|
230
|
-
* The property to use when sorting the elements. Use
|
|
231
|
-
* ascending or - for descending (e.g. -foo)
|
|
185
|
+
* The property to use when sorting the elements. Use `value` if you want to sort by value. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`). Note there are some special values for some of the options provided in the UX: `"value"` for Value, `"sf_originatingMetric"` for Metric, and `"sfMetric"` for plot.
|
|
232
186
|
*/
|
|
233
187
|
sortBy?: pulumi.Input<string>;
|
|
234
188
|
/**
|
|
235
|
-
* Seconds since epoch
|
|
189
|
+
* Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
236
190
|
*/
|
|
237
191
|
startTime?: pulumi.Input<number>;
|
|
238
192
|
/**
|
|
239
|
-
*
|
|
193
|
+
* How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `startTime` and `endTime`.
|
|
240
194
|
*/
|
|
241
195
|
timeRange?: pulumi.Input<number>;
|
|
242
196
|
/**
|
|
243
|
-
* The property value is a string that denotes the geographic region associated with the time zone, (
|
|
197
|
+
* The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
244
198
|
*/
|
|
245
199
|
timezone?: pulumi.Input<string>;
|
|
246
200
|
/**
|
|
247
|
-
*
|
|
201
|
+
* Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
248
202
|
*/
|
|
249
203
|
unitPrefix?: pulumi.Input<string>;
|
|
250
204
|
/**
|
|
251
|
-
* URL of the chart
|
|
205
|
+
* The URL of the chart.
|
|
252
206
|
*/
|
|
253
207
|
url?: pulumi.Input<string>;
|
|
254
208
|
/**
|
|
255
|
-
* Plot-level customization options, associated with a publish statement
|
|
209
|
+
* Plot-level customization options, associated with a publish statement.
|
|
256
210
|
*/
|
|
257
211
|
vizOptions?: pulumi.Input<pulumi.Input<inputs.ListChartVizOption>[]>;
|
|
258
212
|
}
|
|
@@ -261,86 +215,85 @@ export interface ListChartState {
|
|
|
261
215
|
*/
|
|
262
216
|
export interface ListChartArgs {
|
|
263
217
|
/**
|
|
264
|
-
*
|
|
218
|
+
* Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
265
219
|
*/
|
|
266
220
|
colorBy?: pulumi.Input<string>;
|
|
267
221
|
/**
|
|
268
|
-
* Single color range including both the color to display for that range and the borders of the range
|
|
222
|
+
* 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.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
269
223
|
*/
|
|
270
224
|
colorScales?: pulumi.Input<pulumi.Input<inputs.ListChartColorScale>[]>;
|
|
271
225
|
/**
|
|
272
|
-
* Description of the chart
|
|
226
|
+
* Description of the chart.
|
|
273
227
|
*/
|
|
274
228
|
description?: pulumi.Input<string>;
|
|
275
229
|
/**
|
|
276
|
-
*
|
|
230
|
+
* If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
277
231
|
*/
|
|
278
232
|
disableSampling?: pulumi.Input<boolean>;
|
|
279
233
|
/**
|
|
280
|
-
* Seconds since epoch
|
|
234
|
+
* Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
281
235
|
*/
|
|
282
236
|
endTime?: pulumi.Input<number>;
|
|
283
237
|
/**
|
|
284
|
-
*
|
|
238
|
+
* Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
285
239
|
*/
|
|
286
240
|
hideMissingValues?: pulumi.Input<boolean>;
|
|
287
241
|
/**
|
|
288
|
-
* List of properties that
|
|
242
|
+
* List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use `legendOptionsFields`.
|
|
289
243
|
*
|
|
290
244
|
* @deprecated Please use legend_options_fields
|
|
291
245
|
*/
|
|
292
246
|
legendFieldsToHides?: pulumi.Input<pulumi.Input<string>[]>;
|
|
293
247
|
/**
|
|
294
|
-
* List of property and enabled flags
|
|
248
|
+
* List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with `legendFieldsToHide`.
|
|
295
249
|
*/
|
|
296
250
|
legendOptionsFields?: pulumi.Input<pulumi.Input<inputs.ListChartLegendOptionsField>[]>;
|
|
297
251
|
/**
|
|
298
|
-
* How long (in seconds) to wait for late datapoints
|
|
252
|
+
* How long (in seconds) to wait for late datapoints.
|
|
299
253
|
*/
|
|
300
254
|
maxDelay?: pulumi.Input<number>;
|
|
301
255
|
/**
|
|
302
|
-
* Maximum number of digits to display when rounding values up or down
|
|
256
|
+
* Maximum number of digits to display when rounding values up or down.
|
|
303
257
|
*/
|
|
304
258
|
maxPrecision?: pulumi.Input<number>;
|
|
305
259
|
/**
|
|
306
|
-
* Name of the chart
|
|
260
|
+
* Name of the chart.
|
|
307
261
|
*/
|
|
308
262
|
name?: pulumi.Input<string>;
|
|
309
263
|
/**
|
|
310
|
-
* Signalflow program text for the chart. More info
|
|
264
|
+
* Signalflow program text for the chart. More info[in the Splunk Observability Cloud docs](https://developers.signalfx.com/signalflow_analytics/signalflow_overview.html#_signalflow_programming_language).
|
|
311
265
|
*/
|
|
312
266
|
programText: pulumi.Input<string>;
|
|
313
267
|
/**
|
|
314
|
-
* How often (in seconds) to refresh the values of the list
|
|
268
|
+
* How often (in seconds) to refresh the values of the list.
|
|
315
269
|
*/
|
|
316
270
|
refreshInterval?: pulumi.Input<number>;
|
|
317
271
|
/**
|
|
318
|
-
*
|
|
272
|
+
* The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
319
273
|
*/
|
|
320
274
|
secondaryVisualization?: pulumi.Input<string>;
|
|
321
275
|
/**
|
|
322
|
-
* The property to use when sorting the elements. Use
|
|
323
|
-
* ascending or - for descending (e.g. -foo)
|
|
276
|
+
* The property to use when sorting the elements. Use `value` if you want to sort by value. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`). Note there are some special values for some of the options provided in the UX: `"value"` for Value, `"sf_originatingMetric"` for Metric, and `"sfMetric"` for plot.
|
|
324
277
|
*/
|
|
325
278
|
sortBy?: pulumi.Input<string>;
|
|
326
279
|
/**
|
|
327
|
-
* Seconds since epoch
|
|
280
|
+
* Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
328
281
|
*/
|
|
329
282
|
startTime?: pulumi.Input<number>;
|
|
330
283
|
/**
|
|
331
|
-
*
|
|
284
|
+
* How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `startTime` and `endTime`.
|
|
332
285
|
*/
|
|
333
286
|
timeRange?: pulumi.Input<number>;
|
|
334
287
|
/**
|
|
335
|
-
* The property value is a string that denotes the geographic region associated with the time zone, (
|
|
288
|
+
* The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
336
289
|
*/
|
|
337
290
|
timezone?: pulumi.Input<string>;
|
|
338
291
|
/**
|
|
339
|
-
*
|
|
292
|
+
* Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
340
293
|
*/
|
|
341
294
|
unitPrefix?: pulumi.Input<string>;
|
|
342
295
|
/**
|
|
343
|
-
* Plot-level customization options, associated with a publish statement
|
|
296
|
+
* Plot-level customization options, associated with a publish statement.
|
|
344
297
|
*/
|
|
345
298
|
vizOptions?: pulumi.Input<pulumi.Input<inputs.ListChartVizOption>[]>;
|
|
346
299
|
}
|
package/listChart.js
CHANGED
|
@@ -11,50 +11,6 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* The name of each value in the chart reflects the name of the plot and any associated dimensions. We recommend you click the Pencil icon and give the plot a meaningful name, as in plot B from the example. Otherwise, just the raw metric name will be displayed on the chart, as in plot A from the example.
|
|
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://developers.signalfx.com/signalflow_analytics/signalflow_overview.html#_signalflow_programming_language).
|
|
21
|
-
* * `description` - (Optional) Description of the chart.
|
|
22
|
-
* * `unitPrefix` - (Optional) Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
23
|
-
* * `colorBy` - (Optional) Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
24
|
-
* * `maxDelay` - (Optional) How long (in seconds) to wait for late datapoints.
|
|
25
|
-
* * `timezone` - (Optional) The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
26
|
-
* * `disableSampling` - (Optional) If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
27
|
-
* * `refreshInterval` - (Optional) How often (in seconds) to refresh the values of the list.
|
|
28
|
-
* * `hideMissingValues` - (Optional) Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
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
|
-
* * `legendFieldsToHide` - (Optional) List of properties that should not be displayed in the chart legend (i.e. dimension names). All the properties are visible by default. Deprecated, please use `legendOptionsFields`.
|
|
36
|
-
* * `legendOptionsFields` - (Optional) List of property names and enabled flags that should be displayed in the data table for the chart, in the order provided. This option cannot be used with `legendFieldsToHide`.
|
|
37
|
-
* * `property` The name of the property to display. Note the special values of `sfMetric` (corresponding with the API's `Plot Name`) which shows the label of the time series `publish()` and `sf_originatingMetric` (corresponding with the API's `metric (sf metric)`) that shows the [name of the metric](https://dev.splunk.com/observability/docs/signalflow/functions/data_function/) for the time series being displayed.
|
|
38
|
-
* * `enabled` True or False depending on if you want the property to be shown or hidden.
|
|
39
|
-
* * `maxPrecision` - (Optional) Maximum number of digits to display when rounding values up or down.
|
|
40
|
-
* * `secondaryVisualization` - (Optional) The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
41
|
-
* * `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.splunk.com/observability/en/data-visualization/charts/chart-options.html).
|
|
42
|
-
* * `gt` - (Optional) Indicates the lower threshold non-inclusive value for this range.
|
|
43
|
-
* * `gte` - (Optional) Indicates the lower threshold inclusive value for this range.
|
|
44
|
-
* * `lt` - (Optional) Indicates the upper threshold non-inculsive value for this range.
|
|
45
|
-
* * `lte` - (Optional) Indicates the upper threshold inclusive value for this range.
|
|
46
|
-
* * `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.
|
|
47
|
-
* * `sortBy` - (Optional) The property to use when sorting the elements. Use `value` if you want to sort by value. Must be prepended with `+` for ascending or `-` for descending (e.g. `-foo`). Note there are some special values for some of the options provided in the UX: `"value"` for Value, `"sf_originatingMetric"` for Metric, and `"sfMetric"` for plot.
|
|
48
|
-
* * `timeRange` - (Optional) How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `startTime` and `endTime`.
|
|
49
|
-
* * `startTime` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
50
|
-
* * `endTime` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
51
|
-
*
|
|
52
|
-
* ## Attributes
|
|
53
|
-
*
|
|
54
|
-
* In a addition to all arguments above, the following attributes are exported:
|
|
55
|
-
*
|
|
56
|
-
* * `id` - The ID of the chart.
|
|
57
|
-
* * `url` - The URL of the chart.
|
|
58
14
|
*/
|
|
59
15
|
class ListChart extends pulumi.CustomResource {
|
|
60
16
|
/**
|
package/listChart.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listChart.js","sourceRoot":"","sources":["../listChart.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"listChart.js","sourceRoot":"","sources":["../listChart.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF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C,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,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,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAlLL,8BAmLC;AArKG,gBAAgB;AACO,sBAAY,GAAG,oCAAoC,CAAC"}
|
package/log/timeline.d.ts
CHANGED
|
@@ -5,25 +5,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
* A log timeline chart displays timeline visualization in a dashboard and shows you in detail what is happening and why.
|
|
6
6
|
*
|
|
7
7
|
* ## Example
|
|
8
|
-
*
|
|
9
|
-
* ## Arguments
|
|
10
|
-
*
|
|
11
|
-
* The following arguments are supported in the resource block:
|
|
12
|
-
*
|
|
13
|
-
* * `name` - (Required) Name of the log timeline.
|
|
14
|
-
* * `programText` - (Required) Signalflow program text for the log timeline. More info at https://dev.splunk.com/observability/docs/.
|
|
15
|
-
* * `description` - (Optional) Description of the log timeline.
|
|
16
|
-
* * `timeRange` - (Optional) From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `startTime` and `endTime`.
|
|
17
|
-
* * `startTime` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
18
|
-
* * `endTime` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
19
|
-
* * `defaultConnection` - (Optional) The connection that the log timeline uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
20
|
-
*
|
|
21
|
-
* ## Attributes
|
|
22
|
-
*
|
|
23
|
-
* In a addition to all arguments above, the following attributes are exported:
|
|
24
|
-
*
|
|
25
|
-
* * `id` - The ID of the log timeline.
|
|
26
|
-
* * `url` - The URL of the log timeline.
|
|
27
8
|
*/
|
|
28
9
|
export declare class Timeline extends pulumi.CustomResource {
|
|
29
10
|
/**
|
|
@@ -42,35 +23,35 @@ export declare class Timeline extends pulumi.CustomResource {
|
|
|
42
23
|
*/
|
|
43
24
|
static isInstance(obj: any): obj is Timeline;
|
|
44
25
|
/**
|
|
45
|
-
*
|
|
26
|
+
* The connection that the log timeline uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
46
27
|
*/
|
|
47
28
|
readonly defaultConnection: pulumi.Output<string | undefined>;
|
|
48
29
|
/**
|
|
49
|
-
* Description of the
|
|
30
|
+
* Description of the log timeline.
|
|
50
31
|
*/
|
|
51
32
|
readonly description: pulumi.Output<string | undefined>;
|
|
52
33
|
/**
|
|
53
|
-
* Seconds since epoch
|
|
34
|
+
* Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
54
35
|
*/
|
|
55
36
|
readonly endTime: pulumi.Output<number | undefined>;
|
|
56
37
|
/**
|
|
57
|
-
* Name of the
|
|
38
|
+
* Name of the log timeline.
|
|
58
39
|
*/
|
|
59
40
|
readonly name: pulumi.Output<string>;
|
|
60
41
|
/**
|
|
61
|
-
* Signalflow program text for the
|
|
42
|
+
* Signalflow program text for the log timeline. More info at https://dev.splunk.com/observability/docs/.
|
|
62
43
|
*/
|
|
63
44
|
readonly programText: pulumi.Output<string>;
|
|
64
45
|
/**
|
|
65
|
-
* Seconds since epoch
|
|
46
|
+
* Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
66
47
|
*/
|
|
67
48
|
readonly startTime: pulumi.Output<number | undefined>;
|
|
68
49
|
/**
|
|
69
|
-
*
|
|
50
|
+
* From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `startTime` and `endTime`.
|
|
70
51
|
*/
|
|
71
52
|
readonly timeRange: pulumi.Output<number | undefined>;
|
|
72
53
|
/**
|
|
73
|
-
* URL of the
|
|
54
|
+
* The URL of the log timeline.
|
|
74
55
|
*/
|
|
75
56
|
readonly url: pulumi.Output<string>;
|
|
76
57
|
/**
|
|
@@ -87,35 +68,35 @@ export declare class Timeline extends pulumi.CustomResource {
|
|
|
87
68
|
*/
|
|
88
69
|
export interface TimelineState {
|
|
89
70
|
/**
|
|
90
|
-
*
|
|
71
|
+
* The connection that the log timeline uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
91
72
|
*/
|
|
92
73
|
defaultConnection?: pulumi.Input<string>;
|
|
93
74
|
/**
|
|
94
|
-
* Description of the
|
|
75
|
+
* Description of the log timeline.
|
|
95
76
|
*/
|
|
96
77
|
description?: pulumi.Input<string>;
|
|
97
78
|
/**
|
|
98
|
-
* Seconds since epoch
|
|
79
|
+
* Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
99
80
|
*/
|
|
100
81
|
endTime?: pulumi.Input<number>;
|
|
101
82
|
/**
|
|
102
|
-
* Name of the
|
|
83
|
+
* Name of the log timeline.
|
|
103
84
|
*/
|
|
104
85
|
name?: pulumi.Input<string>;
|
|
105
86
|
/**
|
|
106
|
-
* Signalflow program text for the
|
|
87
|
+
* Signalflow program text for the log timeline. More info at https://dev.splunk.com/observability/docs/.
|
|
107
88
|
*/
|
|
108
89
|
programText?: pulumi.Input<string>;
|
|
109
90
|
/**
|
|
110
|
-
* Seconds since epoch
|
|
91
|
+
* Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
111
92
|
*/
|
|
112
93
|
startTime?: pulumi.Input<number>;
|
|
113
94
|
/**
|
|
114
|
-
*
|
|
95
|
+
* From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `startTime` and `endTime`.
|
|
115
96
|
*/
|
|
116
97
|
timeRange?: pulumi.Input<number>;
|
|
117
98
|
/**
|
|
118
|
-
* URL of the
|
|
99
|
+
* The URL of the log timeline.
|
|
119
100
|
*/
|
|
120
101
|
url?: pulumi.Input<string>;
|
|
121
102
|
}
|
|
@@ -124,31 +105,31 @@ export interface TimelineState {
|
|
|
124
105
|
*/
|
|
125
106
|
export interface TimelineArgs {
|
|
126
107
|
/**
|
|
127
|
-
*
|
|
108
|
+
* The connection that the log timeline uses to fetch data. This could be Splunk Enterprise, Splunk Enterprise Cloud or Observability Cloud.
|
|
128
109
|
*/
|
|
129
110
|
defaultConnection?: pulumi.Input<string>;
|
|
130
111
|
/**
|
|
131
|
-
* Description of the
|
|
112
|
+
* Description of the log timeline.
|
|
132
113
|
*/
|
|
133
114
|
description?: pulumi.Input<string>;
|
|
134
115
|
/**
|
|
135
|
-
* Seconds since epoch
|
|
116
|
+
* Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
136
117
|
*/
|
|
137
118
|
endTime?: pulumi.Input<number>;
|
|
138
119
|
/**
|
|
139
|
-
* Name of the
|
|
120
|
+
* Name of the log timeline.
|
|
140
121
|
*/
|
|
141
122
|
name?: pulumi.Input<string>;
|
|
142
123
|
/**
|
|
143
|
-
* Signalflow program text for the
|
|
124
|
+
* Signalflow program text for the log timeline. More info at https://dev.splunk.com/observability/docs/.
|
|
144
125
|
*/
|
|
145
126
|
programText: pulumi.Input<string>;
|
|
146
127
|
/**
|
|
147
|
-
* Seconds since epoch
|
|
128
|
+
* Seconds since epoch. Used for visualization. Conflicts with `timeRange`.
|
|
148
129
|
*/
|
|
149
130
|
startTime?: pulumi.Input<number>;
|
|
150
131
|
/**
|
|
151
|
-
*
|
|
132
|
+
* From when to display data. Splunk Observability Cloud time syntax (e.g. `"-5m"`, `"-1h"`). Conflicts with `startTime` and `endTime`.
|
|
152
133
|
*/
|
|
153
134
|
timeRange?: pulumi.Input<number>;
|
|
154
135
|
}
|