@pulumi/wavefront 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dashboard.d.ts +1 -1
- package/dashboard.js +1 -1
- package/dashboardJson.d.ts +106 -94
- package/dashboardJson.js +106 -94
- package/dashboardJson.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +8 -8
- package/types/output.d.ts +8 -8
package/dashboard.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Provides a Wavefront Dashboard resource.
|
|
5
|
+
* Provides a Wavefront Dashboard resource. This allows dashboards to be created, updated, and deleted.
|
|
6
6
|
*
|
|
7
7
|
* ## Import
|
|
8
8
|
*
|
package/dashboard.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Dashboard = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a Wavefront Dashboard resource.
|
|
9
|
+
* Provides a Wavefront Dashboard resource. This allows dashboards to be created, updated, and deleted.
|
|
10
10
|
*
|
|
11
11
|
* ## Import
|
|
12
12
|
*
|
package/dashboardJson.d.ts
CHANGED
|
@@ -8,108 +8,120 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as wavefront from "@pulumi/wavefront";
|
|
10
10
|
*
|
|
11
|
-
* const testDashboardJson = new wavefront.DashboardJson("testDashboardJson", {dashboardJson: `{
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* ],
|
|
38
|
-
* "units": "someunit",
|
|
39
|
-
* "base": 0,
|
|
40
|
-
* "noDefaultEvents": false,
|
|
41
|
-
* "interpolatePoints": false,
|
|
42
|
-
* "includeObsoleteMetrics": false,
|
|
43
|
-
* "description": "This is chart 1, showing something",
|
|
44
|
-
* "chartSettings": {
|
|
45
|
-
* "type": "markdown-widget",
|
|
46
|
-
* "max": 100,
|
|
47
|
-
* "expectedDataSpacing": 120,
|
|
48
|
-
* "windowing": "full",
|
|
49
|
-
* "windowSize": 10,
|
|
50
|
-
* "autoColumnTags": false,
|
|
51
|
-
* "columnTags": "deprecated",
|
|
52
|
-
* "tagMode": "all",
|
|
53
|
-
* "numTags": 2,
|
|
54
|
-
* "customTags": [
|
|
55
|
-
* "tag1",
|
|
56
|
-
* "tag2"
|
|
11
|
+
* const testDashboardJson = new wavefront.DashboardJson("testDashboardJson", {dashboardJson: ` {
|
|
12
|
+
* "name": "Terraform Test Dashboard Json",
|
|
13
|
+
* "description": "a",
|
|
14
|
+
* "eventFilterType": "BYCHART",
|
|
15
|
+
* "eventQuery": "",
|
|
16
|
+
* "defaultTimeWindow": "",
|
|
17
|
+
* "url": "tftestimport",
|
|
18
|
+
* "displayDescription": false,
|
|
19
|
+
* "displaySectionTableOfContents": true,
|
|
20
|
+
* "displayQueryParameters": false,
|
|
21
|
+
* "sections": [
|
|
22
|
+
* {
|
|
23
|
+
* "name": "section 1",
|
|
24
|
+
* "rows": [
|
|
25
|
+
* {
|
|
26
|
+
* "charts": [
|
|
27
|
+
* {
|
|
28
|
+
* "name": "chart 1",
|
|
29
|
+
* "sources": [
|
|
30
|
+
* {
|
|
31
|
+
* "name": "source 1",
|
|
32
|
+
* "query": "ts()",
|
|
33
|
+
* "scatterPlotSource": "Y",
|
|
34
|
+
* "querybuilderEnabled": false,
|
|
35
|
+
* "sourceDescription": ""
|
|
36
|
+
* }
|
|
57
37
|
* ],
|
|
58
|
-
* "
|
|
59
|
-
* "
|
|
60
|
-
* "
|
|
61
|
-
* "
|
|
62
|
-
* "
|
|
63
|
-
* "
|
|
64
|
-
* "
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
* "
|
|
70
|
-
* "
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
38
|
+
* "units": "someunit",
|
|
39
|
+
* "base": 0,
|
|
40
|
+
* "noDefaultEvents": false,
|
|
41
|
+
* "interpolatePoints": false,
|
|
42
|
+
* "includeObsoleteMetrics": false,
|
|
43
|
+
* "description": "This is chart 1, showing something",
|
|
44
|
+
* "chartSettings": {
|
|
45
|
+
* "type": "markdown-widget",
|
|
46
|
+
* "max": 100,
|
|
47
|
+
* "expectedDataSpacing": 120,
|
|
48
|
+
* "windowing": "full",
|
|
49
|
+
* "windowSize": 10,
|
|
50
|
+
* "autoColumnTags": false,
|
|
51
|
+
* "columnTags": "deprecated",
|
|
52
|
+
* "tagMode": "all",
|
|
53
|
+
* "numTags": 2,
|
|
54
|
+
* "customTags": [
|
|
55
|
+
* "tag1",
|
|
56
|
+
* "tag2"
|
|
57
|
+
* ],
|
|
58
|
+
* "groupBySource": true,
|
|
59
|
+
* "y1Max": 100,
|
|
60
|
+
* "y1Units": "units",
|
|
61
|
+
* "y0ScaleSIBy1024": true,
|
|
62
|
+
* "y1ScaleSIBy1024": true,
|
|
63
|
+
* "y0UnitAutoscaling": true,
|
|
64
|
+
* "y1UnitAutoscaling": true,
|
|
65
|
+
* "fixedLegendEnabled": true,
|
|
66
|
+
* "fixedLegendUseRawStats": true,
|
|
67
|
+
* "fixedLegendPosition": "RIGHT",
|
|
68
|
+
* "fixedLegendDisplayStats": [
|
|
69
|
+
* "stat1",
|
|
70
|
+
* "stat2"
|
|
71
|
+
* ],
|
|
72
|
+
* "fixedLegendFilterSort": "TOP",
|
|
73
|
+
* "fixedLegendFilterLimit": 1,
|
|
74
|
+
* "fixedLegendFilterField": "CURRENT",
|
|
75
|
+
* "plainMarkdownContent": "markdown content"
|
|
76
|
+
* },
|
|
77
|
+
* "chartAttributes": {
|
|
78
|
+
* "dashboardLinks": {
|
|
79
|
+
* "*": {
|
|
80
|
+
* "variables": {
|
|
81
|
+
* "xxx": "xxx"
|
|
82
|
+
* },
|
|
83
|
+
* "destination": "/dashboards/xxxx"
|
|
84
|
+
* }
|
|
85
|
+
* }
|
|
86
|
+
* },
|
|
87
|
+
* "summarization": "MEAN"
|
|
88
|
+
* }
|
|
89
|
+
* ],
|
|
90
|
+
* "heightFactor": 50
|
|
91
|
+
* }
|
|
92
|
+
* ]
|
|
93
|
+
* }
|
|
94
|
+
* ],
|
|
95
|
+
* "parameterDetails": {
|
|
96
|
+
* "param": {
|
|
97
|
+
* "hideFromView": false,
|
|
98
|
+
* "description": null,
|
|
99
|
+
* "allowAll": null,
|
|
100
|
+
* "tagKey": null,
|
|
101
|
+
* "queryValue": null,
|
|
102
|
+
* "dynamicFieldType": null,
|
|
103
|
+
* "reverseDynSort": null,
|
|
104
|
+
* "parameterType": "SIMPLE",
|
|
105
|
+
* "label": "test",
|
|
106
|
+
* "defaultValue": "Label",
|
|
107
|
+
* "valuesToReadableStrings": {
|
|
108
|
+
* "Label": "test"
|
|
109
|
+
* },
|
|
110
|
+
* "selectedLabel": "Label",
|
|
111
|
+
* "value": "test"
|
|
112
|
+
* }
|
|
113
|
+
* },
|
|
114
|
+
* "tags": {
|
|
115
|
+
* "customerTags": [
|
|
116
|
+
* "terraform"
|
|
82
117
|
* ]
|
|
83
118
|
* }
|
|
84
|
-
* ],
|
|
85
|
-
* "parameterDetails": {
|
|
86
|
-
* "param": {
|
|
87
|
-
* "hideFromView": false,
|
|
88
|
-
* "description": null,
|
|
89
|
-
* "allowAll": null,
|
|
90
|
-
* "tagKey": null,
|
|
91
|
-
* "queryValue": null,
|
|
92
|
-
* "dynamicFieldType": null,
|
|
93
|
-
* "reverseDynSort": null,
|
|
94
|
-
* "parameterType": "SIMPLE",
|
|
95
|
-
* "label": "test",
|
|
96
|
-
* "defaultValue": "Label",
|
|
97
|
-
* "valuesToReadableStrings": {
|
|
98
|
-
* "Label": "test"
|
|
99
|
-
* },
|
|
100
|
-
* "selectedLabel": "Label",
|
|
101
|
-
* "value": "test"
|
|
102
|
-
* }
|
|
103
|
-
* },
|
|
104
|
-
* "tags" :{
|
|
105
|
-
* "customerTags": ["terraform"]
|
|
106
119
|
* }
|
|
107
|
-
* }
|
|
108
120
|
*
|
|
109
121
|
* `});
|
|
110
122
|
* ```
|
|
111
123
|
*
|
|
112
|
-
* **Note:** If there are dynamic variables in the Wavefront dashboard json, then these variables must be present in a separate file as mentioned in
|
|
124
|
+
* **Note:** If there are dynamic variables in the Wavefront dashboard json, then these variables must be present in a separate file as mentioned in the section below.
|
|
113
125
|
*
|
|
114
126
|
* ## Import
|
|
115
127
|
*
|
package/dashboardJson.js
CHANGED
|
@@ -14,108 +14,120 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as wavefront from "@pulumi/wavefront";
|
|
16
16
|
*
|
|
17
|
-
* const testDashboardJson = new wavefront.DashboardJson("testDashboardJson", {dashboardJson: `{
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* ],
|
|
44
|
-
* "units": "someunit",
|
|
45
|
-
* "base": 0,
|
|
46
|
-
* "noDefaultEvents": false,
|
|
47
|
-
* "interpolatePoints": false,
|
|
48
|
-
* "includeObsoleteMetrics": false,
|
|
49
|
-
* "description": "This is chart 1, showing something",
|
|
50
|
-
* "chartSettings": {
|
|
51
|
-
* "type": "markdown-widget",
|
|
52
|
-
* "max": 100,
|
|
53
|
-
* "expectedDataSpacing": 120,
|
|
54
|
-
* "windowing": "full",
|
|
55
|
-
* "windowSize": 10,
|
|
56
|
-
* "autoColumnTags": false,
|
|
57
|
-
* "columnTags": "deprecated",
|
|
58
|
-
* "tagMode": "all",
|
|
59
|
-
* "numTags": 2,
|
|
60
|
-
* "customTags": [
|
|
61
|
-
* "tag1",
|
|
62
|
-
* "tag2"
|
|
17
|
+
* const testDashboardJson = new wavefront.DashboardJson("testDashboardJson", {dashboardJson: ` {
|
|
18
|
+
* "name": "Terraform Test Dashboard Json",
|
|
19
|
+
* "description": "a",
|
|
20
|
+
* "eventFilterType": "BYCHART",
|
|
21
|
+
* "eventQuery": "",
|
|
22
|
+
* "defaultTimeWindow": "",
|
|
23
|
+
* "url": "tftestimport",
|
|
24
|
+
* "displayDescription": false,
|
|
25
|
+
* "displaySectionTableOfContents": true,
|
|
26
|
+
* "displayQueryParameters": false,
|
|
27
|
+
* "sections": [
|
|
28
|
+
* {
|
|
29
|
+
* "name": "section 1",
|
|
30
|
+
* "rows": [
|
|
31
|
+
* {
|
|
32
|
+
* "charts": [
|
|
33
|
+
* {
|
|
34
|
+
* "name": "chart 1",
|
|
35
|
+
* "sources": [
|
|
36
|
+
* {
|
|
37
|
+
* "name": "source 1",
|
|
38
|
+
* "query": "ts()",
|
|
39
|
+
* "scatterPlotSource": "Y",
|
|
40
|
+
* "querybuilderEnabled": false,
|
|
41
|
+
* "sourceDescription": ""
|
|
42
|
+
* }
|
|
63
43
|
* ],
|
|
64
|
-
* "
|
|
65
|
-
* "
|
|
66
|
-
* "
|
|
67
|
-
* "
|
|
68
|
-
* "
|
|
69
|
-
* "
|
|
70
|
-
* "
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
* "
|
|
76
|
-
* "
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
44
|
+
* "units": "someunit",
|
|
45
|
+
* "base": 0,
|
|
46
|
+
* "noDefaultEvents": false,
|
|
47
|
+
* "interpolatePoints": false,
|
|
48
|
+
* "includeObsoleteMetrics": false,
|
|
49
|
+
* "description": "This is chart 1, showing something",
|
|
50
|
+
* "chartSettings": {
|
|
51
|
+
* "type": "markdown-widget",
|
|
52
|
+
* "max": 100,
|
|
53
|
+
* "expectedDataSpacing": 120,
|
|
54
|
+
* "windowing": "full",
|
|
55
|
+
* "windowSize": 10,
|
|
56
|
+
* "autoColumnTags": false,
|
|
57
|
+
* "columnTags": "deprecated",
|
|
58
|
+
* "tagMode": "all",
|
|
59
|
+
* "numTags": 2,
|
|
60
|
+
* "customTags": [
|
|
61
|
+
* "tag1",
|
|
62
|
+
* "tag2"
|
|
63
|
+
* ],
|
|
64
|
+
* "groupBySource": true,
|
|
65
|
+
* "y1Max": 100,
|
|
66
|
+
* "y1Units": "units",
|
|
67
|
+
* "y0ScaleSIBy1024": true,
|
|
68
|
+
* "y1ScaleSIBy1024": true,
|
|
69
|
+
* "y0UnitAutoscaling": true,
|
|
70
|
+
* "y1UnitAutoscaling": true,
|
|
71
|
+
* "fixedLegendEnabled": true,
|
|
72
|
+
* "fixedLegendUseRawStats": true,
|
|
73
|
+
* "fixedLegendPosition": "RIGHT",
|
|
74
|
+
* "fixedLegendDisplayStats": [
|
|
75
|
+
* "stat1",
|
|
76
|
+
* "stat2"
|
|
77
|
+
* ],
|
|
78
|
+
* "fixedLegendFilterSort": "TOP",
|
|
79
|
+
* "fixedLegendFilterLimit": 1,
|
|
80
|
+
* "fixedLegendFilterField": "CURRENT",
|
|
81
|
+
* "plainMarkdownContent": "markdown content"
|
|
82
|
+
* },
|
|
83
|
+
* "chartAttributes": {
|
|
84
|
+
* "dashboardLinks": {
|
|
85
|
+
* "*": {
|
|
86
|
+
* "variables": {
|
|
87
|
+
* "xxx": "xxx"
|
|
88
|
+
* },
|
|
89
|
+
* "destination": "/dashboards/xxxx"
|
|
90
|
+
* }
|
|
91
|
+
* }
|
|
92
|
+
* },
|
|
93
|
+
* "summarization": "MEAN"
|
|
94
|
+
* }
|
|
95
|
+
* ],
|
|
96
|
+
* "heightFactor": 50
|
|
97
|
+
* }
|
|
98
|
+
* ]
|
|
99
|
+
* }
|
|
100
|
+
* ],
|
|
101
|
+
* "parameterDetails": {
|
|
102
|
+
* "param": {
|
|
103
|
+
* "hideFromView": false,
|
|
104
|
+
* "description": null,
|
|
105
|
+
* "allowAll": null,
|
|
106
|
+
* "tagKey": null,
|
|
107
|
+
* "queryValue": null,
|
|
108
|
+
* "dynamicFieldType": null,
|
|
109
|
+
* "reverseDynSort": null,
|
|
110
|
+
* "parameterType": "SIMPLE",
|
|
111
|
+
* "label": "test",
|
|
112
|
+
* "defaultValue": "Label",
|
|
113
|
+
* "valuesToReadableStrings": {
|
|
114
|
+
* "Label": "test"
|
|
115
|
+
* },
|
|
116
|
+
* "selectedLabel": "Label",
|
|
117
|
+
* "value": "test"
|
|
118
|
+
* }
|
|
119
|
+
* },
|
|
120
|
+
* "tags": {
|
|
121
|
+
* "customerTags": [
|
|
122
|
+
* "terraform"
|
|
88
123
|
* ]
|
|
89
124
|
* }
|
|
90
|
-
* ],
|
|
91
|
-
* "parameterDetails": {
|
|
92
|
-
* "param": {
|
|
93
|
-
* "hideFromView": false,
|
|
94
|
-
* "description": null,
|
|
95
|
-
* "allowAll": null,
|
|
96
|
-
* "tagKey": null,
|
|
97
|
-
* "queryValue": null,
|
|
98
|
-
* "dynamicFieldType": null,
|
|
99
|
-
* "reverseDynSort": null,
|
|
100
|
-
* "parameterType": "SIMPLE",
|
|
101
|
-
* "label": "test",
|
|
102
|
-
* "defaultValue": "Label",
|
|
103
|
-
* "valuesToReadableStrings": {
|
|
104
|
-
* "Label": "test"
|
|
105
|
-
* },
|
|
106
|
-
* "selectedLabel": "Label",
|
|
107
|
-
* "value": "test"
|
|
108
|
-
* }
|
|
109
|
-
* },
|
|
110
|
-
* "tags" :{
|
|
111
|
-
* "customerTags": ["terraform"]
|
|
112
125
|
* }
|
|
113
|
-
* }
|
|
114
126
|
*
|
|
115
127
|
* `});
|
|
116
128
|
* ```
|
|
117
129
|
*
|
|
118
|
-
* **Note:** If there are dynamic variables in the Wavefront dashboard json, then these variables must be present in a separate file as mentioned in
|
|
130
|
+
* **Note:** If there are dynamic variables in the Wavefront dashboard json, then these variables must be present in a separate file as mentioned in the section below.
|
|
119
131
|
*
|
|
120
132
|
* ## Import
|
|
121
133
|
*
|
package/dashboardJson.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboardJson.js","sourceRoot":"","sources":["../dashboardJson.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"dashboardJson.js","sourceRoot":"","sources":["../dashboardJson.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmIG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAgBD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;aAAM;YACH,MAAM,IAAI,GAAG,WAA4C,CAAC;YAC1D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1D,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAzDL,sCA0DC;AA5CG,gBAAgB;AACO,0BAAY,GAAG,6CAA6C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/wavefront",
|
|
3
|
-
"version": "v2.
|
|
3
|
+
"version": "v2.1.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing wavefront cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource wavefront v2.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource wavefront v2.1.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/types/input.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export interface DashboardParameterDetail {
|
|
|
55
55
|
*/
|
|
56
56
|
tagKey?: pulumi.Input<string>;
|
|
57
57
|
/**
|
|
58
|
-
* A string->string map.
|
|
58
|
+
* A string->string map. At least one of the keys must match the value of
|
|
59
59
|
* `defaultValue`.
|
|
60
60
|
*/
|
|
61
61
|
valuesToReadableStrings: pulumi.Input<{
|
|
@@ -169,7 +169,7 @@ export interface DashboardSectionRowChartChartSetting {
|
|
|
169
169
|
fixedLegendUseRawStats?: pulumi.Input<boolean>;
|
|
170
170
|
/**
|
|
171
171
|
* For the tabular view, whether to group multi metrics into a single row by a common source.
|
|
172
|
-
* If `false`, each source is displayed in its own row.
|
|
172
|
+
* If `false`, each source is displayed in its own row. if `true`, multiple metrics for the same host are displayed as different
|
|
173
173
|
* columns in the same row.
|
|
174
174
|
*/
|
|
175
175
|
groupBySource?: pulumi.Input<boolean>;
|
|
@@ -251,12 +251,12 @@ export interface DashboardSectionRowChartChartSetting {
|
|
|
251
251
|
*/
|
|
252
252
|
sparklineDisplayVerticalPosition?: pulumi.Input<string>;
|
|
253
253
|
/**
|
|
254
|
-
* For the single stat view, the color of the background fill.
|
|
254
|
+
* For the single stat view, the color of the background fill. Values should be
|
|
255
255
|
* in `rgba(,,,,)`.
|
|
256
256
|
*/
|
|
257
257
|
sparklineFillColor?: pulumi.Input<string>;
|
|
258
258
|
/**
|
|
259
|
-
* For the single stat view, the color of the line.
|
|
259
|
+
* For the single stat view, the color of the line. Values should be in `rgba(,,,,)` format.
|
|
260
260
|
*/
|
|
261
261
|
sparklineLineColor?: pulumi.Input<string>;
|
|
262
262
|
/**
|
|
@@ -280,17 +280,17 @@ export interface DashboardSectionRowChartChartSetting {
|
|
|
280
280
|
sparklineValueColorMapValues?: pulumi.Input<pulumi.Input<number>[]>;
|
|
281
281
|
/**
|
|
282
282
|
* For the single stat view, a list of boundaries for mapping different
|
|
283
|
-
* query values to colors.
|
|
283
|
+
* query values to colors. Must contain one element less than `sparklineValueColorMapColors`.
|
|
284
284
|
*/
|
|
285
285
|
sparklineValueColorMapValuesV2s?: pulumi.Input<pulumi.Input<number>[]>;
|
|
286
286
|
/**
|
|
287
287
|
* For the single stat view, a list of display text values that different query
|
|
288
|
-
* values map to.
|
|
288
|
+
* values map to. Must contain one more element than `sparklineValueTextMapThresholds`.
|
|
289
289
|
*/
|
|
290
290
|
sparklineValueTextMapTexts?: pulumi.Input<pulumi.Input<string>[]>;
|
|
291
291
|
/**
|
|
292
292
|
* For the single stat view, a list of threshold boundaries for
|
|
293
|
-
* mapping different query values to display text.
|
|
293
|
+
* mapping different query values to display text. Must contain one element less than `sparklineValueTextMapText`.
|
|
294
294
|
*/
|
|
295
295
|
sparklineValueTextMapThresholds?: pulumi.Input<pulumi.Input<number>[]>;
|
|
296
296
|
/**
|
|
@@ -311,7 +311,7 @@ export interface DashboardSectionRowChartChartSetting {
|
|
|
311
311
|
/**
|
|
312
312
|
* Chart Type. `line` refers to the Line Plot, `scatter` to the Point Plot, `stacked-area` to
|
|
313
313
|
* the Stacked Area plot, `table` to the Tabular View, `scatterplot-xy` to Scatter Plot, `markdown-widget` to the
|
|
314
|
-
* Markdown display, and `sparkline` to the Single Stat view. Valid options are
|
|
314
|
+
* Markdown display, and `sparkline` to the Single Stat view. Valid options are`line`, `scatterplot`,
|
|
315
315
|
* `stacked-area`, `stacked-column`, `table`, `scatterplot-xy`, `markdown-widget`, `sparkline`, `globe`, `nodemap`,
|
|
316
316
|
* `top-k`, `status-list`, and `histogram`.
|
|
317
317
|
*/
|
package/types/output.d.ts
CHANGED
|
@@ -54,7 +54,7 @@ export interface DashboardParameterDetail {
|
|
|
54
54
|
*/
|
|
55
55
|
tagKey?: string;
|
|
56
56
|
/**
|
|
57
|
-
* A string->string map.
|
|
57
|
+
* A string->string map. At least one of the keys must match the value of
|
|
58
58
|
* `defaultValue`.
|
|
59
59
|
*/
|
|
60
60
|
valuesToReadableStrings: {
|
|
@@ -168,7 +168,7 @@ export interface DashboardSectionRowChartChartSetting {
|
|
|
168
168
|
fixedLegendUseRawStats?: boolean;
|
|
169
169
|
/**
|
|
170
170
|
* For the tabular view, whether to group multi metrics into a single row by a common source.
|
|
171
|
-
* If `false`, each source is displayed in its own row.
|
|
171
|
+
* If `false`, each source is displayed in its own row. if `true`, multiple metrics for the same host are displayed as different
|
|
172
172
|
* columns in the same row.
|
|
173
173
|
*/
|
|
174
174
|
groupBySource?: boolean;
|
|
@@ -250,12 +250,12 @@ export interface DashboardSectionRowChartChartSetting {
|
|
|
250
250
|
*/
|
|
251
251
|
sparklineDisplayVerticalPosition?: string;
|
|
252
252
|
/**
|
|
253
|
-
* For the single stat view, the color of the background fill.
|
|
253
|
+
* For the single stat view, the color of the background fill. Values should be
|
|
254
254
|
* in `rgba(,,,,)`.
|
|
255
255
|
*/
|
|
256
256
|
sparklineFillColor?: string;
|
|
257
257
|
/**
|
|
258
|
-
* For the single stat view, the color of the line.
|
|
258
|
+
* For the single stat view, the color of the line. Values should be in `rgba(,,,,)` format.
|
|
259
259
|
*/
|
|
260
260
|
sparklineLineColor?: string;
|
|
261
261
|
/**
|
|
@@ -279,17 +279,17 @@ export interface DashboardSectionRowChartChartSetting {
|
|
|
279
279
|
sparklineValueColorMapValues?: number[];
|
|
280
280
|
/**
|
|
281
281
|
* For the single stat view, a list of boundaries for mapping different
|
|
282
|
-
* query values to colors.
|
|
282
|
+
* query values to colors. Must contain one element less than `sparklineValueColorMapColors`.
|
|
283
283
|
*/
|
|
284
284
|
sparklineValueColorMapValuesV2s?: number[];
|
|
285
285
|
/**
|
|
286
286
|
* For the single stat view, a list of display text values that different query
|
|
287
|
-
* values map to.
|
|
287
|
+
* values map to. Must contain one more element than `sparklineValueTextMapThresholds`.
|
|
288
288
|
*/
|
|
289
289
|
sparklineValueTextMapTexts?: string[];
|
|
290
290
|
/**
|
|
291
291
|
* For the single stat view, a list of threshold boundaries for
|
|
292
|
-
* mapping different query values to display text.
|
|
292
|
+
* mapping different query values to display text. Must contain one element less than `sparklineValueTextMapText`.
|
|
293
293
|
*/
|
|
294
294
|
sparklineValueTextMapThresholds?: number[];
|
|
295
295
|
/**
|
|
@@ -310,7 +310,7 @@ export interface DashboardSectionRowChartChartSetting {
|
|
|
310
310
|
/**
|
|
311
311
|
* Chart Type. `line` refers to the Line Plot, `scatter` to the Point Plot, `stacked-area` to
|
|
312
312
|
* the Stacked Area plot, `table` to the Tabular View, `scatterplot-xy` to Scatter Plot, `markdown-widget` to the
|
|
313
|
-
* Markdown display, and `sparkline` to the Single Stat view. Valid options are
|
|
313
|
+
* Markdown display, and `sparkline` to the Single Stat view. Valid options are`line`, `scatterplot`,
|
|
314
314
|
* `stacked-area`, `stacked-column`, `table`, `scatterplot-xy`, `markdown-widget`, `sparkline`, `globe`, `nodemap`,
|
|
315
315
|
* `top-k`, `status-list`, and `histogram`.
|
|
316
316
|
*/
|