pulumi-signalfx 7.2.0a1709367777__py3-none-any.whl → 7.6.0a1736835428__py3-none-any.whl
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.
- pulumi_signalfx/__init__.py +9 -0
- pulumi_signalfx/_inputs.py +1976 -339
- pulumi_signalfx/_utilities.py +41 -5
- pulumi_signalfx/alert_muting_rule.py +110 -86
- pulumi_signalfx/aws/_inputs.py +85 -16
- pulumi_signalfx/aws/external_integration.py +20 -275
- pulumi_signalfx/aws/integration.py +222 -367
- pulumi_signalfx/aws/outputs.py +21 -16
- pulumi_signalfx/aws/token_integration.py +46 -65
- pulumi_signalfx/azure/_inputs.py +41 -4
- pulumi_signalfx/azure/integration.py +144 -259
- pulumi_signalfx/azure/outputs.py +15 -4
- pulumi_signalfx/config/__init__.pyi +22 -0
- pulumi_signalfx/config/vars.py +28 -0
- pulumi_signalfx/dashboard.py +171 -186
- pulumi_signalfx/dashboard_group.py +131 -198
- pulumi_signalfx/data_link.py +76 -141
- pulumi_signalfx/detector.py +264 -369
- pulumi_signalfx/event_feed_chart.py +51 -82
- pulumi_signalfx/gcp/_inputs.py +51 -0
- pulumi_signalfx/gcp/integration.py +224 -192
- pulumi_signalfx/gcp/outputs.py +44 -0
- pulumi_signalfx/get_dimension_values.py +47 -24
- pulumi_signalfx/heatmap_chart.py +165 -228
- pulumi_signalfx/jira/integration.py +70 -119
- pulumi_signalfx/list_chart.py +219 -315
- pulumi_signalfx/log/_inputs.py +33 -2
- pulumi_signalfx/log/outputs.py +7 -2
- pulumi_signalfx/log/timeline.py +64 -99
- pulumi_signalfx/log/view.py +134 -173
- pulumi_signalfx/metric_ruleset.py +217 -70
- pulumi_signalfx/opsgenie/integration.py +41 -60
- pulumi_signalfx/org_token.py +97 -128
- pulumi_signalfx/outputs.py +661 -339
- pulumi_signalfx/pagerduty/get_integration.py +22 -21
- pulumi_signalfx/pagerduty/integration.py +34 -49
- pulumi_signalfx/provider.py +99 -0
- pulumi_signalfx/pulumi-plugin.json +2 -1
- pulumi_signalfx/servicenow/integration.py +52 -107
- pulumi_signalfx/single_value_chart.py +113 -178
- pulumi_signalfx/slack/integration.py +30 -47
- pulumi_signalfx/slo.py +99 -197
- pulumi_signalfx/slo_chart.py +197 -0
- pulumi_signalfx/table_chart.py +50 -75
- pulumi_signalfx/team.py +74 -109
- pulumi_signalfx/text_chart.py +64 -89
- pulumi_signalfx/time_chart.py +271 -400
- pulumi_signalfx/victorops/integration.py +30 -47
- pulumi_signalfx/webhook_integration.py +154 -75
- {pulumi_signalfx-7.2.0a1709367777.dist-info → pulumi_signalfx-7.6.0a1736835428.dist-info}/METADATA +7 -6
- pulumi_signalfx-7.6.0a1736835428.dist-info/RECORD +65 -0
- {pulumi_signalfx-7.2.0a1709367777.dist-info → pulumi_signalfx-7.6.0a1736835428.dist-info}/WHEEL +1 -1
- pulumi_signalfx-7.2.0a1709367777.dist-info/RECORD +0 -64
- {pulumi_signalfx-7.2.0a1709367777.dist-info → pulumi_signalfx-7.6.0a1736835428.dist-info}/top_level.txt +0 -0
pulumi_signalfx/list_chart.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -38,27 +43,26 @@ class ListChartArgs:
|
|
|
38
43
|
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input['ListChartVizOptionArgs']]]] = None):
|
|
39
44
|
"""
|
|
40
45
|
The set of arguments for constructing a ListChart resource.
|
|
41
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info
|
|
42
|
-
:param pulumi.Input[str] color_by:
|
|
43
|
-
:param pulumi.Input[Sequence[pulumi.Input['ListChartColorScaleArgs']]] color_scales: Single color range including both the color to display for that range and the borders of the range
|
|
44
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
45
|
-
:param pulumi.Input[bool] disable_sampling:
|
|
46
|
-
:param pulumi.Input[int] end_time: Seconds since epoch
|
|
47
|
-
:param pulumi.Input[bool] hide_missing_values:
|
|
48
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] legend_fields_to_hides: List of properties that
|
|
49
|
-
:param pulumi.Input[Sequence[pulumi.Input['ListChartLegendOptionsFieldArgs']]] legend_options_fields: List of property and enabled flags
|
|
50
|
-
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
51
|
-
:param pulumi.Input[int] max_precision: Maximum number of digits to display when rounding values up or down
|
|
52
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
53
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the list
|
|
54
|
-
:param pulumi.Input[str] secondary_visualization:
|
|
55
|
-
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Use
|
|
56
|
-
|
|
57
|
-
:param pulumi.Input[int]
|
|
58
|
-
:param pulumi.Input[
|
|
59
|
-
:param pulumi.Input[str]
|
|
60
|
-
:param pulumi.Input[
|
|
61
|
-
:param pulumi.Input[Sequence[pulumi.Input['ListChartVizOptionArgs']]] viz_options: Plot-level customization options, associated with a publish statement
|
|
46
|
+
:param pulumi.Input[str] program_text: 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).
|
|
47
|
+
:param pulumi.Input[str] color_by: Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
48
|
+
:param pulumi.Input[Sequence[pulumi.Input['ListChartColorScaleArgs']]] color_scales: 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).
|
|
49
|
+
:param pulumi.Input[str] description: Description of the chart.
|
|
50
|
+
:param pulumi.Input[bool] disable_sampling: If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
51
|
+
:param pulumi.Input[int] end_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
52
|
+
:param pulumi.Input[bool] hide_missing_values: Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
53
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] legend_fields_to_hides: 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 `legend_options_fields`.
|
|
54
|
+
:param pulumi.Input[Sequence[pulumi.Input['ListChartLegendOptionsFieldArgs']]] legend_options_fields: 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 `legend_fields_to_hide`.
|
|
55
|
+
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints.
|
|
56
|
+
:param pulumi.Input[int] max_precision: Maximum number of digits to display when rounding values up or down.
|
|
57
|
+
:param pulumi.Input[str] name: Name of the chart.
|
|
58
|
+
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the list.
|
|
59
|
+
:param pulumi.Input[str] secondary_visualization: The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
60
|
+
:param pulumi.Input[str] sort_by: 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 `"sf_metric"` for plot.
|
|
61
|
+
:param pulumi.Input[int] start_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
62
|
+
:param pulumi.Input[int] time_range: How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `start_time` and `end_time`.
|
|
63
|
+
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
64
|
+
:param pulumi.Input[str] unit_prefix: Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
65
|
+
:param pulumi.Input[Sequence[pulumi.Input['ListChartVizOptionArgs']]] viz_options: Plot-level customization options, associated with a publish statement.
|
|
62
66
|
"""
|
|
63
67
|
pulumi.set(__self__, "program_text", program_text)
|
|
64
68
|
if color_by is not None:
|
|
@@ -107,7 +111,7 @@ class ListChartArgs:
|
|
|
107
111
|
@pulumi.getter(name="programText")
|
|
108
112
|
def program_text(self) -> pulumi.Input[str]:
|
|
109
113
|
"""
|
|
110
|
-
Signalflow program text for the chart. More info
|
|
114
|
+
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).
|
|
111
115
|
"""
|
|
112
116
|
return pulumi.get(self, "program_text")
|
|
113
117
|
|
|
@@ -119,7 +123,7 @@ class ListChartArgs:
|
|
|
119
123
|
@pulumi.getter(name="colorBy")
|
|
120
124
|
def color_by(self) -> Optional[pulumi.Input[str]]:
|
|
121
125
|
"""
|
|
122
|
-
|
|
126
|
+
Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
123
127
|
"""
|
|
124
128
|
return pulumi.get(self, "color_by")
|
|
125
129
|
|
|
@@ -131,7 +135,7 @@ class ListChartArgs:
|
|
|
131
135
|
@pulumi.getter(name="colorScales")
|
|
132
136
|
def color_scales(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ListChartColorScaleArgs']]]]:
|
|
133
137
|
"""
|
|
134
|
-
Single color range including both the color to display for that range and the borders of the range
|
|
138
|
+
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).
|
|
135
139
|
"""
|
|
136
140
|
return pulumi.get(self, "color_scales")
|
|
137
141
|
|
|
@@ -143,7 +147,7 @@ class ListChartArgs:
|
|
|
143
147
|
@pulumi.getter
|
|
144
148
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
145
149
|
"""
|
|
146
|
-
Description of the chart
|
|
150
|
+
Description of the chart.
|
|
147
151
|
"""
|
|
148
152
|
return pulumi.get(self, "description")
|
|
149
153
|
|
|
@@ -155,7 +159,7 @@ class ListChartArgs:
|
|
|
155
159
|
@pulumi.getter(name="disableSampling")
|
|
156
160
|
def disable_sampling(self) -> Optional[pulumi.Input[bool]]:
|
|
157
161
|
"""
|
|
158
|
-
|
|
162
|
+
If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
159
163
|
"""
|
|
160
164
|
return pulumi.get(self, "disable_sampling")
|
|
161
165
|
|
|
@@ -167,7 +171,7 @@ class ListChartArgs:
|
|
|
167
171
|
@pulumi.getter(name="endTime")
|
|
168
172
|
def end_time(self) -> Optional[pulumi.Input[int]]:
|
|
169
173
|
"""
|
|
170
|
-
Seconds since epoch
|
|
174
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
171
175
|
"""
|
|
172
176
|
return pulumi.get(self, "end_time")
|
|
173
177
|
|
|
@@ -179,7 +183,7 @@ class ListChartArgs:
|
|
|
179
183
|
@pulumi.getter(name="hideMissingValues")
|
|
180
184
|
def hide_missing_values(self) -> Optional[pulumi.Input[bool]]:
|
|
181
185
|
"""
|
|
182
|
-
|
|
186
|
+
Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
183
187
|
"""
|
|
184
188
|
return pulumi.get(self, "hide_missing_values")
|
|
185
189
|
|
|
@@ -189,13 +193,11 @@ class ListChartArgs:
|
|
|
189
193
|
|
|
190
194
|
@property
|
|
191
195
|
@pulumi.getter(name="legendFieldsToHides")
|
|
196
|
+
@_utilities.deprecated("""Please use legend_options_fields""")
|
|
192
197
|
def legend_fields_to_hides(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
193
198
|
"""
|
|
194
|
-
List of properties that
|
|
199
|
+
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 `legend_options_fields`.
|
|
195
200
|
"""
|
|
196
|
-
warnings.warn("""Please use legend_options_fields""", DeprecationWarning)
|
|
197
|
-
pulumi.log.warn("""legend_fields_to_hides is deprecated: Please use legend_options_fields""")
|
|
198
|
-
|
|
199
201
|
return pulumi.get(self, "legend_fields_to_hides")
|
|
200
202
|
|
|
201
203
|
@legend_fields_to_hides.setter
|
|
@@ -206,7 +208,7 @@ class ListChartArgs:
|
|
|
206
208
|
@pulumi.getter(name="legendOptionsFields")
|
|
207
209
|
def legend_options_fields(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ListChartLegendOptionsFieldArgs']]]]:
|
|
208
210
|
"""
|
|
209
|
-
List of property and enabled flags
|
|
211
|
+
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 `legend_fields_to_hide`.
|
|
210
212
|
"""
|
|
211
213
|
return pulumi.get(self, "legend_options_fields")
|
|
212
214
|
|
|
@@ -218,7 +220,7 @@ class ListChartArgs:
|
|
|
218
220
|
@pulumi.getter(name="maxDelay")
|
|
219
221
|
def max_delay(self) -> Optional[pulumi.Input[int]]:
|
|
220
222
|
"""
|
|
221
|
-
How long (in seconds) to wait for late datapoints
|
|
223
|
+
How long (in seconds) to wait for late datapoints.
|
|
222
224
|
"""
|
|
223
225
|
return pulumi.get(self, "max_delay")
|
|
224
226
|
|
|
@@ -230,7 +232,7 @@ class ListChartArgs:
|
|
|
230
232
|
@pulumi.getter(name="maxPrecision")
|
|
231
233
|
def max_precision(self) -> Optional[pulumi.Input[int]]:
|
|
232
234
|
"""
|
|
233
|
-
Maximum number of digits to display when rounding values up or down
|
|
235
|
+
Maximum number of digits to display when rounding values up or down.
|
|
234
236
|
"""
|
|
235
237
|
return pulumi.get(self, "max_precision")
|
|
236
238
|
|
|
@@ -242,7 +244,7 @@ class ListChartArgs:
|
|
|
242
244
|
@pulumi.getter
|
|
243
245
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
244
246
|
"""
|
|
245
|
-
Name of the chart
|
|
247
|
+
Name of the chart.
|
|
246
248
|
"""
|
|
247
249
|
return pulumi.get(self, "name")
|
|
248
250
|
|
|
@@ -254,7 +256,7 @@ class ListChartArgs:
|
|
|
254
256
|
@pulumi.getter(name="refreshInterval")
|
|
255
257
|
def refresh_interval(self) -> Optional[pulumi.Input[int]]:
|
|
256
258
|
"""
|
|
257
|
-
How often (in seconds) to refresh the values of the list
|
|
259
|
+
How often (in seconds) to refresh the values of the list.
|
|
258
260
|
"""
|
|
259
261
|
return pulumi.get(self, "refresh_interval")
|
|
260
262
|
|
|
@@ -266,7 +268,7 @@ class ListChartArgs:
|
|
|
266
268
|
@pulumi.getter(name="secondaryVisualization")
|
|
267
269
|
def secondary_visualization(self) -> Optional[pulumi.Input[str]]:
|
|
268
270
|
"""
|
|
269
|
-
|
|
271
|
+
The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
270
272
|
"""
|
|
271
273
|
return pulumi.get(self, "secondary_visualization")
|
|
272
274
|
|
|
@@ -278,8 +280,7 @@ class ListChartArgs:
|
|
|
278
280
|
@pulumi.getter(name="sortBy")
|
|
279
281
|
def sort_by(self) -> Optional[pulumi.Input[str]]:
|
|
280
282
|
"""
|
|
281
|
-
The property to use when sorting the elements. Use
|
|
282
|
-
ascending or - for descending (e.g. -foo)
|
|
283
|
+
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 `"sf_metric"` for plot.
|
|
283
284
|
"""
|
|
284
285
|
return pulumi.get(self, "sort_by")
|
|
285
286
|
|
|
@@ -291,7 +292,7 @@ class ListChartArgs:
|
|
|
291
292
|
@pulumi.getter(name="startTime")
|
|
292
293
|
def start_time(self) -> Optional[pulumi.Input[int]]:
|
|
293
294
|
"""
|
|
294
|
-
Seconds since epoch
|
|
295
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
295
296
|
"""
|
|
296
297
|
return pulumi.get(self, "start_time")
|
|
297
298
|
|
|
@@ -303,7 +304,7 @@ class ListChartArgs:
|
|
|
303
304
|
@pulumi.getter(name="timeRange")
|
|
304
305
|
def time_range(self) -> Optional[pulumi.Input[int]]:
|
|
305
306
|
"""
|
|
306
|
-
|
|
307
|
+
How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `start_time` and `end_time`.
|
|
307
308
|
"""
|
|
308
309
|
return pulumi.get(self, "time_range")
|
|
309
310
|
|
|
@@ -315,7 +316,7 @@ class ListChartArgs:
|
|
|
315
316
|
@pulumi.getter
|
|
316
317
|
def timezone(self) -> Optional[pulumi.Input[str]]:
|
|
317
318
|
"""
|
|
318
|
-
The property value is a string that denotes the geographic region associated with the time zone, (
|
|
319
|
+
The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
319
320
|
"""
|
|
320
321
|
return pulumi.get(self, "timezone")
|
|
321
322
|
|
|
@@ -327,7 +328,7 @@ class ListChartArgs:
|
|
|
327
328
|
@pulumi.getter(name="unitPrefix")
|
|
328
329
|
def unit_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
329
330
|
"""
|
|
330
|
-
|
|
331
|
+
Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
331
332
|
"""
|
|
332
333
|
return pulumi.get(self, "unit_prefix")
|
|
333
334
|
|
|
@@ -339,7 +340,7 @@ class ListChartArgs:
|
|
|
339
340
|
@pulumi.getter(name="vizOptions")
|
|
340
341
|
def viz_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ListChartVizOptionArgs']]]]:
|
|
341
342
|
"""
|
|
342
|
-
Plot-level customization options, associated with a publish statement
|
|
343
|
+
Plot-level customization options, associated with a publish statement.
|
|
343
344
|
"""
|
|
344
345
|
return pulumi.get(self, "viz_options")
|
|
345
346
|
|
|
@@ -374,28 +375,27 @@ class _ListChartState:
|
|
|
374
375
|
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input['ListChartVizOptionArgs']]]] = None):
|
|
375
376
|
"""
|
|
376
377
|
Input properties used for looking up and filtering ListChart resources.
|
|
377
|
-
:param pulumi.Input[str] color_by:
|
|
378
|
-
:param pulumi.Input[Sequence[pulumi.Input['ListChartColorScaleArgs']]] color_scales: Single color range including both the color to display for that range and the borders of the range
|
|
379
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
380
|
-
:param pulumi.Input[bool] disable_sampling:
|
|
381
|
-
:param pulumi.Input[int] end_time: Seconds since epoch
|
|
382
|
-
:param pulumi.Input[bool] hide_missing_values:
|
|
383
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] legend_fields_to_hides: List of properties that
|
|
384
|
-
:param pulumi.Input[Sequence[pulumi.Input['ListChartLegendOptionsFieldArgs']]] legend_options_fields: List of property and enabled flags
|
|
385
|
-
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
386
|
-
:param pulumi.Input[int] max_precision: Maximum number of digits to display when rounding values up or down
|
|
387
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
388
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info
|
|
389
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the list
|
|
390
|
-
:param pulumi.Input[str] secondary_visualization:
|
|
391
|
-
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Use
|
|
392
|
-
|
|
393
|
-
:param pulumi.Input[int]
|
|
394
|
-
:param pulumi.Input[
|
|
395
|
-
:param pulumi.Input[str]
|
|
396
|
-
:param pulumi.Input[str]
|
|
397
|
-
:param pulumi.Input[
|
|
398
|
-
:param pulumi.Input[Sequence[pulumi.Input['ListChartVizOptionArgs']]] viz_options: Plot-level customization options, associated with a publish statement
|
|
378
|
+
:param pulumi.Input[str] color_by: Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
379
|
+
:param pulumi.Input[Sequence[pulumi.Input['ListChartColorScaleArgs']]] color_scales: 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).
|
|
380
|
+
:param pulumi.Input[str] description: Description of the chart.
|
|
381
|
+
:param pulumi.Input[bool] disable_sampling: If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
382
|
+
:param pulumi.Input[int] end_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
383
|
+
:param pulumi.Input[bool] hide_missing_values: Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
384
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] legend_fields_to_hides: 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 `legend_options_fields`.
|
|
385
|
+
:param pulumi.Input[Sequence[pulumi.Input['ListChartLegendOptionsFieldArgs']]] legend_options_fields: 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 `legend_fields_to_hide`.
|
|
386
|
+
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints.
|
|
387
|
+
:param pulumi.Input[int] max_precision: Maximum number of digits to display when rounding values up or down.
|
|
388
|
+
:param pulumi.Input[str] name: Name of the chart.
|
|
389
|
+
:param pulumi.Input[str] program_text: 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).
|
|
390
|
+
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the list.
|
|
391
|
+
:param pulumi.Input[str] secondary_visualization: The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
392
|
+
:param pulumi.Input[str] sort_by: 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 `"sf_metric"` for plot.
|
|
393
|
+
:param pulumi.Input[int] start_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
394
|
+
:param pulumi.Input[int] time_range: How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `start_time` and `end_time`.
|
|
395
|
+
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
396
|
+
:param pulumi.Input[str] unit_prefix: Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
397
|
+
:param pulumi.Input[str] url: The URL of the chart.
|
|
398
|
+
:param pulumi.Input[Sequence[pulumi.Input['ListChartVizOptionArgs']]] viz_options: Plot-level customization options, associated with a publish statement.
|
|
399
399
|
"""
|
|
400
400
|
if color_by is not None:
|
|
401
401
|
pulumi.set(__self__, "color_by", color_by)
|
|
@@ -447,7 +447,7 @@ class _ListChartState:
|
|
|
447
447
|
@pulumi.getter(name="colorBy")
|
|
448
448
|
def color_by(self) -> Optional[pulumi.Input[str]]:
|
|
449
449
|
"""
|
|
450
|
-
|
|
450
|
+
Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
451
451
|
"""
|
|
452
452
|
return pulumi.get(self, "color_by")
|
|
453
453
|
|
|
@@ -459,7 +459,7 @@ class _ListChartState:
|
|
|
459
459
|
@pulumi.getter(name="colorScales")
|
|
460
460
|
def color_scales(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ListChartColorScaleArgs']]]]:
|
|
461
461
|
"""
|
|
462
|
-
Single color range including both the color to display for that range and the borders of the range
|
|
462
|
+
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).
|
|
463
463
|
"""
|
|
464
464
|
return pulumi.get(self, "color_scales")
|
|
465
465
|
|
|
@@ -471,7 +471,7 @@ class _ListChartState:
|
|
|
471
471
|
@pulumi.getter
|
|
472
472
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
473
473
|
"""
|
|
474
|
-
Description of the chart
|
|
474
|
+
Description of the chart.
|
|
475
475
|
"""
|
|
476
476
|
return pulumi.get(self, "description")
|
|
477
477
|
|
|
@@ -483,7 +483,7 @@ class _ListChartState:
|
|
|
483
483
|
@pulumi.getter(name="disableSampling")
|
|
484
484
|
def disable_sampling(self) -> Optional[pulumi.Input[bool]]:
|
|
485
485
|
"""
|
|
486
|
-
|
|
486
|
+
If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
487
487
|
"""
|
|
488
488
|
return pulumi.get(self, "disable_sampling")
|
|
489
489
|
|
|
@@ -495,7 +495,7 @@ class _ListChartState:
|
|
|
495
495
|
@pulumi.getter(name="endTime")
|
|
496
496
|
def end_time(self) -> Optional[pulumi.Input[int]]:
|
|
497
497
|
"""
|
|
498
|
-
Seconds since epoch
|
|
498
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
499
499
|
"""
|
|
500
500
|
return pulumi.get(self, "end_time")
|
|
501
501
|
|
|
@@ -507,7 +507,7 @@ class _ListChartState:
|
|
|
507
507
|
@pulumi.getter(name="hideMissingValues")
|
|
508
508
|
def hide_missing_values(self) -> Optional[pulumi.Input[bool]]:
|
|
509
509
|
"""
|
|
510
|
-
|
|
510
|
+
Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
511
511
|
"""
|
|
512
512
|
return pulumi.get(self, "hide_missing_values")
|
|
513
513
|
|
|
@@ -517,13 +517,11 @@ class _ListChartState:
|
|
|
517
517
|
|
|
518
518
|
@property
|
|
519
519
|
@pulumi.getter(name="legendFieldsToHides")
|
|
520
|
+
@_utilities.deprecated("""Please use legend_options_fields""")
|
|
520
521
|
def legend_fields_to_hides(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
521
522
|
"""
|
|
522
|
-
List of properties that
|
|
523
|
+
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 `legend_options_fields`.
|
|
523
524
|
"""
|
|
524
|
-
warnings.warn("""Please use legend_options_fields""", DeprecationWarning)
|
|
525
|
-
pulumi.log.warn("""legend_fields_to_hides is deprecated: Please use legend_options_fields""")
|
|
526
|
-
|
|
527
525
|
return pulumi.get(self, "legend_fields_to_hides")
|
|
528
526
|
|
|
529
527
|
@legend_fields_to_hides.setter
|
|
@@ -534,7 +532,7 @@ class _ListChartState:
|
|
|
534
532
|
@pulumi.getter(name="legendOptionsFields")
|
|
535
533
|
def legend_options_fields(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ListChartLegendOptionsFieldArgs']]]]:
|
|
536
534
|
"""
|
|
537
|
-
List of property and enabled flags
|
|
535
|
+
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 `legend_fields_to_hide`.
|
|
538
536
|
"""
|
|
539
537
|
return pulumi.get(self, "legend_options_fields")
|
|
540
538
|
|
|
@@ -546,7 +544,7 @@ class _ListChartState:
|
|
|
546
544
|
@pulumi.getter(name="maxDelay")
|
|
547
545
|
def max_delay(self) -> Optional[pulumi.Input[int]]:
|
|
548
546
|
"""
|
|
549
|
-
How long (in seconds) to wait for late datapoints
|
|
547
|
+
How long (in seconds) to wait for late datapoints.
|
|
550
548
|
"""
|
|
551
549
|
return pulumi.get(self, "max_delay")
|
|
552
550
|
|
|
@@ -558,7 +556,7 @@ class _ListChartState:
|
|
|
558
556
|
@pulumi.getter(name="maxPrecision")
|
|
559
557
|
def max_precision(self) -> Optional[pulumi.Input[int]]:
|
|
560
558
|
"""
|
|
561
|
-
Maximum number of digits to display when rounding values up or down
|
|
559
|
+
Maximum number of digits to display when rounding values up or down.
|
|
562
560
|
"""
|
|
563
561
|
return pulumi.get(self, "max_precision")
|
|
564
562
|
|
|
@@ -570,7 +568,7 @@ class _ListChartState:
|
|
|
570
568
|
@pulumi.getter
|
|
571
569
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
572
570
|
"""
|
|
573
|
-
Name of the chart
|
|
571
|
+
Name of the chart.
|
|
574
572
|
"""
|
|
575
573
|
return pulumi.get(self, "name")
|
|
576
574
|
|
|
@@ -582,7 +580,7 @@ class _ListChartState:
|
|
|
582
580
|
@pulumi.getter(name="programText")
|
|
583
581
|
def program_text(self) -> Optional[pulumi.Input[str]]:
|
|
584
582
|
"""
|
|
585
|
-
Signalflow program text for the chart. More info
|
|
583
|
+
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).
|
|
586
584
|
"""
|
|
587
585
|
return pulumi.get(self, "program_text")
|
|
588
586
|
|
|
@@ -594,7 +592,7 @@ class _ListChartState:
|
|
|
594
592
|
@pulumi.getter(name="refreshInterval")
|
|
595
593
|
def refresh_interval(self) -> Optional[pulumi.Input[int]]:
|
|
596
594
|
"""
|
|
597
|
-
How often (in seconds) to refresh the values of the list
|
|
595
|
+
How often (in seconds) to refresh the values of the list.
|
|
598
596
|
"""
|
|
599
597
|
return pulumi.get(self, "refresh_interval")
|
|
600
598
|
|
|
@@ -606,7 +604,7 @@ class _ListChartState:
|
|
|
606
604
|
@pulumi.getter(name="secondaryVisualization")
|
|
607
605
|
def secondary_visualization(self) -> Optional[pulumi.Input[str]]:
|
|
608
606
|
"""
|
|
609
|
-
|
|
607
|
+
The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
610
608
|
"""
|
|
611
609
|
return pulumi.get(self, "secondary_visualization")
|
|
612
610
|
|
|
@@ -618,8 +616,7 @@ class _ListChartState:
|
|
|
618
616
|
@pulumi.getter(name="sortBy")
|
|
619
617
|
def sort_by(self) -> Optional[pulumi.Input[str]]:
|
|
620
618
|
"""
|
|
621
|
-
The property to use when sorting the elements. Use
|
|
622
|
-
ascending or - for descending (e.g. -foo)
|
|
619
|
+
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 `"sf_metric"` for plot.
|
|
623
620
|
"""
|
|
624
621
|
return pulumi.get(self, "sort_by")
|
|
625
622
|
|
|
@@ -631,7 +628,7 @@ class _ListChartState:
|
|
|
631
628
|
@pulumi.getter(name="startTime")
|
|
632
629
|
def start_time(self) -> Optional[pulumi.Input[int]]:
|
|
633
630
|
"""
|
|
634
|
-
Seconds since epoch
|
|
631
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
635
632
|
"""
|
|
636
633
|
return pulumi.get(self, "start_time")
|
|
637
634
|
|
|
@@ -643,7 +640,7 @@ class _ListChartState:
|
|
|
643
640
|
@pulumi.getter(name="timeRange")
|
|
644
641
|
def time_range(self) -> Optional[pulumi.Input[int]]:
|
|
645
642
|
"""
|
|
646
|
-
|
|
643
|
+
How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `start_time` and `end_time`.
|
|
647
644
|
"""
|
|
648
645
|
return pulumi.get(self, "time_range")
|
|
649
646
|
|
|
@@ -655,7 +652,7 @@ class _ListChartState:
|
|
|
655
652
|
@pulumi.getter
|
|
656
653
|
def timezone(self) -> Optional[pulumi.Input[str]]:
|
|
657
654
|
"""
|
|
658
|
-
The property value is a string that denotes the geographic region associated with the time zone, (
|
|
655
|
+
The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
659
656
|
"""
|
|
660
657
|
return pulumi.get(self, "timezone")
|
|
661
658
|
|
|
@@ -667,7 +664,7 @@ class _ListChartState:
|
|
|
667
664
|
@pulumi.getter(name="unitPrefix")
|
|
668
665
|
def unit_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
669
666
|
"""
|
|
670
|
-
|
|
667
|
+
Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
671
668
|
"""
|
|
672
669
|
return pulumi.get(self, "unit_prefix")
|
|
673
670
|
|
|
@@ -679,7 +676,7 @@ class _ListChartState:
|
|
|
679
676
|
@pulumi.getter
|
|
680
677
|
def url(self) -> Optional[pulumi.Input[str]]:
|
|
681
678
|
"""
|
|
682
|
-
URL of the chart
|
|
679
|
+
The URL of the chart.
|
|
683
680
|
"""
|
|
684
681
|
return pulumi.get(self, "url")
|
|
685
682
|
|
|
@@ -691,7 +688,7 @@ class _ListChartState:
|
|
|
691
688
|
@pulumi.getter(name="vizOptions")
|
|
692
689
|
def viz_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ListChartVizOptionArgs']]]]:
|
|
693
690
|
"""
|
|
694
|
-
Plot-level customization options, associated with a publish statement
|
|
691
|
+
Plot-level customization options, associated with a publish statement.
|
|
695
692
|
"""
|
|
696
693
|
return pulumi.get(self, "viz_options")
|
|
697
694
|
|
|
@@ -706,13 +703,13 @@ class ListChart(pulumi.CustomResource):
|
|
|
706
703
|
resource_name: str,
|
|
707
704
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
708
705
|
color_by: Optional[pulumi.Input[str]] = None,
|
|
709
|
-
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
706
|
+
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartColorScaleArgs', 'ListChartColorScaleArgsDict']]]]] = None,
|
|
710
707
|
description: Optional[pulumi.Input[str]] = None,
|
|
711
708
|
disable_sampling: Optional[pulumi.Input[bool]] = None,
|
|
712
709
|
end_time: Optional[pulumi.Input[int]] = None,
|
|
713
710
|
hide_missing_values: Optional[pulumi.Input[bool]] = None,
|
|
714
711
|
legend_fields_to_hides: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
715
|
-
legend_options_fields: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
712
|
+
legend_options_fields: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartLegendOptionsFieldArgs', 'ListChartLegendOptionsFieldArgsDict']]]]] = None,
|
|
716
713
|
max_delay: Optional[pulumi.Input[int]] = None,
|
|
717
714
|
max_precision: Optional[pulumi.Input[int]] = None,
|
|
718
715
|
name: Optional[pulumi.Input[str]] = None,
|
|
@@ -724,7 +721,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
724
721
|
time_range: Optional[pulumi.Input[int]] = None,
|
|
725
722
|
timezone: Optional[pulumi.Input[str]] = None,
|
|
726
723
|
unit_prefix: Optional[pulumi.Input[str]] = None,
|
|
727
|
-
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
724
|
+
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartVizOptionArgs', 'ListChartVizOptionArgsDict']]]]] = None,
|
|
728
725
|
__props__=None):
|
|
729
726
|
"""
|
|
730
727
|
This chart type displays current data values in a list format.
|
|
@@ -738,110 +735,65 @@ class ListChart(pulumi.CustomResource):
|
|
|
738
735
|
import pulumi_signalfx as signalfx
|
|
739
736
|
|
|
740
737
|
mylistchart0 = signalfx.ListChart("mylistchart0",
|
|
741
|
-
|
|
738
|
+
name="CPU Total Idle - List",
|
|
739
|
+
program_text=\"\"\"myfilters = filter("cluster_name", "prod") and filter("role", "search")
|
|
740
|
+
data("cpu.total.idle", filter=myfilters).publish()
|
|
741
|
+
\"\"\",
|
|
742
742
|
description="Very cool List Chart",
|
|
743
|
+
color_by="Metric",
|
|
744
|
+
max_delay=2,
|
|
745
|
+
timezone="Europe/Paris",
|
|
743
746
|
disable_sampling=True,
|
|
747
|
+
refresh_interval=1,
|
|
744
748
|
hide_missing_values=True,
|
|
745
749
|
legend_options_fields=[
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
750
|
+
{
|
|
751
|
+
"property": "collector",
|
|
752
|
+
"enabled": False,
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"property": "cluster_name",
|
|
756
|
+
"enabled": True,
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"property": "role",
|
|
760
|
+
"enabled": True,
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"property": "collector",
|
|
764
|
+
"enabled": False,
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"property": "host",
|
|
768
|
+
"enabled": False,
|
|
769
|
+
},
|
|
766
770
|
],
|
|
767
|
-
max_delay=2,
|
|
768
771
|
max_precision=2,
|
|
769
|
-
|
|
770
|
-
data("cpu.total.idle", filter=myfilters).publish()
|
|
771
|
-
|
|
772
|
-
\"\"\",
|
|
773
|
-
refresh_interval=1,
|
|
774
|
-
sort_by="-value",
|
|
775
|
-
timezone="Europe/Paris")
|
|
772
|
+
sort_by="-value")
|
|
776
773
|
```
|
|
777
774
|
|
|
778
|
-
## Arguments
|
|
779
|
-
|
|
780
|
-
The following arguments are supported in the resource block:
|
|
781
|
-
|
|
782
|
-
* `name` - (Required) Name of the chart.
|
|
783
|
-
* `program_text` - (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).
|
|
784
|
-
* `description` - (Optional) Description of the chart.
|
|
785
|
-
* `unit_prefix` - (Optional) Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
786
|
-
* `color_by` - (Optional) Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
787
|
-
* `max_delay` - (Optional) How long (in seconds) to wait for late datapoints.
|
|
788
|
-
* `timezone` - (Optional) The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
789
|
-
* `disable_sampling` - (Optional) If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
790
|
-
* `refresh_interval` - (Optional) How often (in seconds) to refresh the values of the list.
|
|
791
|
-
* `hide_missing_values` - (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.
|
|
792
|
-
* `viz_options` - (Optional) Plot-level customization options, associated with a publish statement.
|
|
793
|
-
* `label` - (Required) Label used in the publish statement that displays the plot (metric time series data) you want to customize.
|
|
794
|
-
* `display_name` - (Optional) Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
|
|
795
|
-
* `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.
|
|
796
|
-
* `value_unit` - (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`.
|
|
797
|
-
* `value_prefix`, `value_suffix` - (Optional) Arbitrary prefix/suffix to display with the value of this plot.
|
|
798
|
-
* `legend_fields_to_hide` - (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 `legend_options_fields`.
|
|
799
|
-
* `legend_options_fields` - (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 `legend_fields_to_hide`.
|
|
800
|
-
* `property` The name of the property to display. Note the special values of `sf_metric` (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.
|
|
801
|
-
* `enabled` True or False depending on if you want the property to be shown or hidden.
|
|
802
|
-
* `max_precision` - (Optional) Maximum number of digits to display when rounding values up or down.
|
|
803
|
-
* `secondary_visualization` - (Optional) The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
804
|
-
* `color_scale` - (Optional. `color_by` 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).
|
|
805
|
-
* `gt` - (Optional) Indicates the lower threshold non-inclusive value for this range.
|
|
806
|
-
* `gte` - (Optional) Indicates the lower threshold inclusive value for this range.
|
|
807
|
-
* `lt` - (Optional) Indicates the upper threshold non-inculsive value for this range.
|
|
808
|
-
* `lte` - (Optional) Indicates the upper threshold inclusive value for this range.
|
|
809
|
-
* `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.
|
|
810
|
-
* `sort_by` - (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 `"sf_metric"` for plot.
|
|
811
|
-
* `time_range` - (Optional) How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `start_time` and `end_time`.
|
|
812
|
-
* `start_time` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
813
|
-
* `end_time` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
814
|
-
|
|
815
|
-
## Attributes
|
|
816
|
-
|
|
817
|
-
In a addition to all arguments above, the following attributes are exported:
|
|
818
|
-
|
|
819
|
-
* `id` - The ID of the chart.
|
|
820
|
-
* `url` - The URL of the chart.
|
|
821
|
-
|
|
822
775
|
:param str resource_name: The name of the resource.
|
|
823
776
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
824
|
-
:param pulumi.Input[str] color_by:
|
|
825
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
826
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
827
|
-
:param pulumi.Input[bool] disable_sampling:
|
|
828
|
-
:param pulumi.Input[int] end_time: Seconds since epoch
|
|
829
|
-
:param pulumi.Input[bool] hide_missing_values:
|
|
830
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] legend_fields_to_hides: List of properties that
|
|
831
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
832
|
-
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
833
|
-
:param pulumi.Input[int] max_precision: Maximum number of digits to display when rounding values up or down
|
|
834
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
835
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info
|
|
836
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the list
|
|
837
|
-
:param pulumi.Input[str] secondary_visualization:
|
|
838
|
-
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Use
|
|
839
|
-
|
|
840
|
-
:param pulumi.Input[int]
|
|
841
|
-
:param pulumi.Input[
|
|
842
|
-
:param pulumi.Input[str]
|
|
843
|
-
:param pulumi.Input[
|
|
844
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ListChartVizOptionArgs']]]] viz_options: Plot-level customization options, associated with a publish statement
|
|
777
|
+
:param pulumi.Input[str] color_by: Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
778
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ListChartColorScaleArgs', 'ListChartColorScaleArgsDict']]]] color_scales: 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).
|
|
779
|
+
:param pulumi.Input[str] description: Description of the chart.
|
|
780
|
+
:param pulumi.Input[bool] disable_sampling: If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
781
|
+
:param pulumi.Input[int] end_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
782
|
+
:param pulumi.Input[bool] hide_missing_values: Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
783
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] legend_fields_to_hides: 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 `legend_options_fields`.
|
|
784
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ListChartLegendOptionsFieldArgs', 'ListChartLegendOptionsFieldArgsDict']]]] legend_options_fields: 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 `legend_fields_to_hide`.
|
|
785
|
+
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints.
|
|
786
|
+
:param pulumi.Input[int] max_precision: Maximum number of digits to display when rounding values up or down.
|
|
787
|
+
:param pulumi.Input[str] name: Name of the chart.
|
|
788
|
+
:param pulumi.Input[str] program_text: 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).
|
|
789
|
+
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the list.
|
|
790
|
+
:param pulumi.Input[str] secondary_visualization: The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
791
|
+
:param pulumi.Input[str] sort_by: 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 `"sf_metric"` for plot.
|
|
792
|
+
:param pulumi.Input[int] start_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
793
|
+
:param pulumi.Input[int] time_range: How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `start_time` and `end_time`.
|
|
794
|
+
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
795
|
+
:param pulumi.Input[str] unit_prefix: Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
796
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ListChartVizOptionArgs', 'ListChartVizOptionArgsDict']]]] viz_options: Plot-level customization options, associated with a publish statement.
|
|
845
797
|
"""
|
|
846
798
|
...
|
|
847
799
|
@overload
|
|
@@ -861,87 +813,43 @@ class ListChart(pulumi.CustomResource):
|
|
|
861
813
|
import pulumi_signalfx as signalfx
|
|
862
814
|
|
|
863
815
|
mylistchart0 = signalfx.ListChart("mylistchart0",
|
|
864
|
-
|
|
816
|
+
name="CPU Total Idle - List",
|
|
817
|
+
program_text=\"\"\"myfilters = filter("cluster_name", "prod") and filter("role", "search")
|
|
818
|
+
data("cpu.total.idle", filter=myfilters).publish()
|
|
819
|
+
\"\"\",
|
|
865
820
|
description="Very cool List Chart",
|
|
821
|
+
color_by="Metric",
|
|
822
|
+
max_delay=2,
|
|
823
|
+
timezone="Europe/Paris",
|
|
866
824
|
disable_sampling=True,
|
|
825
|
+
refresh_interval=1,
|
|
867
826
|
hide_missing_values=True,
|
|
868
827
|
legend_options_fields=[
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
828
|
+
{
|
|
829
|
+
"property": "collector",
|
|
830
|
+
"enabled": False,
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"property": "cluster_name",
|
|
834
|
+
"enabled": True,
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"property": "role",
|
|
838
|
+
"enabled": True,
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"property": "collector",
|
|
842
|
+
"enabled": False,
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"property": "host",
|
|
846
|
+
"enabled": False,
|
|
847
|
+
},
|
|
889
848
|
],
|
|
890
|
-
max_delay=2,
|
|
891
849
|
max_precision=2,
|
|
892
|
-
|
|
893
|
-
data("cpu.total.idle", filter=myfilters).publish()
|
|
894
|
-
|
|
895
|
-
\"\"\",
|
|
896
|
-
refresh_interval=1,
|
|
897
|
-
sort_by="-value",
|
|
898
|
-
timezone="Europe/Paris")
|
|
850
|
+
sort_by="-value")
|
|
899
851
|
```
|
|
900
852
|
|
|
901
|
-
## Arguments
|
|
902
|
-
|
|
903
|
-
The following arguments are supported in the resource block:
|
|
904
|
-
|
|
905
|
-
* `name` - (Required) Name of the chart.
|
|
906
|
-
* `program_text` - (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).
|
|
907
|
-
* `description` - (Optional) Description of the chart.
|
|
908
|
-
* `unit_prefix` - (Optional) Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
909
|
-
* `color_by` - (Optional) Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
910
|
-
* `max_delay` - (Optional) How long (in seconds) to wait for late datapoints.
|
|
911
|
-
* `timezone` - (Optional) The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
912
|
-
* `disable_sampling` - (Optional) If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
913
|
-
* `refresh_interval` - (Optional) How often (in seconds) to refresh the values of the list.
|
|
914
|
-
* `hide_missing_values` - (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.
|
|
915
|
-
* `viz_options` - (Optional) Plot-level customization options, associated with a publish statement.
|
|
916
|
-
* `label` - (Required) Label used in the publish statement that displays the plot (metric time series data) you want to customize.
|
|
917
|
-
* `display_name` - (Optional) Specifies an alternate value for the Plot Name column of the Data Table associated with the chart.
|
|
918
|
-
* `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.
|
|
919
|
-
* `value_unit` - (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`.
|
|
920
|
-
* `value_prefix`, `value_suffix` - (Optional) Arbitrary prefix/suffix to display with the value of this plot.
|
|
921
|
-
* `legend_fields_to_hide` - (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 `legend_options_fields`.
|
|
922
|
-
* `legend_options_fields` - (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 `legend_fields_to_hide`.
|
|
923
|
-
* `property` The name of the property to display. Note the special values of `sf_metric` (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.
|
|
924
|
-
* `enabled` True or False depending on if you want the property to be shown or hidden.
|
|
925
|
-
* `max_precision` - (Optional) Maximum number of digits to display when rounding values up or down.
|
|
926
|
-
* `secondary_visualization` - (Optional) The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
927
|
-
* `color_scale` - (Optional. `color_by` 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).
|
|
928
|
-
* `gt` - (Optional) Indicates the lower threshold non-inclusive value for this range.
|
|
929
|
-
* `gte` - (Optional) Indicates the lower threshold inclusive value for this range.
|
|
930
|
-
* `lt` - (Optional) Indicates the upper threshold non-inculsive value for this range.
|
|
931
|
-
* `lte` - (Optional) Indicates the upper threshold inclusive value for this range.
|
|
932
|
-
* `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.
|
|
933
|
-
* `sort_by` - (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 `"sf_metric"` for plot.
|
|
934
|
-
* `time_range` - (Optional) How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `start_time` and `end_time`.
|
|
935
|
-
* `start_time` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
936
|
-
* `end_time` - (Optional) Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
937
|
-
|
|
938
|
-
## Attributes
|
|
939
|
-
|
|
940
|
-
In a addition to all arguments above, the following attributes are exported:
|
|
941
|
-
|
|
942
|
-
* `id` - The ID of the chart.
|
|
943
|
-
* `url` - The URL of the chart.
|
|
944
|
-
|
|
945
853
|
:param str resource_name: The name of the resource.
|
|
946
854
|
:param ListChartArgs args: The arguments to use to populate this resource's properties.
|
|
947
855
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -958,13 +866,13 @@ class ListChart(pulumi.CustomResource):
|
|
|
958
866
|
resource_name: str,
|
|
959
867
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
960
868
|
color_by: Optional[pulumi.Input[str]] = None,
|
|
961
|
-
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
869
|
+
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartColorScaleArgs', 'ListChartColorScaleArgsDict']]]]] = None,
|
|
962
870
|
description: Optional[pulumi.Input[str]] = None,
|
|
963
871
|
disable_sampling: Optional[pulumi.Input[bool]] = None,
|
|
964
872
|
end_time: Optional[pulumi.Input[int]] = None,
|
|
965
873
|
hide_missing_values: Optional[pulumi.Input[bool]] = None,
|
|
966
874
|
legend_fields_to_hides: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
967
|
-
legend_options_fields: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
875
|
+
legend_options_fields: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartLegendOptionsFieldArgs', 'ListChartLegendOptionsFieldArgsDict']]]]] = None,
|
|
968
876
|
max_delay: Optional[pulumi.Input[int]] = None,
|
|
969
877
|
max_precision: Optional[pulumi.Input[int]] = None,
|
|
970
878
|
name: Optional[pulumi.Input[str]] = None,
|
|
@@ -976,7 +884,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
976
884
|
time_range: Optional[pulumi.Input[int]] = None,
|
|
977
885
|
timezone: Optional[pulumi.Input[str]] = None,
|
|
978
886
|
unit_prefix: Optional[pulumi.Input[str]] = None,
|
|
979
|
-
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
887
|
+
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartVizOptionArgs', 'ListChartVizOptionArgsDict']]]]] = None,
|
|
980
888
|
__props__=None):
|
|
981
889
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
982
890
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -1020,13 +928,13 @@ class ListChart(pulumi.CustomResource):
|
|
|
1020
928
|
id: pulumi.Input[str],
|
|
1021
929
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1022
930
|
color_by: Optional[pulumi.Input[str]] = None,
|
|
1023
|
-
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
931
|
+
color_scales: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartColorScaleArgs', 'ListChartColorScaleArgsDict']]]]] = None,
|
|
1024
932
|
description: Optional[pulumi.Input[str]] = None,
|
|
1025
933
|
disable_sampling: Optional[pulumi.Input[bool]] = None,
|
|
1026
934
|
end_time: Optional[pulumi.Input[int]] = None,
|
|
1027
935
|
hide_missing_values: Optional[pulumi.Input[bool]] = None,
|
|
1028
936
|
legend_fields_to_hides: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1029
|
-
legend_options_fields: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
937
|
+
legend_options_fields: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartLegendOptionsFieldArgs', 'ListChartLegendOptionsFieldArgsDict']]]]] = None,
|
|
1030
938
|
max_delay: Optional[pulumi.Input[int]] = None,
|
|
1031
939
|
max_precision: Optional[pulumi.Input[int]] = None,
|
|
1032
940
|
name: Optional[pulumi.Input[str]] = None,
|
|
@@ -1039,7 +947,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1039
947
|
timezone: Optional[pulumi.Input[str]] = None,
|
|
1040
948
|
unit_prefix: Optional[pulumi.Input[str]] = None,
|
|
1041
949
|
url: Optional[pulumi.Input[str]] = None,
|
|
1042
|
-
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
950
|
+
viz_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ListChartVizOptionArgs', 'ListChartVizOptionArgsDict']]]]] = None) -> 'ListChart':
|
|
1043
951
|
"""
|
|
1044
952
|
Get an existing ListChart resource's state with the given name, id, and optional extra
|
|
1045
953
|
properties used to qualify the lookup.
|
|
@@ -1047,28 +955,27 @@ class ListChart(pulumi.CustomResource):
|
|
|
1047
955
|
:param str resource_name: The unique name of the resulting resource.
|
|
1048
956
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1049
957
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1050
|
-
:param pulumi.Input[str] color_by:
|
|
1051
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1052
|
-
:param pulumi.Input[str] description: Description of the chart
|
|
1053
|
-
:param pulumi.Input[bool] disable_sampling:
|
|
1054
|
-
:param pulumi.Input[int] end_time: Seconds since epoch
|
|
1055
|
-
:param pulumi.Input[bool] hide_missing_values:
|
|
1056
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] legend_fields_to_hides: List of properties that
|
|
1057
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1058
|
-
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints
|
|
1059
|
-
:param pulumi.Input[int] max_precision: Maximum number of digits to display when rounding values up or down
|
|
1060
|
-
:param pulumi.Input[str] name: Name of the chart
|
|
1061
|
-
:param pulumi.Input[str] program_text: Signalflow program text for the chart. More info
|
|
1062
|
-
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the list
|
|
1063
|
-
:param pulumi.Input[str] secondary_visualization:
|
|
1064
|
-
:param pulumi.Input[str] sort_by: The property to use when sorting the elements. Use
|
|
1065
|
-
|
|
1066
|
-
:param pulumi.Input[int]
|
|
1067
|
-
:param pulumi.Input[
|
|
1068
|
-
:param pulumi.Input[str]
|
|
1069
|
-
:param pulumi.Input[str]
|
|
1070
|
-
:param pulumi.Input[
|
|
1071
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ListChartVizOptionArgs']]]] viz_options: Plot-level customization options, associated with a publish statement
|
|
958
|
+
:param pulumi.Input[str] color_by: Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
959
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ListChartColorScaleArgs', 'ListChartColorScaleArgsDict']]]] color_scales: 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).
|
|
960
|
+
:param pulumi.Input[str] description: Description of the chart.
|
|
961
|
+
:param pulumi.Input[bool] disable_sampling: If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
962
|
+
:param pulumi.Input[int] end_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
963
|
+
:param pulumi.Input[bool] hide_missing_values: Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
964
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] legend_fields_to_hides: 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 `legend_options_fields`.
|
|
965
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ListChartLegendOptionsFieldArgs', 'ListChartLegendOptionsFieldArgsDict']]]] legend_options_fields: 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 `legend_fields_to_hide`.
|
|
966
|
+
:param pulumi.Input[int] max_delay: How long (in seconds) to wait for late datapoints.
|
|
967
|
+
:param pulumi.Input[int] max_precision: Maximum number of digits to display when rounding values up or down.
|
|
968
|
+
:param pulumi.Input[str] name: Name of the chart.
|
|
969
|
+
:param pulumi.Input[str] program_text: 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).
|
|
970
|
+
:param pulumi.Input[int] refresh_interval: How often (in seconds) to refresh the values of the list.
|
|
971
|
+
:param pulumi.Input[str] secondary_visualization: The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
972
|
+
:param pulumi.Input[str] sort_by: 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 `"sf_metric"` for plot.
|
|
973
|
+
:param pulumi.Input[int] start_time: Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
974
|
+
:param pulumi.Input[int] time_range: How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `start_time` and `end_time`.
|
|
975
|
+
:param pulumi.Input[str] timezone: The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
976
|
+
:param pulumi.Input[str] unit_prefix: Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
977
|
+
:param pulumi.Input[str] url: The URL of the chart.
|
|
978
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ListChartVizOptionArgs', 'ListChartVizOptionArgsDict']]]] viz_options: Plot-level customization options, associated with a publish statement.
|
|
1072
979
|
"""
|
|
1073
980
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1074
981
|
|
|
@@ -1101,7 +1008,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1101
1008
|
@pulumi.getter(name="colorBy")
|
|
1102
1009
|
def color_by(self) -> pulumi.Output[Optional[str]]:
|
|
1103
1010
|
"""
|
|
1104
|
-
|
|
1011
|
+
Must be one of `"Scale"`, `"Dimension"` or `"Metric"`. `"Dimension"` by default.
|
|
1105
1012
|
"""
|
|
1106
1013
|
return pulumi.get(self, "color_by")
|
|
1107
1014
|
|
|
@@ -1109,7 +1016,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1109
1016
|
@pulumi.getter(name="colorScales")
|
|
1110
1017
|
def color_scales(self) -> pulumi.Output[Optional[Sequence['outputs.ListChartColorScale']]]:
|
|
1111
1018
|
"""
|
|
1112
|
-
Single color range including both the color to display for that range and the borders of the range
|
|
1019
|
+
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).
|
|
1113
1020
|
"""
|
|
1114
1021
|
return pulumi.get(self, "color_scales")
|
|
1115
1022
|
|
|
@@ -1117,7 +1024,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1117
1024
|
@pulumi.getter
|
|
1118
1025
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
1119
1026
|
"""
|
|
1120
|
-
Description of the chart
|
|
1027
|
+
Description of the chart.
|
|
1121
1028
|
"""
|
|
1122
1029
|
return pulumi.get(self, "description")
|
|
1123
1030
|
|
|
@@ -1125,7 +1032,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1125
1032
|
@pulumi.getter(name="disableSampling")
|
|
1126
1033
|
def disable_sampling(self) -> pulumi.Output[Optional[bool]]:
|
|
1127
1034
|
"""
|
|
1128
|
-
|
|
1035
|
+
If `false`, samples a subset of the output MTS, which improves UI performance. `false` by default.
|
|
1129
1036
|
"""
|
|
1130
1037
|
return pulumi.get(self, "disable_sampling")
|
|
1131
1038
|
|
|
@@ -1133,7 +1040,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1133
1040
|
@pulumi.getter(name="endTime")
|
|
1134
1041
|
def end_time(self) -> pulumi.Output[Optional[int]]:
|
|
1135
1042
|
"""
|
|
1136
|
-
Seconds since epoch
|
|
1043
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
1137
1044
|
"""
|
|
1138
1045
|
return pulumi.get(self, "end_time")
|
|
1139
1046
|
|
|
@@ -1141,26 +1048,24 @@ class ListChart(pulumi.CustomResource):
|
|
|
1141
1048
|
@pulumi.getter(name="hideMissingValues")
|
|
1142
1049
|
def hide_missing_values(self) -> pulumi.Output[Optional[bool]]:
|
|
1143
1050
|
"""
|
|
1144
|
-
|
|
1051
|
+
Determines whether to hide missing data points in the chart. If `true`, missing data points in the chart would be hidden. `false` by default.
|
|
1145
1052
|
"""
|
|
1146
1053
|
return pulumi.get(self, "hide_missing_values")
|
|
1147
1054
|
|
|
1148
1055
|
@property
|
|
1149
1056
|
@pulumi.getter(name="legendFieldsToHides")
|
|
1057
|
+
@_utilities.deprecated("""Please use legend_options_fields""")
|
|
1150
1058
|
def legend_fields_to_hides(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1151
1059
|
"""
|
|
1152
|
-
List of properties that
|
|
1060
|
+
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 `legend_options_fields`.
|
|
1153
1061
|
"""
|
|
1154
|
-
warnings.warn("""Please use legend_options_fields""", DeprecationWarning)
|
|
1155
|
-
pulumi.log.warn("""legend_fields_to_hides is deprecated: Please use legend_options_fields""")
|
|
1156
|
-
|
|
1157
1062
|
return pulumi.get(self, "legend_fields_to_hides")
|
|
1158
1063
|
|
|
1159
1064
|
@property
|
|
1160
1065
|
@pulumi.getter(name="legendOptionsFields")
|
|
1161
1066
|
def legend_options_fields(self) -> pulumi.Output[Optional[Sequence['outputs.ListChartLegendOptionsField']]]:
|
|
1162
1067
|
"""
|
|
1163
|
-
List of property and enabled flags
|
|
1068
|
+
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 `legend_fields_to_hide`.
|
|
1164
1069
|
"""
|
|
1165
1070
|
return pulumi.get(self, "legend_options_fields")
|
|
1166
1071
|
|
|
@@ -1168,7 +1073,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1168
1073
|
@pulumi.getter(name="maxDelay")
|
|
1169
1074
|
def max_delay(self) -> pulumi.Output[Optional[int]]:
|
|
1170
1075
|
"""
|
|
1171
|
-
How long (in seconds) to wait for late datapoints
|
|
1076
|
+
How long (in seconds) to wait for late datapoints.
|
|
1172
1077
|
"""
|
|
1173
1078
|
return pulumi.get(self, "max_delay")
|
|
1174
1079
|
|
|
@@ -1176,7 +1081,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1176
1081
|
@pulumi.getter(name="maxPrecision")
|
|
1177
1082
|
def max_precision(self) -> pulumi.Output[Optional[int]]:
|
|
1178
1083
|
"""
|
|
1179
|
-
Maximum number of digits to display when rounding values up or down
|
|
1084
|
+
Maximum number of digits to display when rounding values up or down.
|
|
1180
1085
|
"""
|
|
1181
1086
|
return pulumi.get(self, "max_precision")
|
|
1182
1087
|
|
|
@@ -1184,7 +1089,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1184
1089
|
@pulumi.getter
|
|
1185
1090
|
def name(self) -> pulumi.Output[str]:
|
|
1186
1091
|
"""
|
|
1187
|
-
Name of the chart
|
|
1092
|
+
Name of the chart.
|
|
1188
1093
|
"""
|
|
1189
1094
|
return pulumi.get(self, "name")
|
|
1190
1095
|
|
|
@@ -1192,7 +1097,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1192
1097
|
@pulumi.getter(name="programText")
|
|
1193
1098
|
def program_text(self) -> pulumi.Output[str]:
|
|
1194
1099
|
"""
|
|
1195
|
-
Signalflow program text for the chart. More info
|
|
1100
|
+
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).
|
|
1196
1101
|
"""
|
|
1197
1102
|
return pulumi.get(self, "program_text")
|
|
1198
1103
|
|
|
@@ -1200,7 +1105,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1200
1105
|
@pulumi.getter(name="refreshInterval")
|
|
1201
1106
|
def refresh_interval(self) -> pulumi.Output[Optional[int]]:
|
|
1202
1107
|
"""
|
|
1203
|
-
How often (in seconds) to refresh the values of the list
|
|
1108
|
+
How often (in seconds) to refresh the values of the list.
|
|
1204
1109
|
"""
|
|
1205
1110
|
return pulumi.get(self, "refresh_interval")
|
|
1206
1111
|
|
|
@@ -1208,7 +1113,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1208
1113
|
@pulumi.getter(name="secondaryVisualization")
|
|
1209
1114
|
def secondary_visualization(self) -> pulumi.Output[Optional[str]]:
|
|
1210
1115
|
"""
|
|
1211
|
-
|
|
1116
|
+
The type of secondary visualization. Can be `None`, `Radial`, `Linear`, or `Sparkline`. If unset, the Splunk Observability Cloud default is used (`Sparkline`).
|
|
1212
1117
|
"""
|
|
1213
1118
|
return pulumi.get(self, "secondary_visualization")
|
|
1214
1119
|
|
|
@@ -1216,8 +1121,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1216
1121
|
@pulumi.getter(name="sortBy")
|
|
1217
1122
|
def sort_by(self) -> pulumi.Output[Optional[str]]:
|
|
1218
1123
|
"""
|
|
1219
|
-
The property to use when sorting the elements. Use
|
|
1220
|
-
ascending or - for descending (e.g. -foo)
|
|
1124
|
+
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 `"sf_metric"` for plot.
|
|
1221
1125
|
"""
|
|
1222
1126
|
return pulumi.get(self, "sort_by")
|
|
1223
1127
|
|
|
@@ -1225,7 +1129,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1225
1129
|
@pulumi.getter(name="startTime")
|
|
1226
1130
|
def start_time(self) -> pulumi.Output[Optional[int]]:
|
|
1227
1131
|
"""
|
|
1228
|
-
Seconds since epoch
|
|
1132
|
+
Seconds since epoch. Used for visualization. Conflicts with `time_range`.
|
|
1229
1133
|
"""
|
|
1230
1134
|
return pulumi.get(self, "start_time")
|
|
1231
1135
|
|
|
@@ -1233,7 +1137,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1233
1137
|
@pulumi.getter(name="timeRange")
|
|
1234
1138
|
def time_range(self) -> pulumi.Output[Optional[int]]:
|
|
1235
1139
|
"""
|
|
1236
|
-
|
|
1140
|
+
How many seconds ago from which to display data. For example, the last hour would be `3600`, etc. Conflicts with `start_time` and `end_time`.
|
|
1237
1141
|
"""
|
|
1238
1142
|
return pulumi.get(self, "time_range")
|
|
1239
1143
|
|
|
@@ -1241,7 +1145,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1241
1145
|
@pulumi.getter
|
|
1242
1146
|
def timezone(self) -> pulumi.Output[Optional[str]]:
|
|
1243
1147
|
"""
|
|
1244
|
-
The property value is a string that denotes the geographic region associated with the time zone, (
|
|
1148
|
+
The property value is a string that denotes the geographic region associated with the time zone, (default UTC).
|
|
1245
1149
|
"""
|
|
1246
1150
|
return pulumi.get(self, "timezone")
|
|
1247
1151
|
|
|
@@ -1249,7 +1153,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1249
1153
|
@pulumi.getter(name="unitPrefix")
|
|
1250
1154
|
def unit_prefix(self) -> pulumi.Output[Optional[str]]:
|
|
1251
1155
|
"""
|
|
1252
|
-
|
|
1156
|
+
Must be `"Metric"` or `"Binary`". `"Metric"` by default.
|
|
1253
1157
|
"""
|
|
1254
1158
|
return pulumi.get(self, "unit_prefix")
|
|
1255
1159
|
|
|
@@ -1257,7 +1161,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1257
1161
|
@pulumi.getter
|
|
1258
1162
|
def url(self) -> pulumi.Output[str]:
|
|
1259
1163
|
"""
|
|
1260
|
-
URL of the chart
|
|
1164
|
+
The URL of the chart.
|
|
1261
1165
|
"""
|
|
1262
1166
|
return pulumi.get(self, "url")
|
|
1263
1167
|
|
|
@@ -1265,7 +1169,7 @@ class ListChart(pulumi.CustomResource):
|
|
|
1265
1169
|
@pulumi.getter(name="vizOptions")
|
|
1266
1170
|
def viz_options(self) -> pulumi.Output[Optional[Sequence['outputs.ListChartVizOption']]]:
|
|
1267
1171
|
"""
|
|
1268
|
-
Plot-level customization options, associated with a publish statement
|
|
1172
|
+
Plot-level customization options, associated with a publish statement.
|
|
1269
1173
|
"""
|
|
1270
1174
|
return pulumi.get(self, "viz_options")
|
|
1271
1175
|
|