@cloudcare/guance-front-tools 1.0.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.
Files changed (216) hide show
  1. package/.prettierignore +3 -0
  2. package/.prettierrc +6 -0
  3. package/LICENSE +21 -0
  4. package/README.md +31 -0
  5. package/cli.js +16 -0
  6. package/lib/cjs/generated/browserSessionReplay.d.ts +703 -0
  7. package/lib/cjs/generated/browserSessionReplay.js +6 -0
  8. package/lib/cjs/generated/dashboardCharts.d.ts +1372 -0
  9. package/lib/cjs/generated/dashboardCharts.js +6 -0
  10. package/lib/cjs/generated/mobileSessionReplay.d.ts +653 -0
  11. package/lib/cjs/generated/mobileSessionReplay.js +6 -0
  12. package/lib/cjs/generated/sessionReplay.d.ts +1190 -0
  13. package/lib/cjs/generated/sessionReplay.js +6 -0
  14. package/lib/cjs/src/dashboard-charts.d.ts +1 -0
  15. package/lib/cjs/src/dashboard-charts.js +17 -0
  16. package/lib/cjs/src/index.d.ts +2 -0
  17. package/lib/cjs/src/index.js +18 -0
  18. package/lib/cjs/src/session-replay-browser.d.ts +58 -0
  19. package/lib/cjs/src/session-replay-browser.js +69 -0
  20. package/lib/cjs/src/session-replay-mobile.d.ts +30 -0
  21. package/lib/cjs/src/session-replay-mobile.js +42 -0
  22. package/lib/cjs/src/session-replay.d.ts +30 -0
  23. package/lib/cjs/src/session-replay.js +49 -0
  24. package/lib/esm/generated/browserSessionReplay.d.ts +703 -0
  25. package/lib/esm/generated/browserSessionReplay.js +5 -0
  26. package/lib/esm/generated/dashboardCharts.d.ts +1372 -0
  27. package/lib/esm/generated/dashboardCharts.js +5 -0
  28. package/lib/esm/generated/mobileSessionReplay.d.ts +653 -0
  29. package/lib/esm/generated/mobileSessionReplay.js +5 -0
  30. package/lib/esm/generated/sessionReplay.d.ts +1190 -0
  31. package/lib/esm/generated/sessionReplay.js +5 -0
  32. package/lib/esm/src/dashboard-charts.d.ts +1 -0
  33. package/lib/esm/src/dashboard-charts.js +1 -0
  34. package/lib/esm/src/index.d.ts +2 -0
  35. package/lib/esm/src/index.js +2 -0
  36. package/lib/esm/src/session-replay-browser.d.ts +58 -0
  37. package/lib/esm/src/session-replay-browser.js +52 -0
  38. package/lib/esm/src/session-replay-mobile.d.ts +30 -0
  39. package/lib/esm/src/session-replay-mobile.js +25 -0
  40. package/lib/esm/src/session-replay.d.ts +30 -0
  41. package/lib/esm/src/session-replay.js +24 -0
  42. package/lib/example/grafana-dashboard.json +2205 -0
  43. package/lib/example/guance-covert-test.json +629 -0
  44. package/lib/example/guance-dashboard-1.json +672 -0
  45. package/lib/example/guance-dashboard.json +2841 -0
  46. package/lib/scripts/grafana-covert-to-guance.d.ts +1 -0
  47. package/lib/scripts/grafana-covert-to-guance.js +367 -0
  48. package/lib/scripts/grafana-covert-to-guance.ts +374 -0
  49. package/lib/scripts/grafana-dashbord.d.ts +2220 -0
  50. package/lib/scripts/grafana-dashbord.js +1 -0
  51. package/lib/scripts/grafana-dashbord.ts +2427 -0
  52. package/lib/src/dashboard-charts.ts +1 -0
  53. package/lib/src/index.ts +2 -0
  54. package/lib/src/session-replay-browser.ts +98 -0
  55. package/lib/src/session-replay-mobile.ts +54 -0
  56. package/lib/src/session-replay.ts +61 -0
  57. package/package.json +45 -0
  58. package/samples/dashboard/dashboard.json +2842 -0
  59. package/samples/dashboard/promql-dashboard.json +2175 -0
  60. package/samples/session-replay/mobile/record/full-snapshot-record.json +51 -0
  61. package/samples/session-replay/mobile/record/has-focus-record.json +7 -0
  62. package/samples/session-replay/mobile/record/incremental-snapshot-record.json +74 -0
  63. package/samples/session-replay/mobile/record/metadata-record.json +8 -0
  64. package/samples/session-replay/mobile/record/view-end-record.json +4 -0
  65. package/samples/session-replay/mobile/segment/segment.json +110 -0
  66. package/schemas/charts/chart-schema.json +73 -0
  67. package/schemas/charts/common/common-chart-types-schema.json +37 -0
  68. package/schemas/charts/common/common-vars-item-schema.json +117 -0
  69. package/schemas/charts/common/common-vars-schema.json +10 -0
  70. package/schemas/charts/dashboard-schema.json +73 -0
  71. package/schemas/charts/query/queries-schema.json +10 -0
  72. package/schemas/charts/query/query-item-schema.json +42 -0
  73. package/schemas/charts/settings/_common-settings-connect-null-schema.json +7 -0
  74. package/schemas/charts/settings/_common-settings-gradual-color-schema.json +72 -0
  75. package/schemas/charts/settings/_common-settings-groupby-schema.json +22 -0
  76. package/schemas/charts/settings/_common-settings-legend-position-schema.json +14 -0
  77. package/schemas/charts/settings/_common-settings-legend-values-schema.json +19 -0
  78. package/schemas/charts/settings/_common-settings-open-stack-schema.json +8 -0
  79. package/schemas/charts/settings/_common-settings-show-label-schema.json +8 -0
  80. package/schemas/charts/settings/_common-settings-show-line-schema.json +8 -0
  81. package/schemas/charts/settings/_common-settings-stack-content-schema.json +12 -0
  82. package/schemas/charts/settings/_common-settings-stack-type-schema.json +11 -0
  83. package/schemas/charts/settings/chart-alarm-settings-schema.json +48 -0
  84. package/schemas/charts/settings/chart-bar-settings-schema.json +69 -0
  85. package/schemas/charts/settings/chart-chinamap-settings-schema.json +102 -0
  86. package/schemas/charts/settings/chart-funnel-settings-schema.json +34 -0
  87. package/schemas/charts/settings/chart-gauge-settings-schema.json +65 -0
  88. package/schemas/charts/settings/chart-heatmap-settings-schema.json +50 -0
  89. package/schemas/charts/settings/chart-hexgon-settings-schema.json +90 -0
  90. package/schemas/charts/settings/chart-histogram-settings-schema.json +47 -0
  91. package/schemas/charts/settings/chart-iframe-settings-schema.json +24 -0
  92. package/schemas/charts/settings/chart-log-settings-schema.json +84 -0
  93. package/schemas/charts/settings/chart-object-settings-schema.json +52 -0
  94. package/schemas/charts/settings/chart-picture-settings-schema.json +46 -0
  95. package/schemas/charts/settings/chart-pie-settings-schema.json +90 -0
  96. package/schemas/charts/settings/chart-sankey-settings-schema.json +34 -0
  97. package/schemas/charts/settings/chart-scatter-bubble-settings-schema.json +31 -0
  98. package/schemas/charts/settings/chart-sequence-settings-schema.json +76 -0
  99. package/schemas/charts/settings/chart-singlestat-settings-schema.json +163 -0
  100. package/schemas/charts/settings/chart-table-settings-schema.json +184 -0
  101. package/schemas/charts/settings/chart-text-settings-schema.json +20 -0
  102. package/schemas/charts/settings/chart-toplist-settings-schema.json +117 -0
  103. package/schemas/charts/settings/chart-topology-settings-schema.json +71 -0
  104. package/schemas/charts/settings/chart-treemap-settings-schema.json +66 -0
  105. package/schemas/charts/settings/chart-worldmap-settings-schema.json +102 -0
  106. package/schemas/charts/settings/common-settings-schema.json +82 -0
  107. package/schemas/charts/settings/settings-alias-schema.json +47 -0
  108. package/schemas/charts/settings/settings-chart-type-schema.json +27 -0
  109. package/schemas/charts/settings/settings-colors-schema.json +46 -0
  110. package/schemas/charts/settings/settings-compare-schema.json +58 -0
  111. package/schemas/charts/settings/settings-fixed-time-schema.json +49 -0
  112. package/schemas/charts/settings/settings-levels-schema.json +33 -0
  113. package/schemas/charts/settings/settings-schema.json +79 -0
  114. package/schemas/charts/settings/settings-time-schema.json +47 -0
  115. package/schemas/charts/settings/settings-unit-items-schema.json +226 -0
  116. package/schemas/charts/settings/settings-units-schema.json +60 -0
  117. package/schemas/dashboard-schema.json +5 -0
  118. package/schemas/session-replay/browser/attribute-mutation-schema.json +21 -0
  119. package/schemas/session-replay/browser/attributes-schema.json +10 -0
  120. package/schemas/session-replay/browser/cdata-node-schema.json +19 -0
  121. package/schemas/session-replay/browser/creation-reason-schema.json +17 -0
  122. package/schemas/session-replay/browser/document-fragment-node-schema.json +35 -0
  123. package/schemas/session-replay/browser/document-node-schema.json +30 -0
  124. package/schemas/session-replay/browser/document-type-node-schema.json +28 -0
  125. package/schemas/session-replay/browser/element-node-schema.json +33 -0
  126. package/schemas/session-replay/browser/frustration-record-schema.json +49 -0
  127. package/schemas/session-replay/browser/full-snapshot-record-schema.json +26 -0
  128. package/schemas/session-replay/browser/incremental-data-schema.json +36 -0
  129. package/schemas/session-replay/browser/incremental-snapshot-record-schema.json +29 -0
  130. package/schemas/session-replay/browser/input-data-schema.json +27 -0
  131. package/schemas/session-replay/browser/input-state-schema.json +27 -0
  132. package/schemas/session-replay/browser/media-interaction-data-schema.json +23 -0
  133. package/schemas/session-replay/browser/media-interaction-schema.json +20 -0
  134. package/schemas/session-replay/browser/mouse-interaction-data-schema.json +23 -0
  135. package/schemas/session-replay/browser/mouse-interaction-schema.json +47 -0
  136. package/schemas/session-replay/browser/mouse-move-data-schema.json +23 -0
  137. package/schemas/session-replay/browser/mouse-position-schema.json +26 -0
  138. package/schemas/session-replay/browser/mutation-data-schema.json +23 -0
  139. package/schemas/session-replay/browser/mutation-payload-schema.json +42 -0
  140. package/schemas/session-replay/browser/node-added-mutation-schema.json +41 -0
  141. package/schemas/session-replay/browser/node-removed-mutation-schema.json +18 -0
  142. package/schemas/session-replay/browser/node-schema.json +28 -0
  143. package/schemas/session-replay/browser/record-schema.json +30 -0
  144. package/schemas/session-replay/browser/scroll-data-schema.json +23 -0
  145. package/schemas/session-replay/browser/scroll-position-schema.json +22 -0
  146. package/schemas/session-replay/browser/segment-metadata-schema.json +28 -0
  147. package/schemas/session-replay/browser/segment-schema.json +25 -0
  148. package/schemas/session-replay/browser/serialized-node-schema.json +15 -0
  149. package/schemas/session-replay/browser/serialized-node-with-id-schema.json +21 -0
  150. package/schemas/session-replay/browser/stylesheet-rule-add-schema.json +28 -0
  151. package/schemas/session-replay/browser/stylesheet-rule-data-schema.json +23 -0
  152. package/schemas/session-replay/browser/stylesheet-rule-delete-schema.json +24 -0
  153. package/schemas/session-replay/browser/stylesheet-rule-schema.json +29 -0
  154. package/schemas/session-replay/browser/stylesheet-schema.json +30 -0
  155. package/schemas/session-replay/browser/text-mutation-schema.json +27 -0
  156. package/schemas/session-replay/browser/text-node-schema.json +23 -0
  157. package/schemas/session-replay/common/_common-record-schema.json +14 -0
  158. package/schemas/session-replay/common/_common-segment-metadata-schema.json +30 -0
  159. package/schemas/session-replay/common/_slot-supported-common-record-schema.json +21 -0
  160. package/schemas/session-replay/common/focus-record-schema.json +34 -0
  161. package/schemas/session-replay/common/meta-record-schema.json +42 -0
  162. package/schemas/session-replay/common/pointer-interaction-data-schema.json +23 -0
  163. package/schemas/session-replay/common/pointer-interaction-schema.json +34 -0
  164. package/schemas/session-replay/common/segment-context-schema.json +46 -0
  165. package/schemas/session-replay/common/view-end-record-schema.json +23 -0
  166. package/schemas/session-replay/common/viewport-resize-data-schema.json +23 -0
  167. package/schemas/session-replay/common/viewport-resize-dimension-schema.json +18 -0
  168. package/schemas/session-replay/common/visual-viewport-record-schema.json +50 -0
  169. package/schemas/session-replay/full-snapshot-record-schema.json +14 -0
  170. package/schemas/session-replay/incremental-data-schema.json +14 -0
  171. package/schemas/session-replay/incremental-snapshot-record-schema.json +14 -0
  172. package/schemas/session-replay/mobile/_common-shape-wireframe-schema.json +22 -0
  173. package/schemas/session-replay/mobile/_common-shape-wireframe-update-schema.json +22 -0
  174. package/schemas/session-replay/mobile/_common-wireframe-schema.json +38 -0
  175. package/schemas/session-replay/mobile/_common-wireframe-update-schema.json +38 -0
  176. package/schemas/session-replay/mobile/full-snapshot-record-schema.json +38 -0
  177. package/schemas/session-replay/mobile/image-wireframe-schema.json +43 -0
  178. package/schemas/session-replay/mobile/image-wireframe-update-schema.json +43 -0
  179. package/schemas/session-replay/mobile/incremental-data-schema.json +21 -0
  180. package/schemas/session-replay/mobile/incremental-snapshot-record-schema.json +26 -0
  181. package/schemas/session-replay/mobile/mutation-data-schema.json +23 -0
  182. package/schemas/session-replay/mobile/mutation-payload-schema.json +55 -0
  183. package/schemas/session-replay/mobile/placeholder-wireframe-schema.json +28 -0
  184. package/schemas/session-replay/mobile/placeholder-wireframe-update-schema.json +28 -0
  185. package/schemas/session-replay/mobile/record-schema.json +27 -0
  186. package/schemas/session-replay/mobile/segment-metadata-schema.json +25 -0
  187. package/schemas/session-replay/mobile/segment-schema.json +25 -0
  188. package/schemas/session-replay/mobile/shape-border-schema.json +25 -0
  189. package/schemas/session-replay/mobile/shape-style-schema.json +29 -0
  190. package/schemas/session-replay/mobile/shape-wireframe-schema.json +23 -0
  191. package/schemas/session-replay/mobile/shape-wireframe-update-schema.json +23 -0
  192. package/schemas/session-replay/mobile/text-position-schema.json +57 -0
  193. package/schemas/session-replay/mobile/text-style-schema.json +31 -0
  194. package/schemas/session-replay/mobile/text-wireframe-schema.json +34 -0
  195. package/schemas/session-replay/mobile/text-wireframe-update-schema.json +34 -0
  196. package/schemas/session-replay/mobile/touch-data-schema.json +51 -0
  197. package/schemas/session-replay/mobile/webview-wireframe-schema.json +33 -0
  198. package/schemas/session-replay/mobile/webview-wireframe-update-schema.json +33 -0
  199. package/schemas/session-replay/mobile/wireframe-clip-schema.json +29 -0
  200. package/schemas/session-replay/mobile/wireframe-schema.json +24 -0
  201. package/schemas/session-replay/mobile/wireframe-update-mutation-schema.json +24 -0
  202. package/schemas/session-replay/mutation-data-schema.json +14 -0
  203. package/schemas/session-replay/mutation-payload-schema.json +14 -0
  204. package/schemas/session-replay/record-schema.json +14 -0
  205. package/schemas/session-replay/segment-metadata-schema.json +14 -0
  206. package/schemas/session-replay/segment-schema.json +15 -0
  207. package/schemas/session-replay-browser-schema.json +5 -0
  208. package/schemas/session-replay-mobile-schema.json +5 -0
  209. package/schemas/session-replay-schema.json +33 -0
  210. package/scripts/generate.mjs +96 -0
  211. package/scripts/utils.mjs +16 -0
  212. package/scripts/validate.mjs +144 -0
  213. package/tsconfig.cjs.json +7 -0
  214. package/tsconfig.esm.json +7 -0
  215. package/tsconfig.json +13 -0
  216. package/tsconfig.script.json +15 -0
@@ -0,0 +1,2841 @@
1
+ {
2
+ "title": "dcl-test1",
3
+ "dashboardType": "CUSTOM",
4
+ "dashboardExtend": {
5
+ "groupUnfoldStatus": {
6
+ "表格图": true
7
+ }
8
+ },
9
+ "dashboardMapping": [],
10
+ "dashboardOwnerType": "node",
11
+ "iconSet": {},
12
+ "dashboardBindSet": [],
13
+ "thumbnail": "",
14
+ "tagInfo": [],
15
+ "summary": "",
16
+ "main": {
17
+ "vars": [
18
+ {
19
+ "name": "指标",
20
+ "seq": 0,
21
+ "datasource": "ftinfluxdb",
22
+ "code": "host",
23
+ "type": "TAG",
24
+ "definition": {
25
+ "tag": "host",
26
+ "field": "",
27
+ "value": "",
28
+ "metric": "cpu",
29
+ "object": "",
30
+ "defaultVal": {
31
+ "label": "izbp152ke14timzud0du15z,myClient111",
32
+ "value": "izbp152ke14timzud0du15z,myClient111"
33
+ }
34
+ },
35
+ "valueSort": "asc",
36
+ "hide": 0,
37
+ "isHiddenAsterisk": 0,
38
+ "multiple": true,
39
+ "includeStar": true
40
+ },
41
+ {
42
+ "name": "DQL",
43
+ "seq": 1,
44
+ "datasource": "dataflux",
45
+ "code": "host1",
46
+ "type": "QUERY",
47
+ "definition": {
48
+ "tag": "",
49
+ "field": "",
50
+ "value": "xxxxxxx",
51
+ "metric": "",
52
+ "object": "",
53
+ "defaultVal": {
54
+ "label": "",
55
+ "value": ""
56
+ }
57
+ },
58
+ "valueSort": "asc",
59
+ "hide": 0,
60
+ "isHiddenAsterisk": 0,
61
+ "multiple": true,
62
+ "includeStar": true
63
+ },
64
+ {
65
+ "name": "基础对象",
66
+ "seq": 2,
67
+ "datasource": "object",
68
+ "code": "test3",
69
+ "type": "FIELD",
70
+ "definition": {
71
+ "tag": "",
72
+ "field": "host",
73
+ "value": "",
74
+ "metric": "",
75
+ "object": "host_processes",
76
+ "defaultVal": {
77
+ "label": "",
78
+ "value": ""
79
+ }
80
+ },
81
+ "valueSort": "asc",
82
+ "hide": 0,
83
+ "isHiddenAsterisk": 0,
84
+ "multiple": true,
85
+ "includeStar": true
86
+ },
87
+ {
88
+ "name": "资源目录",
89
+ "seq": 3,
90
+ "datasource": "custom_object",
91
+ "code": "test4",
92
+ "type": "FIELD",
93
+ "definition": {
94
+ "tag": "",
95
+ "field": "RegionId",
96
+ "value": "",
97
+ "metric": "",
98
+ "object": "aws_ecs",
99
+ "defaultVal": {
100
+ "label": "",
101
+ "value": ""
102
+ }
103
+ },
104
+ "valueSort": "asc",
105
+ "hide": 0,
106
+ "isHiddenAsterisk": 0,
107
+ "multiple": true,
108
+ "includeStar": true
109
+ },
110
+ {
111
+ "name": "PromQL",
112
+ "seq": 4,
113
+ "datasource": "dataflux",
114
+ "code": "test5",
115
+ "type": "PROMQL_QUERY",
116
+ "definition": {
117
+ "tag": "",
118
+ "field": "",
119
+ "value": "xxxxx",
120
+ "metric": "",
121
+ "object": "",
122
+ "defaultVal": {
123
+ "label": "",
124
+ "value": ""
125
+ }
126
+ },
127
+ "valueSort": "asc",
128
+ "hide": 0,
129
+ "isHiddenAsterisk": 0,
130
+ "multiple": true,
131
+ "includeStar": true
132
+ },
133
+ {
134
+ "name": "日志",
135
+ "seq": 5,
136
+ "datasource": "dataflux",
137
+ "code": "test6",
138
+ "type": "LOGGING",
139
+ "definition": {
140
+ "tag": "",
141
+ "field": "host",
142
+ "value": "",
143
+ "metric": "calico-node",
144
+ "object": "",
145
+ "logIndex": "test_index61802",
146
+ "defaultVal": {
147
+ "label": "",
148
+ "value": ""
149
+ }
150
+ },
151
+ "valueSort": "asc",
152
+ "hide": 0,
153
+ "isHiddenAsterisk": 0,
154
+ "multiple": true,
155
+ "includeStar": true
156
+ },
157
+ {
158
+ "name": "应用性能",
159
+ "seq": 6,
160
+ "datasource": "dataflux",
161
+ "code": "test7",
162
+ "type": "TRACING",
163
+ "definition": {
164
+ "tag": "",
165
+ "field": "host",
166
+ "value": "",
167
+ "metric": "",
168
+ "object": "",
169
+ "defaultVal": {
170
+ "label": "",
171
+ "value": ""
172
+ }
173
+ },
174
+ "valueSort": "asc",
175
+ "hide": 0,
176
+ "isHiddenAsterisk": 0,
177
+ "multiple": true,
178
+ "includeStar": true
179
+ },
180
+ {
181
+ "name": "用户访问",
182
+ "seq": 7,
183
+ "datasource": "dataflux",
184
+ "code": "test8",
185
+ "type": "RUM",
186
+ "definition": {
187
+ "tag": "",
188
+ "field": "action_id",
189
+ "value": "",
190
+ "metric": "action",
191
+ "object": "",
192
+ "defaultVal": {
193
+ "label": "",
194
+ "value": ""
195
+ }
196
+ },
197
+ "valueSort": "asc",
198
+ "hide": 0,
199
+ "isHiddenAsterisk": 0,
200
+ "multiple": true,
201
+ "includeStar": true
202
+ },
203
+ {
204
+ "name": "安全巡检",
205
+ "seq": 8,
206
+ "datasource": "dataflux",
207
+ "code": "test9",
208
+ "type": "SECURITY",
209
+ "definition": {
210
+ "tag": "",
211
+ "field": "status",
212
+ "value": "",
213
+ "metric": "",
214
+ "object": "",
215
+ "defaultVal": {
216
+ "label": "",
217
+ "value": ""
218
+ }
219
+ },
220
+ "valueSort": "asc",
221
+ "hide": 0,
222
+ "isHiddenAsterisk": 0,
223
+ "multiple": true,
224
+ "includeStar": true
225
+ },
226
+ {
227
+ "name": "自定义",
228
+ "seq": 9,
229
+ "datasource": "custom",
230
+ "code": "test10",
231
+ "type": "CUSTOM_LIST",
232
+ "definition": {
233
+ "tag": "",
234
+ "field": "",
235
+ "value": "aaa,ssss",
236
+ "metric": "",
237
+ "object": "",
238
+ "defaultVal": {
239
+ "label": "",
240
+ "value": ""
241
+ }
242
+ },
243
+ "valueSort": "asc",
244
+ "hide": 0,
245
+ "isHiddenAsterisk": 0,
246
+ "multiple": true,
247
+ "includeStar": true
248
+ }
249
+ ],
250
+ "charts": [
251
+ {
252
+ "extend": {
253
+ "settings": {
254
+ "alias": [
255
+ {
256
+ "key": "avg(load5s)",
257
+ "name": "avg(load5s)",
258
+ "alias": "{{tags}}"
259
+ }
260
+ ],
261
+ "units": [
262
+ {
263
+ "key": "avg(load5s)",
264
+ "name": "avg(load5s)",
265
+ "unit": "ddd",
266
+ "units": [
267
+ "custom",
268
+ "ddd"
269
+ ]
270
+ },
271
+ {
272
+ "key": "",
273
+ "name": "",
274
+ "unit": "",
275
+ "units": [
276
+ "custom",
277
+ ""
278
+ ]
279
+ }
280
+ ],
281
+ "colors": [
282
+ {
283
+ "key": "avg(load5s)",
284
+ "name": "avg(load5s)",
285
+ "color": "#498BFE"
286
+ }
287
+ ],
288
+ "levels": [],
289
+ "slimit": 20,
290
+ "showLine": false,
291
+ "unitType": "custom",
292
+ "chartType": "bar",
293
+ "fixedTime": "",
294
+ "isPercent": false,
295
+ "openStack": true,
296
+ "precision": "2",
297
+ "showLabel": false,
298
+ "showTitle": true,
299
+ "stackType": "time",
300
+ "titleDesc": "",
301
+ "globalUnit": [
302
+ "digital",
303
+ "b"
304
+ ],
305
+ "isSampling": true,
306
+ "compareType": [],
307
+ "openCompare": false,
308
+ "yAxixMaxVal": null,
309
+ "yAxixMinVal": null,
310
+ "aliasVersion": 2,
311
+ "connectNulls": true,
312
+ "legendValues": [
313
+ "first",
314
+ "last"
315
+ ],
316
+ "timeInterval": "auto",
317
+ "legendPostion": "bottom",
318
+ "maxPointCount": null,
319
+ "sorderByOrder": "desc",
320
+ "xAxisShowType": "time",
321
+ "isTimeInterval": true,
322
+ "changeWorkspace": false,
323
+ "currentChartType": "sequence",
324
+ "showFieldMapping": false,
325
+ "onlyShowGroupName": false,
326
+ "openThousandsSeparator": true,
327
+ "mainMeasurementQueryCode": "A"
328
+ },
329
+ "fixedTime": "",
330
+ "isRefresh": false
331
+ },
332
+ "group": {
333
+ "name": "时序图"
334
+ },
335
+ "name": "时序折线图",
336
+ "pos": {
337
+ "h": 12,
338
+ "w": 8,
339
+ "x": 0,
340
+ "y": 0
341
+ },
342
+ "type": "sequence",
343
+ "queries": [
344
+ {
345
+ "name": "",
346
+ "type": "sequence",
347
+ "unit": "",
348
+ "color": "",
349
+ "qtype": "dql",
350
+ "query": {
351
+ "q": "M::`cpu`:(avg(`load5s`))",
352
+ "code": "A",
353
+ "fill": null,
354
+ "type": "simple",
355
+ "alias": "",
356
+ "field": "load5s",
357
+ "filters": [],
358
+ "groupBy": [],
359
+ "funcList": [],
360
+ "fieldFunc": "avg",
361
+ "fieldType": "float",
362
+ "namespace": "metric",
363
+ "dataSource": "cpu",
364
+ "queryFuncs": [],
365
+ "groupByTime": "",
366
+ "indexFilter": "",
367
+ "additionalFields": null
368
+ },
369
+ "datasource": "dataflux"
370
+ }
371
+ ]
372
+ },
373
+ {
374
+ "extend": {
375
+ "settings": {
376
+ "alias": [],
377
+ "units": [],
378
+ "colors": [],
379
+ "levels": [],
380
+ "slimit": 20,
381
+ "showLine": false,
382
+ "unitType": "global",
383
+ "chartType": "areaLine",
384
+ "fixedTime": "",
385
+ "isPercent": false,
386
+ "openStack": false,
387
+ "precision": "2",
388
+ "showLabel": false,
389
+ "showTitle": true,
390
+ "stackType": "time",
391
+ "titleDesc": "",
392
+ "globalUnit": [],
393
+ "isSampling": true,
394
+ "compareType": [],
395
+ "openCompare": false,
396
+ "yAxixMaxVal": null,
397
+ "yAxixMinVal": null,
398
+ "connectNulls": true,
399
+ "legendValues": "",
400
+ "timeInterval": "auto",
401
+ "legendPostion": "none",
402
+ "maxPointCount": null,
403
+ "sorderByOrder": "desc",
404
+ "xAxisShowType": "time",
405
+ "isTimeInterval": true,
406
+ "changeWorkspace": false,
407
+ "currentChartType": "sequence",
408
+ "showFieldMapping": false,
409
+ "onlyShowGroupName": false,
410
+ "openThousandsSeparator": true,
411
+ "mainMeasurementQueryCode": "A"
412
+ },
413
+ "fixedTime": ""
414
+ },
415
+ "group": {
416
+ "name": "时序图"
417
+ },
418
+ "name": "时序面积图",
419
+ "pos": {
420
+ "h": 12,
421
+ "w": 8,
422
+ "x": 8,
423
+ "y": 0
424
+ },
425
+ "type": "sequence",
426
+ "queries": [
427
+ {
428
+ "name": "",
429
+ "type": "sequence",
430
+ "unit": "",
431
+ "color": "",
432
+ "qtype": "dql",
433
+ "query": {
434
+ "q": "M::`cpu`:(avg(`load5s`))",
435
+ "code": "A",
436
+ "fill": null,
437
+ "type": "simple",
438
+ "alias": "",
439
+ "field": "load5s",
440
+ "filters": [],
441
+ "groupBy": [],
442
+ "funcList": [],
443
+ "fieldFunc": "avg",
444
+ "fieldType": "float",
445
+ "namespace": "metric",
446
+ "dataSource": "cpu",
447
+ "queryFuncs": [],
448
+ "groupByTime": "",
449
+ "indexFilter": "",
450
+ "additionalFields": null
451
+ },
452
+ "datasource": "dataflux"
453
+ }
454
+ ]
455
+ },
456
+ {
457
+ "extend": {
458
+ "settings": {
459
+ "alias": [],
460
+ "units": [],
461
+ "colors": [],
462
+ "levels": [],
463
+ "slimit": 20,
464
+ "showLine": false,
465
+ "unitType": "global",
466
+ "chartType": "bar",
467
+ "fixedTime": "",
468
+ "isPercent": false,
469
+ "openStack": false,
470
+ "precision": "2",
471
+ "showLabel": false,
472
+ "showTitle": true,
473
+ "stackType": "time",
474
+ "titleDesc": "",
475
+ "globalUnit": [],
476
+ "isSampling": true,
477
+ "compareType": [],
478
+ "openCompare": false,
479
+ "yAxixMaxVal": null,
480
+ "yAxixMinVal": null,
481
+ "connectNulls": true,
482
+ "legendValues": "",
483
+ "timeInterval": "auto",
484
+ "legendPostion": "none",
485
+ "maxPointCount": null,
486
+ "sorderByOrder": "desc",
487
+ "xAxisShowType": "time",
488
+ "isTimeInterval": true,
489
+ "changeWorkspace": false,
490
+ "currentChartType": "sequence",
491
+ "showFieldMapping": false,
492
+ "onlyShowGroupName": false,
493
+ "openThousandsSeparator": true,
494
+ "mainMeasurementQueryCode": "A"
495
+ },
496
+ "fixedTime": ""
497
+ },
498
+ "group": {
499
+ "name": "时序图"
500
+ },
501
+ "name": "时序柱状图",
502
+ "pos": {
503
+ "h": 12,
504
+ "w": 8,
505
+ "x": 16,
506
+ "y": 0
507
+ },
508
+ "type": "sequence",
509
+ "queries": [
510
+ {
511
+ "name": "",
512
+ "type": "sequence",
513
+ "unit": "",
514
+ "color": "",
515
+ "qtype": "dql",
516
+ "query": {
517
+ "q": "M::`cpu`:(avg(`load5s`))",
518
+ "code": "A",
519
+ "fill": null,
520
+ "type": "simple",
521
+ "alias": "",
522
+ "field": "load5s",
523
+ "filters": [],
524
+ "groupBy": [],
525
+ "funcList": [],
526
+ "fieldFunc": "avg",
527
+ "fieldType": "float",
528
+ "namespace": "metric",
529
+ "dataSource": "cpu",
530
+ "queryFuncs": [],
531
+ "groupByTime": "",
532
+ "indexFilter": "",
533
+ "additionalFields": null
534
+ },
535
+ "datasource": "dataflux"
536
+ }
537
+ ]
538
+ },
539
+ {
540
+ "extend": {
541
+ "settings": {
542
+ "alias": [],
543
+ "units": [],
544
+ "colors": [],
545
+ "levels": [
546
+ {
547
+ "value": [
548
+ "2"
549
+ ],
550
+ "bgColor": "#5F67D6",
551
+ "fontColor": "#2D8CF0",
552
+ "lineColor": "",
553
+ "operation": "="
554
+ }
555
+ ],
556
+ "bgColor": "#5F67D6",
557
+ "compares": [
558
+ {
559
+ "label": "小时同比",
560
+ "value": "hourCompare"
561
+ },
562
+ {
563
+ "label": "日同比",
564
+ "value": "dayCompare"
565
+ }
566
+ ],
567
+ "mappings": [
568
+ {
569
+ "operation": "=",
570
+ "mappingVal": "2222",
571
+ "originalVal": [
572
+ "2"
573
+ ]
574
+ }
575
+ ],
576
+ "showLine": true,
577
+ "unitType": "global",
578
+ "fixedTime": "",
579
+ "fontColor": "#F97575",
580
+ "lineColor": "#3AB8FF",
581
+ "precision": "2",
582
+ "showTitle": true,
583
+ "titleDesc": "",
584
+ "downsample": "last",
585
+ "globalUnit": [],
586
+ "isSampling": true,
587
+ "compareType": [
588
+ "hourCompare",
589
+ "dayCompare"
590
+ ],
591
+ "openCompare": true,
592
+ "showLineAxis": true,
593
+ "timeInterval": "auto",
594
+ "isTimeInterval": false,
595
+ "changeWorkspace": false,
596
+ "compareChartType": "singlestat",
597
+ "currentChartType": "singlestat",
598
+ "showFieldMapping": false,
599
+ "sequenceChartType": "bar",
600
+ "openThousandsSeparator": true
601
+ },
602
+ "fixedTime": "",
603
+ "isRefresh": true
604
+ },
605
+ "group": {
606
+ "name": "概览图"
607
+ },
608
+ "name": "概览图",
609
+ "pos": {
610
+ "h": 9,
611
+ "w": 24,
612
+ "x": 0,
613
+ "y": 0
614
+ },
615
+ "type": "singlestat",
616
+ "queries": [
617
+ {
618
+ "name": "",
619
+ "type": "singlestat",
620
+ "unit": "",
621
+ "color": "",
622
+ "qtype": "dql",
623
+ "query": {
624
+ "q": "M::`cpu`:(avg(`load5s`))",
625
+ "code": "A",
626
+ "fill": null,
627
+ "type": "simple",
628
+ "alias": "",
629
+ "field": "load5s",
630
+ "filters": [],
631
+ "groupBy": [],
632
+ "funcList": [],
633
+ "fieldFunc": "avg",
634
+ "fieldType": "float",
635
+ "namespace": "metric",
636
+ "dataSource": "cpu",
637
+ "queryFuncs": [],
638
+ "groupByTime": "",
639
+ "indexFilter": "",
640
+ "additionalFields": null
641
+ },
642
+ "datasource": "dataflux"
643
+ }
644
+ ]
645
+ },
646
+ {
647
+ "extend": {
648
+ "settings": {
649
+ "alias": [],
650
+ "units": [],
651
+ "colors": [],
652
+ "levels": [],
653
+ "slimit": 20,
654
+ "combine": {
655
+ "percent": "12",
656
+ "operator": "lt"
657
+ },
658
+ "percent": "12",
659
+ "operator": "lt",
660
+ "unitType": "global",
661
+ "chartType": "pie",
662
+ "fixedTime": "",
663
+ "precision": "2",
664
+ "showTitle": true,
665
+ "titleDesc": "",
666
+ "undefined": "percent:12",
667
+ "globalUnit": [],
668
+ "isSampling": true,
669
+ "otherColor": "#F56610",
670
+ "timeInterval": "auto",
671
+ "enableCombine": true,
672
+ "legendPostion": "bottom",
673
+ "isTimeInterval": false,
674
+ "changeWorkspace": false,
675
+ "currentChartType": "pie",
676
+ "showFieldMapping": false,
677
+ "onlyShowGroupName": false,
678
+ "mainMeasurementSort": "top",
679
+ "mainMeasurementLimit": 20,
680
+ "openThousandsSeparator": true,
681
+ "chartCombineDefaultColor": "#F56610",
682
+ "mainMeasurementQueryCode": "A"
683
+ },
684
+ "fixedTime": "",
685
+ "isRefresh": false
686
+ },
687
+ "group": {
688
+ "name": "饼图"
689
+ },
690
+ "name": "饼图",
691
+ "pos": {
692
+ "h": 10,
693
+ "w": 24,
694
+ "x": 0,
695
+ "y": 0
696
+ },
697
+ "type": "pie",
698
+ "queries": [
699
+ {
700
+ "name": "",
701
+ "type": "pie",
702
+ "unit": "",
703
+ "color": "",
704
+ "qtype": "dql",
705
+ "query": {
706
+ "q": "M::`cpu`:(avg(`load5s`)) BY `host`",
707
+ "code": "A",
708
+ "fill": null,
709
+ "type": "simple",
710
+ "alias": "",
711
+ "field": "load5s",
712
+ "filters": [],
713
+ "groupBy": [
714
+ "host"
715
+ ],
716
+ "funcList": [],
717
+ "fieldFunc": "avg",
718
+ "fieldType": "float",
719
+ "namespace": "metric",
720
+ "dataSource": "cpu",
721
+ "queryFuncs": [],
722
+ "groupByTime": "",
723
+ "indexFilter": "",
724
+ "additionalFields": null
725
+ },
726
+ "datasource": "dataflux"
727
+ }
728
+ ]
729
+ },
730
+ {
731
+ "extend": {
732
+ "settings": {
733
+ "alias": [],
734
+ "units": [],
735
+ "colors": [],
736
+ "levels": [],
737
+ "topSize": 10,
738
+ "showLine": false,
739
+ "unitType": "global",
740
+ "direction": "horizontal",
741
+ "fixedTime": "",
742
+ "openStack": true,
743
+ "precision": "2",
744
+ "showTitle": true,
745
+ "stackType": "percent",
746
+ "titleDesc": "",
747
+ "globalUnit": [],
748
+ "isSampling": true,
749
+ "openCompare": false,
750
+ "showTopSize": false,
751
+ "stackContent": "index",
752
+ "timeInterval": "auto",
753
+ "xAxisShowType": "groupBy",
754
+ "isTimeInterval": false,
755
+ "changeWorkspace": false,
756
+ "currentChartType": "bar",
757
+ "showFieldMapping": false,
758
+ "showTopWithMetric": "",
759
+ "openThousandsSeparator": true
760
+ },
761
+ "fixedTime": "",
762
+ "isRefresh": false
763
+ },
764
+ "group": {
765
+ "name": "柱状图"
766
+ },
767
+ "name": "柱状图",
768
+ "pos": {
769
+ "h": 11,
770
+ "w": 12,
771
+ "x": 0,
772
+ "y": 0
773
+ },
774
+ "type": "bar",
775
+ "queries": [
776
+ {
777
+ "name": "",
778
+ "type": "bar",
779
+ "unit": "",
780
+ "color": "",
781
+ "qtype": "dql",
782
+ "query": {
783
+ "q": "M::`cpu`:(avg(`load5s`)) BY `host`",
784
+ "code": "A",
785
+ "fill": null,
786
+ "type": "simple",
787
+ "alias": "",
788
+ "field": "load5s",
789
+ "filters": [],
790
+ "groupBy": [
791
+ "host"
792
+ ],
793
+ "funcList": [],
794
+ "fieldFunc": "avg",
795
+ "fieldType": "float",
796
+ "namespace": "metric",
797
+ "dataSource": "cpu",
798
+ "queryFuncs": [],
799
+ "groupByTime": "",
800
+ "indexFilter": "",
801
+ "additionalFields": null
802
+ },
803
+ "datasource": "dataflux"
804
+ }
805
+ ]
806
+ },
807
+ {
808
+ "extend": {
809
+ "settings": {
810
+ "alias": [
811
+ {
812
+ "key": "avg(load5s){host: myClient111}",
813
+ "name": "avg(load5s){host: myClient111}",
814
+ "alias": "1sadfasdfasdfsadfasdfasdfsadfasdfasdfsadfasdfasdfsadfasdfasdf"
815
+ }
816
+ ],
817
+ "units": [],
818
+ "colors": [],
819
+ "levels": [],
820
+ "topSize": 10,
821
+ "showLine": false,
822
+ "unitType": "global",
823
+ "direction": "horizontal",
824
+ "fixedTime": "",
825
+ "openStack": false,
826
+ "precision": "2",
827
+ "showTitle": true,
828
+ "stackType": "time",
829
+ "titleDesc": "",
830
+ "globalUnit": [],
831
+ "isSampling": true,
832
+ "openCompare": false,
833
+ "showTopSize": false,
834
+ "aliasVersion": 2,
835
+ "stackContent": "group",
836
+ "timeInterval": "auto",
837
+ "xAxisShowType": "groupBy",
838
+ "isTimeInterval": false,
839
+ "changeWorkspace": false,
840
+ "currentChartType": "bar",
841
+ "showFieldMapping": false,
842
+ "showTopWithMetric": "",
843
+ "openThousandsSeparator": true
844
+ },
845
+ "fixedTime": "",
846
+ "isRefresh": false
847
+ },
848
+ "group": {
849
+ "name": "柱状图"
850
+ },
851
+ "name": "条形图",
852
+ "pos": {
853
+ "h": 11,
854
+ "w": 12,
855
+ "x": 12,
856
+ "y": 0
857
+ },
858
+ "type": "bar",
859
+ "queries": [
860
+ {
861
+ "name": "",
862
+ "type": "bar",
863
+ "unit": "",
864
+ "color": "",
865
+ "qtype": "dql",
866
+ "query": {
867
+ "q": "M::`cpu`:(avg(`load5s`)) BY `host`",
868
+ "code": "A",
869
+ "fill": null,
870
+ "type": "simple",
871
+ "alias": "",
872
+ "field": "load5s",
873
+ "filters": [],
874
+ "groupBy": [
875
+ "host"
876
+ ],
877
+ "funcList": [],
878
+ "fieldFunc": "avg",
879
+ "fieldType": "float",
880
+ "namespace": "metric",
881
+ "dataSource": "cpu",
882
+ "queryFuncs": [],
883
+ "groupByTime": "",
884
+ "indexFilter": "",
885
+ "additionalFields": null
886
+ },
887
+ "datasource": "dataflux"
888
+ }
889
+ ]
890
+ },
891
+ {
892
+ "extend": {
893
+ "settings": {
894
+ "alias": [],
895
+ "units": [],
896
+ "colors": [],
897
+ "levels": [],
898
+ "unitType": "global",
899
+ "chartType": "histogram",
900
+ "direction": "vertical",
901
+ "fixedTime": "",
902
+ "precision": "2",
903
+ "showTitle": true,
904
+ "titleDesc": "",
905
+ "globalUnit": [],
906
+ "isSampling": true,
907
+ "timeInterval": "auto",
908
+ "legendPostion": "none",
909
+ "isTimeInterval": false,
910
+ "changeWorkspace": false,
911
+ "currentChartType": "histogram",
912
+ "showFieldMapping": false,
913
+ "openThousandsSeparator": true
914
+ },
915
+ "fixedTime": "",
916
+ "isRefresh": false
917
+ },
918
+ "group": {
919
+ "name": "直方图"
920
+ },
921
+ "name": "直方图",
922
+ "pos": {
923
+ "h": 12,
924
+ "w": 24,
925
+ "x": 0,
926
+ "y": 0
927
+ },
928
+ "type": "histogram",
929
+ "queries": [
930
+ {
931
+ "name": "",
932
+ "type": "histogram",
933
+ "unit": "",
934
+ "color": "",
935
+ "qtype": "dql",
936
+ "query": {
937
+ "q": "L('default')::RE(`.*`):(count(`field_int`))",
938
+ "code": "A",
939
+ "fill": null,
940
+ "type": "simple",
941
+ "alias": "",
942
+ "field": "field_int",
943
+ "filters": [],
944
+ "groupBy": [],
945
+ "funcList": [],
946
+ "fieldFunc": "count",
947
+ "fieldType": "long",
948
+ "namespace": "logging",
949
+ "dataSource": "*",
950
+ "queryFuncs": [],
951
+ "groupByTime": "",
952
+ "indexFilter": "default",
953
+ "additionalFields": null
954
+ },
955
+ "datasource": "dataflux"
956
+ }
957
+ ]
958
+ },
959
+ {
960
+ "extend": {
961
+ "settings": {
962
+ "bar": {
963
+ "direction": "horizontal",
964
+ "xAxisShowType": "groupBy"
965
+ },
966
+ "alias": [],
967
+ "color": "#498bfe",
968
+ "table": {
969
+ "queryMode": "toGroupColumn"
970
+ },
971
+ "units": [],
972
+ "colors": [],
973
+ "levels": [
974
+ {
975
+ "title": "2",
976
+ "value": 1,
977
+ "bgColor": "#498BFE"
978
+ }
979
+ ],
980
+ "slimit": 20,
981
+ "topSize": 10,
982
+ "unitType": "global",
983
+ "chartType": "bar",
984
+ "fixedTime": "",
985
+ "precision": "2",
986
+ "showTitle": true,
987
+ "titleDesc": "",
988
+ "undefined": [],
989
+ "globalUnit": [],
990
+ "isSampling": true,
991
+ "openCompare": false,
992
+ "showTopSize": true,
993
+ "timeInterval": "auto",
994
+ "colorMappings": [
995
+ {
996
+ "value": [
997
+ 1,
998
+ 1
999
+ ],
1000
+ "bgColor": "",
1001
+ "fontColor": "",
1002
+ "lineColor": "",
1003
+ "operation": "between"
1004
+ }
1005
+ ],
1006
+ "showTableHead": true,
1007
+ "tableSortType": "top",
1008
+ "isTimeInterval": false,
1009
+ "changeWorkspace": false,
1010
+ "currentChartType": "toplist",
1011
+ "showFieldMapping": false,
1012
+ "mainMeasurementSort": "top",
1013
+ "tableSortMetricName": "",
1014
+ "mainMeasurementLimit": 20,
1015
+ "openThousandsSeparator": true,
1016
+ "mainMeasurementQueryCode": "A"
1017
+ },
1018
+ "fixedTime": "",
1019
+ "isRefresh": false
1020
+ },
1021
+ "group": {
1022
+ "name": "排行榜"
1023
+ },
1024
+ "name": "排行榜",
1025
+ "pos": {
1026
+ "h": 14,
1027
+ "w": 24,
1028
+ "x": 0,
1029
+ "y": 0
1030
+ },
1031
+ "type": "toplist",
1032
+ "queries": [
1033
+ {
1034
+ "name": "",
1035
+ "type": "toplist",
1036
+ "unit": "",
1037
+ "color": "",
1038
+ "qtype": "dql",
1039
+ "query": {
1040
+ "q": "M::`cpu`:(avg(`load5s`)) BY `host`",
1041
+ "code": "A",
1042
+ "fill": null,
1043
+ "type": "simple",
1044
+ "alias": "",
1045
+ "field": "load5s",
1046
+ "filters": [],
1047
+ "groupBy": [
1048
+ "host"
1049
+ ],
1050
+ "funcList": [],
1051
+ "fieldFunc": "avg",
1052
+ "fieldType": "float",
1053
+ "namespace": "metric",
1054
+ "dataSource": "cpu",
1055
+ "queryFuncs": [],
1056
+ "groupByTime": "",
1057
+ "indexFilter": "",
1058
+ "additionalFields": null
1059
+ },
1060
+ "datasource": "dataflux"
1061
+ }
1062
+ ]
1063
+ },
1064
+ {
1065
+ "extend": {
1066
+ "settings": {
1067
+ "max": 100,
1068
+ "min": 0,
1069
+ "alias": [],
1070
+ "units": [],
1071
+ "colors": [],
1072
+ "levels": [
1073
+ {
1074
+ "value": [
1075
+ 20
1076
+ ],
1077
+ "lineColor": "#498BFE",
1078
+ "operation": "<="
1079
+ },
1080
+ {
1081
+ "value": [
1082
+ 80
1083
+ ],
1084
+ "lineColor": "#41CEC7",
1085
+ "operation": "<="
1086
+ },
1087
+ {
1088
+ "value": [
1089
+ 100
1090
+ ],
1091
+ "lineColor": "#FFBD5F",
1092
+ "operation": "<="
1093
+ }
1094
+ ],
1095
+ "unitType": "global",
1096
+ "fixedTime": "",
1097
+ "showTitle": true,
1098
+ "titleDesc": "",
1099
+ "globalUnit": [],
1100
+ "isSampling": true,
1101
+ "timeInterval": "auto",
1102
+ "isTimeInterval": false,
1103
+ "changeWorkspace": false,
1104
+ "currentChartType": "gauge",
1105
+ "showFieldMapping": false
1106
+ },
1107
+ "fixedTime": "",
1108
+ "isRefresh": false
1109
+ },
1110
+ "group": {
1111
+ "name": "仪表板"
1112
+ },
1113
+ "name": "仪表盘",
1114
+ "pos": {
1115
+ "h": 15,
1116
+ "w": 24,
1117
+ "x": 0,
1118
+ "y": 0
1119
+ },
1120
+ "type": "gauge",
1121
+ "queries": [
1122
+ {
1123
+ "name": "",
1124
+ "type": "gauge",
1125
+ "unit": "",
1126
+ "color": "",
1127
+ "qtype": "dql",
1128
+ "query": {
1129
+ "q": "M::`cpu`:(avg(`load5s`)) BY `host`",
1130
+ "code": "A",
1131
+ "fill": null,
1132
+ "type": "simple",
1133
+ "alias": "",
1134
+ "field": "load5s",
1135
+ "filters": [],
1136
+ "groupBy": [
1137
+ "host"
1138
+ ],
1139
+ "funcList": [],
1140
+ "fieldFunc": "avg",
1141
+ "fieldType": "float",
1142
+ "namespace": "metric",
1143
+ "dataSource": "cpu",
1144
+ "queryFuncs": [],
1145
+ "groupByTime": "",
1146
+ "indexFilter": "",
1147
+ "additionalFields": null
1148
+ },
1149
+ "datasource": "dataflux"
1150
+ }
1151
+ ]
1152
+ },
1153
+ {
1154
+ "extend": {
1155
+ "settings": {
1156
+ "alias": [],
1157
+ "units": [],
1158
+ "colors": [],
1159
+ "levels": [],
1160
+ "xQuery": {
1161
+ "name": "",
1162
+ "index": null
1163
+ },
1164
+ "yQuery": {
1165
+ "name": "",
1166
+ "index": null
1167
+ },
1168
+ "unitType": "global",
1169
+ "chartType": "",
1170
+ "fixedTime": "",
1171
+ "precision": "2",
1172
+ "showTitle": true,
1173
+ "titleDesc": "",
1174
+ "globalUnit": [],
1175
+ "isSampling": true,
1176
+ "timeInterval": "auto",
1177
+ "isTimeInterval": false,
1178
+ "bubbleSizeQuery": {
1179
+ "name": "",
1180
+ "index": null
1181
+ },
1182
+ "changeWorkspace": false,
1183
+ "showFieldMapping": false,
1184
+ "openThousandsSeparator": true
1185
+ },
1186
+ "fixedTime": ""
1187
+ },
1188
+ "group": {
1189
+ "name": "散点图"
1190
+ },
1191
+ "name": "散点图",
1192
+ "pos": {
1193
+ "h": 14,
1194
+ "w": 24,
1195
+ "x": 0,
1196
+ "y": 0
1197
+ },
1198
+ "type": "scatter",
1199
+ "queries": [
1200
+ {
1201
+ "name": "",
1202
+ "type": "scatter",
1203
+ "unit": "",
1204
+ "color": "",
1205
+ "qtype": "dql",
1206
+ "query": {
1207
+ "q": "M::`cpu`:(avg(`load5s`)) BY `host`",
1208
+ "code": "x",
1209
+ "fill": null,
1210
+ "type": "simple",
1211
+ "alias": "",
1212
+ "field": "load5s",
1213
+ "filters": [],
1214
+ "groupBy": [
1215
+ "host"
1216
+ ],
1217
+ "funcList": [],
1218
+ "fieldFunc": "avg",
1219
+ "fieldType": "float",
1220
+ "namespace": "metric",
1221
+ "dataSource": "cpu",
1222
+ "queryFuncs": [],
1223
+ "groupByTime": "",
1224
+ "indexFilter": "",
1225
+ "additionalFields": null,
1226
+ "codeLabelI18NKey": "dql.x_axis"
1227
+ },
1228
+ "datasource": "dataflux"
1229
+ },
1230
+ {
1231
+ "name": "",
1232
+ "type": "scatter",
1233
+ "unit": "",
1234
+ "color": "",
1235
+ "qtype": "dql",
1236
+ "query": {
1237
+ "q": "M::`cpu`:(avg(`usage_idle`)) BY `host`",
1238
+ "code": "y",
1239
+ "fill": null,
1240
+ "type": "simple",
1241
+ "alias": "",
1242
+ "field": "usage_idle",
1243
+ "filters": [],
1244
+ "groupBy": [
1245
+ "host"
1246
+ ],
1247
+ "funcList": [],
1248
+ "fieldFunc": "avg",
1249
+ "fieldType": "float",
1250
+ "namespace": "metric",
1251
+ "dataSource": "cpu",
1252
+ "queryFuncs": [],
1253
+ "groupByTime": "",
1254
+ "indexFilter": "",
1255
+ "additionalFields": null,
1256
+ "codeLabelI18NKey": "dql.y_axis"
1257
+ },
1258
+ "datasource": "dataflux"
1259
+ }
1260
+ ]
1261
+ },
1262
+ {
1263
+ "extend": {
1264
+ "settings": {
1265
+ "alias": [],
1266
+ "units": [],
1267
+ "colors": [],
1268
+ "levels": [],
1269
+ "xQuery": {
1270
+ "name": "",
1271
+ "index": null
1272
+ },
1273
+ "yQuery": {
1274
+ "name": "",
1275
+ "index": null
1276
+ },
1277
+ "unitType": "global",
1278
+ "chartType": "",
1279
+ "fixedTime": "",
1280
+ "precision": "2",
1281
+ "showTitle": true,
1282
+ "titleDesc": "",
1283
+ "globalUnit": [],
1284
+ "isSampling": true,
1285
+ "timeInterval": "auto",
1286
+ "isTimeInterval": false,
1287
+ "bubbleSizeQuery": {
1288
+ "name": "",
1289
+ "index": null
1290
+ },
1291
+ "changeWorkspace": false,
1292
+ "currentChartType": "bubble",
1293
+ "showFieldMapping": false,
1294
+ "openThousandsSeparator": true
1295
+ },
1296
+ "fixedTime": "",
1297
+ "isRefresh": false
1298
+ },
1299
+ "group": {
1300
+ "name": "气泡图"
1301
+ },
1302
+ "name": "气泡图",
1303
+ "pos": {
1304
+ "h": 14,
1305
+ "w": 24,
1306
+ "x": 0,
1307
+ "y": 0
1308
+ },
1309
+ "type": "bubble",
1310
+ "queries": [
1311
+ {
1312
+ "name": "",
1313
+ "type": "bubble",
1314
+ "unit": "",
1315
+ "color": "",
1316
+ "qtype": "dql",
1317
+ "query": {
1318
+ "q": "M::`cpu`:(avg(`load5s`)) BY `host`",
1319
+ "code": "x",
1320
+ "fill": null,
1321
+ "type": "simple",
1322
+ "alias": "",
1323
+ "field": "load5s",
1324
+ "filters": [],
1325
+ "groupBy": [
1326
+ "host"
1327
+ ],
1328
+ "funcList": [],
1329
+ "fieldFunc": "avg",
1330
+ "fieldType": "float",
1331
+ "namespace": "metric",
1332
+ "dataSource": "cpu",
1333
+ "queryFuncs": [],
1334
+ "groupByTime": "",
1335
+ "indexFilter": "",
1336
+ "additionalFields": null,
1337
+ "codeLabelI18NKey": "dql.x_axis"
1338
+ },
1339
+ "datasource": "dataflux"
1340
+ },
1341
+ {
1342
+ "name": "",
1343
+ "type": "bubble",
1344
+ "unit": "",
1345
+ "color": "",
1346
+ "qtype": "dql",
1347
+ "query": {
1348
+ "q": "M::`cpu`:(avg(`usage_idle`)) BY `host`",
1349
+ "code": "y",
1350
+ "fill": null,
1351
+ "type": "simple",
1352
+ "alias": "",
1353
+ "field": "usage_idle",
1354
+ "filters": [],
1355
+ "groupBy": [
1356
+ "host"
1357
+ ],
1358
+ "funcList": [],
1359
+ "fieldFunc": "avg",
1360
+ "fieldType": "float",
1361
+ "namespace": "metric",
1362
+ "dataSource": "cpu",
1363
+ "queryFuncs": [],
1364
+ "groupByTime": "",
1365
+ "indexFilter": "",
1366
+ "additionalFields": null,
1367
+ "codeLabelI18NKey": "dql.y_axis"
1368
+ },
1369
+ "datasource": "dataflux"
1370
+ },
1371
+ {
1372
+ "name": "",
1373
+ "type": "bubble",
1374
+ "unit": "",
1375
+ "color": "",
1376
+ "qtype": "dql",
1377
+ "query": {
1378
+ "q": "M::`cpu`:(avg(`usage_irq`)) BY `host`",
1379
+ "code": "size",
1380
+ "fill": null,
1381
+ "type": "simple",
1382
+ "alias": "",
1383
+ "field": "usage_irq",
1384
+ "filters": [],
1385
+ "groupBy": [
1386
+ "host"
1387
+ ],
1388
+ "funcList": [],
1389
+ "fieldFunc": "avg",
1390
+ "fieldType": "float",
1391
+ "namespace": "metric",
1392
+ "dataSource": "cpu",
1393
+ "queryFuncs": [],
1394
+ "groupByTime": "",
1395
+ "indexFilter": "",
1396
+ "additionalFields": null,
1397
+ "codeLabelI18NKey": "dql.size"
1398
+ },
1399
+ "datasource": "dataflux"
1400
+ }
1401
+ ]
1402
+ },
1403
+ {
1404
+ "extend": {
1405
+ "settings": {
1406
+ "alias": [],
1407
+ "units": [
1408
+ {
1409
+ "key": "first(mem_used_percent)",
1410
+ "name": "first(mem_used_percent)",
1411
+ "unit": "",
1412
+ "units": [
1413
+ "percent",
1414
+ "percent"
1415
+ ]
1416
+ }
1417
+ ],
1418
+ "colors": [],
1419
+ "levels": [],
1420
+ "slimit": 20,
1421
+ "pageSize": 0,
1422
+ "unitType": "custom",
1423
+ "fixedTime": "",
1424
+ "precision": "2",
1425
+ "queryMode": "toGroupColumn",
1426
+ "showTitle": true,
1427
+ "titleDesc": "",
1428
+ "globalUnit": [],
1429
+ "isSampling": true,
1430
+ "showColumns": [],
1431
+ "valMappings": [
1432
+ {
1433
+ "field": "first(mem_used_percent)",
1434
+ "operation": "=",
1435
+ "mappingVal": "333",
1436
+ "originalVal": [
1437
+ "0"
1438
+ ]
1439
+ }
1440
+ ],
1441
+ "timeInterval": "auto",
1442
+ "isTimeInterval": false,
1443
+ "changeWorkspace": false,
1444
+ "disableFuncList": false,
1445
+ "currentChartType": "table",
1446
+ "showFieldMapping": false,
1447
+ "valColorMappings": [
1448
+ {
1449
+ "field": "first(mem_used_percent)",
1450
+ "value": [
1451
+ "0"
1452
+ ],
1453
+ "bgColor": "",
1454
+ "fontColor": "",
1455
+ "lineColor": "",
1456
+ "operation": "="
1457
+ }
1458
+ ],
1459
+ "mainMeasurementSort": "top",
1460
+ "mainMeasurementLimit": 20,
1461
+ "openThousandsSeparator": false,
1462
+ "mainMeasurementQueryCode": "A"
1463
+ },
1464
+ "fixedTime": "",
1465
+ "isRefresh": false
1466
+ },
1467
+ "group": {
1468
+ "name": "表格图"
1469
+ },
1470
+ "name": "分组表格图",
1471
+ "pos": {
1472
+ "h": 18,
1473
+ "w": 12,
1474
+ "x": 0,
1475
+ "y": 0
1476
+ },
1477
+ "type": "table",
1478
+ "queries": [
1479
+ {
1480
+ "name": "",
1481
+ "type": "table",
1482
+ "unit": "",
1483
+ "color": "",
1484
+ "qtype": "dql",
1485
+ "query": {
1486
+ "q": "O::`HOST`:(first(`mem_used_percent`)) BY `host`",
1487
+ "code": "A",
1488
+ "fill": "",
1489
+ "type": "simple",
1490
+ "alias": "",
1491
+ "field": "mem_used_percent",
1492
+ "search": "",
1493
+ "filters": [],
1494
+ "groupBy": [
1495
+ "host"
1496
+ ],
1497
+ "funcList": [],
1498
+ "fieldFunc": "first",
1499
+ "fieldType": "double",
1500
+ "namespace": "object",
1501
+ "dataSource": "HOST",
1502
+ "queryFuncs": [],
1503
+ "groupByTime": "",
1504
+ "indexFilter": "",
1505
+ "additionalFields": null
1506
+ },
1507
+ "datasource": "dataflux"
1508
+ }
1509
+ ]
1510
+ },
1511
+ {
1512
+ "extend": {
1513
+ "settings": {
1514
+ "alias": [
1515
+ {
1516
+ "key": "avg(load5s)",
1517
+ "name": "avg(load5s)",
1518
+ "alias": "{{tags}}"
1519
+ }
1520
+ ],
1521
+ "units": [],
1522
+ "colors": [],
1523
+ "levels": [],
1524
+ "slimit": 20,
1525
+ "pageSize": 0,
1526
+ "unitType": "global",
1527
+ "fixedTime": "",
1528
+ "precision": "2",
1529
+ "queryMode": "toOneColumn",
1530
+ "showTitle": true,
1531
+ "titleDesc": "",
1532
+ "globalUnit": [],
1533
+ "isSampling": true,
1534
+ "showColumns": [],
1535
+ "valMappings": [],
1536
+ "aliasVersion": 2,
1537
+ "timeInterval": "auto",
1538
+ "isTimeInterval": false,
1539
+ "changeWorkspace": false,
1540
+ "disableFuncList": true,
1541
+ "currentChartType": "table",
1542
+ "showFieldMapping": false,
1543
+ "valColorMappings": [],
1544
+ "mainMeasurementSort": "top",
1545
+ "mainMeasurementLimit": 20,
1546
+ "openThousandsSeparator": false,
1547
+ "mainMeasurementQueryCode": "A"
1548
+ },
1549
+ "fixedTime": "",
1550
+ "isRefresh": false
1551
+ },
1552
+ "group": {
1553
+ "name": "表格图"
1554
+ },
1555
+ "name": "时序表格图",
1556
+ "pos": {
1557
+ "h": 18,
1558
+ "w": 12,
1559
+ "x": 12,
1560
+ "y": 0
1561
+ },
1562
+ "type": "table",
1563
+ "queries": [
1564
+ {
1565
+ "name": "",
1566
+ "type": "table",
1567
+ "unit": "",
1568
+ "color": "",
1569
+ "qtype": "dql",
1570
+ "query": {
1571
+ "q": "M::`cpu`:(avg(`load5s`)) BY `host`",
1572
+ "code": "A",
1573
+ "fill": null,
1574
+ "type": "simple",
1575
+ "alias": "",
1576
+ "field": "load5s",
1577
+ "filters": [],
1578
+ "groupBy": [
1579
+ "host"
1580
+ ],
1581
+ "funcList": [],
1582
+ "fieldFunc": "avg",
1583
+ "fieldType": "float",
1584
+ "namespace": "metric",
1585
+ "dataSource": "cpu",
1586
+ "queryFuncs": [],
1587
+ "groupByTime": "",
1588
+ "indexFilter": "",
1589
+ "additionalFields": null
1590
+ },
1591
+ "datasource": "dataflux"
1592
+ }
1593
+ ]
1594
+ },
1595
+ {
1596
+ "extend": {
1597
+ "settings": {
1598
+ "alias": [],
1599
+ "units": [],
1600
+ "colors": [],
1601
+ "levels": [],
1602
+ "slimit": 20,
1603
+ "levelArr": [],
1604
+ "unitType": "global",
1605
+ "fixedTime": "",
1606
+ "precision": "2",
1607
+ "showLabel": true,
1608
+ "showTitle": true,
1609
+ "titleDesc": "",
1610
+ "colorLevel": 3,
1611
+ "globalUnit": [],
1612
+ "isSampling": true,
1613
+ "rangeColor": "",
1614
+ "showLegend": false,
1615
+ "showPercent": false,
1616
+ "timeInterval": "auto",
1617
+ "rangeColorKey": "light-blue",
1618
+ "isTimeInterval": false,
1619
+ "showLabelValue": true,
1620
+ "changeWorkspace": false,
1621
+ "showFieldMapping": false,
1622
+ "mainMeasurementSort": "top",
1623
+ "mainMeasurementLimit": 20,
1624
+ "openThousandsSeparator": true,
1625
+ "mainMeasurementQueryCode": "A"
1626
+ },
1627
+ "fixedTime": ""
1628
+ },
1629
+ "group": {
1630
+ "name": "矩形树图"
1631
+ },
1632
+ "name": "矩形树图",
1633
+ "pos": {
1634
+ "h": 17,
1635
+ "w": 24,
1636
+ "x": 0,
1637
+ "y": 0
1638
+ },
1639
+ "type": "treemap",
1640
+ "queries": [
1641
+ {
1642
+ "name": "",
1643
+ "type": "treemap",
1644
+ "unit": "",
1645
+ "color": "",
1646
+ "qtype": "dql",
1647
+ "query": {
1648
+ "q": "M::`cpu`:(avg(`load5s`)) BY `host`",
1649
+ "code": "A",
1650
+ "fill": null,
1651
+ "type": "simple",
1652
+ "alias": "",
1653
+ "field": "load5s",
1654
+ "filters": [],
1655
+ "groupBy": [
1656
+ "host"
1657
+ ],
1658
+ "funcList": [],
1659
+ "fieldFunc": "avg",
1660
+ "fieldType": "float",
1661
+ "namespace": "metric",
1662
+ "dataSource": "cpu",
1663
+ "queryFuncs": [],
1664
+ "groupByTime": "",
1665
+ "indexFilter": "",
1666
+ "additionalFields": null
1667
+ },
1668
+ "datasource": "dataflux"
1669
+ }
1670
+ ]
1671
+ },
1672
+ {
1673
+ "extend": {
1674
+ "settings": {
1675
+ "alias": [],
1676
+ "units": [],
1677
+ "colors": [],
1678
+ "levels": [],
1679
+ "unitType": "global",
1680
+ "fixedTime": "",
1681
+ "precision": "2",
1682
+ "showTitle": true,
1683
+ "titleDesc": "",
1684
+ "globalUnit": [],
1685
+ "isSampling": true,
1686
+ "timeInterval": "auto",
1687
+ "isTimeInterval": false,
1688
+ "changeWorkspace": false,
1689
+ "currentChartType": "funnel",
1690
+ "showFieldMapping": false,
1691
+ "openThousandsSeparator": true
1692
+ },
1693
+ "fixedTime": "",
1694
+ "isRefresh": false
1695
+ },
1696
+ "group": {
1697
+ "name": "漏斗图"
1698
+ },
1699
+ "name": "漏斗图",
1700
+ "pos": {
1701
+ "h": 13,
1702
+ "w": 24,
1703
+ "x": 0,
1704
+ "y": 0
1705
+ },
1706
+ "type": "funnel",
1707
+ "queries": [
1708
+ {
1709
+ "name": "",
1710
+ "type": "funnel",
1711
+ "unit": "",
1712
+ "color": "",
1713
+ "qtype": "dql",
1714
+ "query": {
1715
+ "q": "M::`cpu`:(avg(`load5s`))",
1716
+ "code": "A",
1717
+ "fill": null,
1718
+ "type": "simple",
1719
+ "alias": "",
1720
+ "field": "load5s",
1721
+ "filters": [],
1722
+ "groupBy": [],
1723
+ "funcList": [],
1724
+ "fieldFunc": "avg",
1725
+ "fieldType": "float",
1726
+ "namespace": "metric",
1727
+ "dataSource": "cpu",
1728
+ "queryFuncs": [],
1729
+ "groupByTime": "",
1730
+ "indexFilter": "",
1731
+ "additionalFields": null
1732
+ },
1733
+ "datasource": "dataflux"
1734
+ },
1735
+ {
1736
+ "name": "",
1737
+ "type": "funnel",
1738
+ "unit": "",
1739
+ "color": "",
1740
+ "qtype": "dql",
1741
+ "query": {
1742
+ "q": "M::`cpu`:(avg(`usage_idle`))",
1743
+ "code": "B",
1744
+ "fill": null,
1745
+ "type": "simple",
1746
+ "alias": "",
1747
+ "field": "usage_idle",
1748
+ "filters": [],
1749
+ "groupBy": [],
1750
+ "funcList": [],
1751
+ "fieldFunc": "avg",
1752
+ "fieldType": "float",
1753
+ "namespace": "metric",
1754
+ "dataSource": "cpu",
1755
+ "queryFuncs": [],
1756
+ "groupByTime": "",
1757
+ "indexFilter": "",
1758
+ "additionalFields": null
1759
+ },
1760
+ "datasource": "dataflux"
1761
+ }
1762
+ ]
1763
+ },
1764
+ {
1765
+ "extend": {
1766
+ "settings": {
1767
+ "alias": [],
1768
+ "units": [],
1769
+ "colors": [],
1770
+ "levels": [],
1771
+ "slimit": 20,
1772
+ "levelArr": [
1773
+ {
1774
+ "max": 20,
1775
+ "min": 0,
1776
+ "color": "#E5F7FF",
1777
+ "isAuto": true
1778
+ },
1779
+ {
1780
+ "max": 40,
1781
+ "min": 20,
1782
+ "color": "#B9E8FE",
1783
+ "isAuto": true
1784
+ },
1785
+ {
1786
+ "max": 60,
1787
+ "min": 40,
1788
+ "color": "#91D4FF",
1789
+ "isAuto": true
1790
+ },
1791
+ {
1792
+ "max": 80,
1793
+ "min": 60,
1794
+ "color": "#68C0FF",
1795
+ "isAuto": true
1796
+ },
1797
+ {
1798
+ "max": 100,
1799
+ "min": 80,
1800
+ "color": "#3FA9FF",
1801
+ "isAuto": true
1802
+ }
1803
+ ],
1804
+ "unitType": "global",
1805
+ "fixedTime": "",
1806
+ "precision": "2",
1807
+ "showTitle": true,
1808
+ "titleDesc": "",
1809
+ "colorLevel": 5,
1810
+ "globalUnit": [],
1811
+ "isSampling": true,
1812
+ "isVariable": false,
1813
+ "showLegend": "none",
1814
+ "provinceKey": "",
1815
+ "showTopList": true,
1816
+ "timeInterval": "auto",
1817
+ "variableCode": "",
1818
+ "rangeColorKey": "light-blue",
1819
+ "isTimeInterval": false,
1820
+ "changeWorkspace": false,
1821
+ "currentChartType": "chinamap",
1822
+ "showFieldMapping": false,
1823
+ "openThousandsSeparator": true,
1824
+ "mainMeasurementQueryCode": "A"
1825
+ },
1826
+ "fixedTime": "",
1827
+ "isRefresh": false
1828
+ },
1829
+ "group": {
1830
+ "name": "地图"
1831
+ },
1832
+ "name": "中国地图",
1833
+ "pos": {
1834
+ "h": 18,
1835
+ "w": 12,
1836
+ "x": 0,
1837
+ "y": 0
1838
+ },
1839
+ "type": "chinamap",
1840
+ "queries": [
1841
+ {
1842
+ "name": "",
1843
+ "type": "chinamap",
1844
+ "unit": "",
1845
+ "color": "",
1846
+ "qtype": "dql",
1847
+ "query": {
1848
+ "q": "M::`cpu`:(avg(`load5s`))",
1849
+ "code": "A",
1850
+ "fill": null,
1851
+ "type": "simple",
1852
+ "alias": "",
1853
+ "field": "load5s",
1854
+ "filters": [],
1855
+ "groupBy": [],
1856
+ "funcList": [],
1857
+ "fieldFunc": "avg",
1858
+ "fieldType": "float",
1859
+ "namespace": "metric",
1860
+ "dataSource": "cpu",
1861
+ "queryFuncs": [],
1862
+ "groupByTime": "",
1863
+ "indexFilter": "",
1864
+ "additionalFields": null
1865
+ },
1866
+ "datasource": "dataflux"
1867
+ }
1868
+ ]
1869
+ },
1870
+ {
1871
+ "extend": {
1872
+ "settings": {
1873
+ "alias": [],
1874
+ "units": [],
1875
+ "colors": [],
1876
+ "levels": [],
1877
+ "slimit": 20,
1878
+ "levelArr": [
1879
+ {
1880
+ "max": -1,
1881
+ "min": -1,
1882
+ "color": "#E5F7FF",
1883
+ "isAuto": true
1884
+ },
1885
+ {
1886
+ "max": -1,
1887
+ "min": -1,
1888
+ "color": "#B9E8FE",
1889
+ "isAuto": true
1890
+ },
1891
+ {
1892
+ "max": -1,
1893
+ "min": -1,
1894
+ "color": "#91D4FF",
1895
+ "isAuto": true
1896
+ },
1897
+ {
1898
+ "max": -1,
1899
+ "min": -1,
1900
+ "color": "#68C0FF",
1901
+ "isAuto": true
1902
+ },
1903
+ {
1904
+ "max": -1,
1905
+ "min": -1,
1906
+ "color": "#3FA9FF",
1907
+ "isAuto": true
1908
+ }
1909
+ ],
1910
+ "unitType": "global",
1911
+ "fixedTime": "",
1912
+ "precision": "2",
1913
+ "showTitle": true,
1914
+ "titleDesc": "",
1915
+ "colorLevel": 5,
1916
+ "globalUnit": [],
1917
+ "isSampling": true,
1918
+ "isVariable": false,
1919
+ "showLegend": "none",
1920
+ "provinceKey": "",
1921
+ "showTopList": false,
1922
+ "timeInterval": "auto",
1923
+ "variableCode": "",
1924
+ "rangeColorKey": "light-blue",
1925
+ "isTimeInterval": false,
1926
+ "changeWorkspace": false,
1927
+ "currentChartType": "worldmap",
1928
+ "showFieldMapping": false,
1929
+ "openThousandsSeparator": true,
1930
+ "mainMeasurementQueryCode": "A"
1931
+ },
1932
+ "fixedTime": "",
1933
+ "isRefresh": false
1934
+ },
1935
+ "group": {
1936
+ "name": "地图"
1937
+ },
1938
+ "name": "世界地图",
1939
+ "pos": {
1940
+ "h": 18,
1941
+ "w": 12,
1942
+ "x": 12,
1943
+ "y": 0
1944
+ },
1945
+ "type": "worldmap",
1946
+ "queries": [
1947
+ {
1948
+ "name": "",
1949
+ "type": "worldmap",
1950
+ "unit": "",
1951
+ "color": "",
1952
+ "qtype": "dql",
1953
+ "query": {
1954
+ "q": "M::`cpu`:(avg(`load5s`)) BY `region`",
1955
+ "code": "A",
1956
+ "fill": null,
1957
+ "type": "simple",
1958
+ "alias": "",
1959
+ "field": "load5s",
1960
+ "filters": [],
1961
+ "groupBy": [
1962
+ "region"
1963
+ ],
1964
+ "funcList": [],
1965
+ "fieldFunc": "avg",
1966
+ "fieldType": "float",
1967
+ "namespace": "metric",
1968
+ "dataSource": "cpu",
1969
+ "queryFuncs": [],
1970
+ "groupByTime": "",
1971
+ "indexFilter": "",
1972
+ "additionalFields": null
1973
+ },
1974
+ "datasource": "dataflux"
1975
+ }
1976
+ ]
1977
+ },
1978
+ {
1979
+ "extend": {
1980
+ "settings": {
1981
+ "alias": [],
1982
+ "units": [],
1983
+ "colors": [],
1984
+ "levels": [],
1985
+ "slimit": 20,
1986
+ "unitType": "global",
1987
+ "fixedTime": "",
1988
+ "precision": "2",
1989
+ "showTitle": true,
1990
+ "titleDesc": "",
1991
+ "globalUnit": [],
1992
+ "isSampling": true,
1993
+ "showLegend": "bottom",
1994
+ "gradualColor": {
1995
+ "type": "auto",
1996
+ "levels": [],
1997
+ "maxVal": null,
1998
+ "minVal": null,
1999
+ "colorKey": "interpolateYlOrBr",
2000
+ "levelCount": 60
2001
+ },
2002
+ "timeInterval": "auto",
2003
+ "maxPointCount": null,
2004
+ "isTimeInterval": true,
2005
+ "changeWorkspace": false,
2006
+ "currentChartType": "heatmap",
2007
+ "showFieldMapping": false,
2008
+ "openThousandsSeparator": true,
2009
+ "mainMeasurementQueryCode": "A"
2010
+ },
2011
+ "fixedTime": "",
2012
+ "isRefresh": false
2013
+ },
2014
+ "group": {
2015
+ "name": "热力图"
2016
+ },
2017
+ "name": "热力图",
2018
+ "pos": {
2019
+ "h": 16,
2020
+ "w": 24,
2021
+ "x": 0,
2022
+ "y": 0
2023
+ },
2024
+ "type": "heatmap",
2025
+ "queries": [
2026
+ {
2027
+ "name": "",
2028
+ "type": "heatmap",
2029
+ "unit": "",
2030
+ "color": "",
2031
+ "qtype": "dql",
2032
+ "query": {
2033
+ "q": "M::`cpu`:(fill(avg(`load5s`), 0)) BY `host`",
2034
+ "code": "A",
2035
+ "fill": "number",
2036
+ "type": "simple",
2037
+ "alias": "",
2038
+ "field": "load5s",
2039
+ "fillNum": 0,
2040
+ "filters": [],
2041
+ "groupBy": [
2042
+ "host"
2043
+ ],
2044
+ "funcList": [],
2045
+ "fieldFunc": "avg",
2046
+ "fieldType": "float",
2047
+ "namespace": "metric",
2048
+ "dataSource": "cpu",
2049
+ "queryFuncs": [],
2050
+ "groupByTime": "",
2051
+ "indexFilter": "",
2052
+ "additionalFields": null
2053
+ },
2054
+ "datasource": "dataflux"
2055
+ }
2056
+ ]
2057
+ },
2058
+ {
2059
+ "extend": {
2060
+ "settings": {
2061
+ "alias": [],
2062
+ "color": {},
2063
+ "units": [],
2064
+ "colors": [],
2065
+ "levels": [],
2066
+ "unitType": "global",
2067
+ "fixedTime": "",
2068
+ "showTitle": true,
2069
+ "titleDesc": "",
2070
+ "globalUnit": [],
2071
+ "isSampling": true,
2072
+ "showLegend": "bottom",
2073
+ "timeInterval": "auto",
2074
+ "isTimeInterval": false,
2075
+ "changeWorkspace": false,
2076
+ "currentChartType": "topology",
2077
+ "showFieldMapping": false
2078
+ },
2079
+ "fixedTime": "",
2080
+ "isRefresh": false
2081
+ },
2082
+ "group": {
2083
+ "name": "拓扑图"
2084
+ },
2085
+ "name": "拓扑图",
2086
+ "pos": {
2087
+ "h": 18,
2088
+ "w": 24,
2089
+ "x": 0,
2090
+ "y": 0
2091
+ },
2092
+ "type": "topology",
2093
+ "queries": [
2094
+ {
2095
+ "name": "",
2096
+ "type": "topology",
2097
+ "unit": "",
2098
+ "color": "",
2099
+ "qtype": "dql",
2100
+ "query": {
2101
+ "fill": "avg_per_second",
2102
+ "filters": [],
2103
+ "service": "anypath",
2104
+ "resource": "",
2105
+ "chartType": "serviceMap"
2106
+ },
2107
+ "datasource": "dataflux"
2108
+ }
2109
+ ]
2110
+ },
2111
+ {
2112
+ "extend": {
2113
+ "settings": {
2114
+ "alias": [],
2115
+ "units": [],
2116
+ "colors": [],
2117
+ "levels": [],
2118
+ "unitType": "global",
2119
+ "fixedTime": "",
2120
+ "precision": "2",
2121
+ "showTitle": true,
2122
+ "titleDesc": "",
2123
+ "globalUnit": [],
2124
+ "isSampling": true,
2125
+ "timeInterval": "auto",
2126
+ "isTimeInterval": false,
2127
+ "changeWorkspace": false,
2128
+ "currentChartType": "sankey",
2129
+ "showFieldMapping": false,
2130
+ "openThousandsSeparator": true
2131
+ },
2132
+ "fixedTime": "",
2133
+ "isRefresh": false
2134
+ },
2135
+ "group": {
2136
+ "name": "桑基图"
2137
+ },
2138
+ "name": "桑基图",
2139
+ "pos": {
2140
+ "h": 17,
2141
+ "w": 24,
2142
+ "x": 0,
2143
+ "y": 0
2144
+ },
2145
+ "type": "sankey",
2146
+ "queries": [
2147
+ {
2148
+ "name": "",
2149
+ "type": "sankey",
2150
+ "unit": "",
2151
+ "color": "",
2152
+ "qtype": "dql",
2153
+ "query": {
2154
+ "q": "M::`cpu`:(avg(`load5s`)) BY `cpu`, `host`",
2155
+ "code": "A",
2156
+ "fill": null,
2157
+ "type": "simple",
2158
+ "alias": "",
2159
+ "field": "load5s",
2160
+ "filters": [],
2161
+ "groupBy": [
2162
+ "cpu",
2163
+ "host"
2164
+ ],
2165
+ "funcList": [],
2166
+ "fieldFunc": "avg",
2167
+ "fieldType": "float",
2168
+ "namespace": "metric",
2169
+ "dataSource": "cpu",
2170
+ "queryFuncs": [],
2171
+ "groupByTime": "",
2172
+ "indexFilter": "",
2173
+ "additionalFields": null,
2174
+ "codeLabelI18NKey": "query.sankey_data"
2175
+ },
2176
+ "datasource": "dataflux"
2177
+ }
2178
+ ]
2179
+ },
2180
+ {
2181
+ "extend": {
2182
+ "settings": {
2183
+ "alias": [],
2184
+ "units": [],
2185
+ "colors": [],
2186
+ "levels": [],
2187
+ "slimit": 20,
2188
+ "levelArr": [
2189
+ {
2190
+ "max": -1,
2191
+ "min": -1,
2192
+ "color": "#E5F7FF",
2193
+ "isAuto": true
2194
+ },
2195
+ {
2196
+ "max": -1,
2197
+ "min": -1,
2198
+ "color": "#B9E8FE",
2199
+ "isAuto": true
2200
+ },
2201
+ {
2202
+ "max": -1,
2203
+ "min": -1,
2204
+ "color": "#91D4FF",
2205
+ "isAuto": true
2206
+ },
2207
+ {
2208
+ "max": -1,
2209
+ "min": -1,
2210
+ "color": "#68C0FF",
2211
+ "isAuto": true
2212
+ },
2213
+ {
2214
+ "max": -1,
2215
+ "min": -1,
2216
+ "color": "#3FA9FF",
2217
+ "isAuto": true
2218
+ }
2219
+ ],
2220
+ "unitType": "global",
2221
+ "fixedTime": "",
2222
+ "precision": "2",
2223
+ "showTitle": true,
2224
+ "titleDesc": "",
2225
+ "colorLevel": 3,
2226
+ "globalUnit": [],
2227
+ "isSampling": true,
2228
+ "rangeColor": "",
2229
+ "showLegend": "bottom",
2230
+ "timeInterval": "auto",
2231
+ "rangeColorKey": "light-blue",
2232
+ "isTimeInterval": false,
2233
+ "changeWorkspace": false,
2234
+ "currentChartType": "hexgon",
2235
+ "showFieldMapping": false,
2236
+ "openThousandsSeparator": true,
2237
+ "mainMeasurementQueryCode": "A"
2238
+ },
2239
+ "fixedTime": "",
2240
+ "isRefresh": false
2241
+ },
2242
+ "group": {
2243
+ "name": "蜂窝图"
2244
+ },
2245
+ "name": "蜂窝图",
2246
+ "pos": {
2247
+ "h": 20,
2248
+ "w": 24,
2249
+ "x": 0,
2250
+ "y": 0
2251
+ },
2252
+ "type": "hexgon",
2253
+ "queries": [
2254
+ {
2255
+ "name": "",
2256
+ "type": "hexgon",
2257
+ "unit": "",
2258
+ "color": "",
2259
+ "qtype": "dql",
2260
+ "query": {
2261
+ "q": "M::`cpu`:(avg(`load5s`)) BY `host`",
2262
+ "code": "A",
2263
+ "fill": null,
2264
+ "type": "simple",
2265
+ "alias": "",
2266
+ "field": "load5s",
2267
+ "filters": [],
2268
+ "groupBy": [
2269
+ "host"
2270
+ ],
2271
+ "funcList": [],
2272
+ "fieldFunc": "avg",
2273
+ "fieldType": "float",
2274
+ "namespace": "metric",
2275
+ "dataSource": "cpu",
2276
+ "queryFuncs": [],
2277
+ "groupByTime": "",
2278
+ "indexFilter": "",
2279
+ "additionalFields": null
2280
+ },
2281
+ "datasource": "dataflux"
2282
+ }
2283
+ ]
2284
+ },
2285
+ {
2286
+ "extend": {
2287
+ "settings": {
2288
+ "alias": [],
2289
+ "index": "rp70,whytest",
2290
+ "units": [],
2291
+ "colors": [],
2292
+ "levels": [],
2293
+ "unitType": "global",
2294
+ "fixedTime": "",
2295
+ "inColumns": [
2296
+ {
2297
+ "field": "time",
2298
+ "headerName": "时间"
2299
+ }
2300
+ ],
2301
+ "showTitle": true,
2302
+ "titleDesc": "",
2303
+ "addColumns": [
2304
+ {
2305
+ "field": "message",
2306
+ "headerName": "内容"
2307
+ },
2308
+ {
2309
+ "hide": true,
2310
+ "field": "status"
2311
+ },
2312
+ {
2313
+ "hide": true,
2314
+ "field": "__docid"
2315
+ }
2316
+ ],
2317
+ "globalUnit": [],
2318
+ "isSampling": true,
2319
+ "valMappings": [],
2320
+ "timeInterval": "",
2321
+ "isTimeInterval": false,
2322
+ "changeWorkspace": false,
2323
+ "currentChartType": "log",
2324
+ "showFieldMapping": false,
2325
+ "valColorMappings": []
2326
+ },
2327
+ "fixedTime": "",
2328
+ "isRefresh": false
2329
+ },
2330
+ "group": {
2331
+ "name": "流图"
2332
+ },
2333
+ "name": "新建图表",
2334
+ "pos": {
2335
+ "h": 18,
2336
+ "w": 12,
2337
+ "x": 12,
2338
+ "y": 0
2339
+ },
2340
+ "type": "log",
2341
+ "queries": [
2342
+ {
2343
+ "name": "",
2344
+ "type": "log",
2345
+ "unit": "",
2346
+ "color": "",
2347
+ "qtype": "dql",
2348
+ "query": {
2349
+ "q": "",
2350
+ "code": "A",
2351
+ "fill": "",
2352
+ "type": "simple",
2353
+ "alias": "内容",
2354
+ "field": null,
2355
+ "fields": [
2356
+ {
2357
+ "alias": "内容",
2358
+ "field": "message"
2359
+ },
2360
+ {
2361
+ "hide": true,
2362
+ "field": "status"
2363
+ },
2364
+ {
2365
+ "hide": true,
2366
+ "field": "__docid"
2367
+ }
2368
+ ],
2369
+ "search": "",
2370
+ "filters": [],
2371
+ "groupBy": [],
2372
+ "funcList": [],
2373
+ "fieldFunc": "avg",
2374
+ "fieldType": "text",
2375
+ "highlight": true,
2376
+ "namespace": "logging",
2377
+ "dataSource": "",
2378
+ "queryFuncs": [],
2379
+ "groupByTime": "",
2380
+ "indexFilter": "rp70,whytest",
2381
+ "additionalFields": null,
2382
+ "disableMultipleField": false
2383
+ },
2384
+ "datasource": "dataflux",
2385
+ "noTimeRange": false
2386
+ }
2387
+ ]
2388
+ },
2389
+ {
2390
+ "extend": {
2391
+ "settings": {
2392
+ "alias": [],
2393
+ "index": "default",
2394
+ "units": [
2395
+ {
2396
+ "key": "name",
2397
+ "name": "name",
2398
+ "unit": "",
2399
+ "units": [
2400
+ "custom",
2401
+ ""
2402
+ ]
2403
+ }
2404
+ ],
2405
+ "colors": [],
2406
+ "levels": [],
2407
+ "unitType": "custom",
2408
+ "fixedTime": "",
2409
+ "inColumns": [],
2410
+ "showTitle": true,
2411
+ "titleDesc": "",
2412
+ "addColumns": [
2413
+ {
2414
+ "field": "name",
2415
+ "headerName": "名称11"
2416
+ },
2417
+ {
2418
+ "field": "class",
2419
+ "headerName": "类别"
2420
+ },
2421
+ {
2422
+ "hide": true,
2423
+ "field": "class"
2424
+ },
2425
+ {
2426
+ "hide": true,
2427
+ "field": "__docid"
2428
+ },
2429
+ {
2430
+ "field": "host"
2431
+ },
2432
+ {
2433
+ "field": "os"
2434
+ }
2435
+ ],
2436
+ "globalUnit": [],
2437
+ "isSampling": true,
2438
+ "timeInterval": "",
2439
+ "isTimeInterval": false,
2440
+ "changeWorkspace": false,
2441
+ "currentChartType": "object",
2442
+ "showFieldMapping": false
2443
+ },
2444
+ "fixedTime": "",
2445
+ "isRefresh": false
2446
+ },
2447
+ "group": {
2448
+ "name": "流图"
2449
+ },
2450
+ "name": "对象列表图",
2451
+ "pos": {
2452
+ "h": 18,
2453
+ "w": 12,
2454
+ "x": 0,
2455
+ "y": 0
2456
+ },
2457
+ "type": "object",
2458
+ "queries": [
2459
+ {
2460
+ "name": "",
2461
+ "type": "object",
2462
+ "unit": "",
2463
+ "color": "",
2464
+ "qtype": "dql",
2465
+ "query": {
2466
+ "q": "O::`HOST`:(`name`, `class`, `__docid`, `host`, `os`) { `name` = re('.*ddddd.*') }",
2467
+ "code": "A",
2468
+ "fill": null,
2469
+ "type": "simple",
2470
+ "alias": "名称",
2471
+ "field": null,
2472
+ "fields": [
2473
+ {
2474
+ "alias": "名称11",
2475
+ "field": "name",
2476
+ "isEditAlias": false
2477
+ },
2478
+ {
2479
+ "alias": "类别",
2480
+ "field": "class"
2481
+ },
2482
+ {
2483
+ "hide": true,
2484
+ "field": "class"
2485
+ },
2486
+ {
2487
+ "hide": true,
2488
+ "field": "__docid"
2489
+ },
2490
+ {
2491
+ "field": "host"
2492
+ },
2493
+ {
2494
+ "field": "os"
2495
+ }
2496
+ ],
2497
+ "search": "ddddd",
2498
+ "filters": [],
2499
+ "groupBy": [],
2500
+ "funcList": [],
2501
+ "fieldFunc": "count",
2502
+ "fieldType": "keyword",
2503
+ "highlight": false,
2504
+ "namespace": "object",
2505
+ "dataSource": "HOST",
2506
+ "queryFuncs": [],
2507
+ "groupByTime": "",
2508
+ "indexFilter": "",
2509
+ "additionalFields": null,
2510
+ "disableMultipleField": false
2511
+ },
2512
+ "datasource": "dataflux",
2513
+ "noTimeRange": true
2514
+ }
2515
+ ]
2516
+ },
2517
+ {
2518
+ "extend": {
2519
+ "settings": {
2520
+ "alias": [],
2521
+ "index": "default",
2522
+ "units": [],
2523
+ "colors": [],
2524
+ "levels": [],
2525
+ "pageSize": 50,
2526
+ "showPart": "all",
2527
+ "unitType": "global",
2528
+ "fixedTime": "",
2529
+ "inColumns": [
2530
+ {
2531
+ "field": "time",
2532
+ "headerName": "时间"
2533
+ }
2534
+ ],
2535
+ "showTitle": true,
2536
+ "titleDesc": "",
2537
+ "addColumns": [
2538
+ {
2539
+ "field": "df_status",
2540
+ "headerName": "状态"
2541
+ },
2542
+ {
2543
+ "field": "df_title",
2544
+ "headerName": "事件"
2545
+ }
2546
+ ],
2547
+ "globalUnit": [],
2548
+ "isSampling": true,
2549
+ "timeInterval": "",
2550
+ "isTimeInterval": false,
2551
+ "changeWorkspace": false,
2552
+ "currentChartType": "alarm",
2553
+ "showFieldMapping": false
2554
+ },
2555
+ "fixedTime": "",
2556
+ "isRefresh": false
2557
+ },
2558
+ "group": {
2559
+ "name": "流图"
2560
+ },
2561
+ "name": "告警统计图",
2562
+ "pos": {
2563
+ "h": 20,
2564
+ "w": 24,
2565
+ "x": 0,
2566
+ "y": 18
2567
+ },
2568
+ "type": "alarm",
2569
+ "queries": [
2570
+ {
2571
+ "name": "",
2572
+ "type": "alarm",
2573
+ "unit": "",
2574
+ "color": "",
2575
+ "qtype": "dql",
2576
+ "query": {
2577
+ "q": "E::`monitor`:(`df_status` AS `状态`, `df_title` AS `事件`)",
2578
+ "code": "A",
2579
+ "fill": null,
2580
+ "type": "simple",
2581
+ "alias": "事件",
2582
+ "field": null,
2583
+ "fields": [
2584
+ {
2585
+ "alias": "状态",
2586
+ "field": "df_status"
2587
+ },
2588
+ {
2589
+ "alias": "事件",
2590
+ "field": "df_title"
2591
+ }
2592
+ ],
2593
+ "search": "sss",
2594
+ "filters": [],
2595
+ "groupBy": [],
2596
+ "funcList": [],
2597
+ "fieldFunc": "",
2598
+ "fieldType": "float",
2599
+ "namespace": "event",
2600
+ "dataSource": "monitor",
2601
+ "queryFuncs": [],
2602
+ "groupByTime": "",
2603
+ "indexFilter": "",
2604
+ "disableMultipleField": false
2605
+ },
2606
+ "datasource": "dataflux",
2607
+ "noTimeRange": false
2608
+ }
2609
+ ]
2610
+ },
2611
+ {
2612
+ "extend": {
2613
+ "settings": {
2614
+ "alias": [],
2615
+ "units": [],
2616
+ "colors": [],
2617
+ "levels": [],
2618
+ "unitType": "global",
2619
+ "fixedTime": "",
2620
+ "showTitle": true,
2621
+ "titleDesc": "",
2622
+ "globalUnit": [],
2623
+ "isSampling": true,
2624
+ "isTimeInterval": false,
2625
+ "changeWorkspace": false,
2626
+ "showFieldMapping": false
2627
+ }
2628
+ },
2629
+ "group": {
2630
+ "name": "文本,图片,iframe"
2631
+ },
2632
+ "name": "文本",
2633
+ "pos": {
2634
+ "h": 14,
2635
+ "w": 24,
2636
+ "x": 0,
2637
+ "y": 0
2638
+ },
2639
+ "type": "text",
2640
+ "queries": [
2641
+ {
2642
+ "name": "",
2643
+ "query": {
2644
+ "content": "# 文本\n## test"
2645
+ }
2646
+ }
2647
+ ]
2648
+ },
2649
+ {
2650
+ "extend": {
2651
+ "links": [],
2652
+ "settings": {
2653
+ "url": "https://www.lodashjs.com/img/lodash.png",
2654
+ "type": "fill",
2655
+ "alias": [],
2656
+ "units": [],
2657
+ "colors": [],
2658
+ "levels": [],
2659
+ "unitType": "global",
2660
+ "fixedTime": "",
2661
+ "showTitle": true,
2662
+ "titleDesc": "",
2663
+ "globalUnit": [],
2664
+ "isSampling": true,
2665
+ "timeInterval": "auto",
2666
+ "isTimeInterval": false,
2667
+ "backgroundStyle": {
2668
+ "background-size": "cover"
2669
+ },
2670
+ "changeWorkspace": false,
2671
+ "showFieldMapping": false
2672
+ },
2673
+ "isRefresh": true
2674
+ },
2675
+ "group": {
2676
+ "name": "文本,图片,iframe"
2677
+ },
2678
+ "name": "图片",
2679
+ "pos": {
2680
+ "h": 13,
2681
+ "w": 24,
2682
+ "x": 0,
2683
+ "y": 14
2684
+ },
2685
+ "type": "picture",
2686
+ "queries": []
2687
+ },
2688
+ {
2689
+ "extend": {
2690
+ "links": [],
2691
+ "settings": {
2692
+ "url": "https://www.baidu.com",
2693
+ "alias": [],
2694
+ "units": [],
2695
+ "colors": [],
2696
+ "levels": [],
2697
+ "unitType": "global",
2698
+ "fixedTime": "",
2699
+ "showTitle": true,
2700
+ "titleDesc": "",
2701
+ "globalUnit": [],
2702
+ "isSampling": true,
2703
+ "isTimeInterval": false,
2704
+ "changeWorkspace": false,
2705
+ "showFieldMapping": false
2706
+ },
2707
+ "isRefresh": false
2708
+ },
2709
+ "group": {
2710
+ "name": "文本,图片,iframe"
2711
+ },
2712
+ "name": "新建图表",
2713
+ "pos": {
2714
+ "h": 14,
2715
+ "w": 24,
2716
+ "x": 0,
2717
+ "y": 27
2718
+ },
2719
+ "type": "iframe",
2720
+ "queries": []
2721
+ }
2722
+ ],
2723
+ "groups": [
2724
+ {
2725
+ "name": "时序图",
2726
+ "extend": {
2727
+ "bgColor": "#8CA4BE"
2728
+ }
2729
+ },
2730
+ {
2731
+ "name": "概览图",
2732
+ "extend": {
2733
+ "bgColor": ""
2734
+ }
2735
+ },
2736
+ {
2737
+ "name": "饼图",
2738
+ "extend": {
2739
+ "bgColor": ""
2740
+ }
2741
+ },
2742
+ {
2743
+ "name": "柱状图",
2744
+ "extend": {
2745
+ "bgColor": ""
2746
+ }
2747
+ },
2748
+ {
2749
+ "name": "直方图",
2750
+ "extend": {
2751
+ "bgColor": ""
2752
+ }
2753
+ },
2754
+ {
2755
+ "name": "排行榜",
2756
+ "extend": {
2757
+ "bgColor": ""
2758
+ }
2759
+ },
2760
+ {
2761
+ "name": "仪表板",
2762
+ "extend": {
2763
+ "bgColor": ""
2764
+ }
2765
+ },
2766
+ {
2767
+ "name": "散点图",
2768
+ "extend": {
2769
+ "bgColor": ""
2770
+ }
2771
+ },
2772
+ {
2773
+ "name": "气泡图",
2774
+ "extend": {
2775
+ "bgColor": ""
2776
+ }
2777
+ },
2778
+ {
2779
+ "name": "表格图",
2780
+ "extend": {
2781
+ "bgColor": ""
2782
+ }
2783
+ },
2784
+ {
2785
+ "name": "矩形树图",
2786
+ "extend": {
2787
+ "bgColor": ""
2788
+ }
2789
+ },
2790
+ {
2791
+ "name": "地图",
2792
+ "extend": {
2793
+ "bgColor": ""
2794
+ }
2795
+ },
2796
+ {
2797
+ "name": "漏斗图",
2798
+ "extend": {
2799
+ "bgColor": ""
2800
+ }
2801
+ },
2802
+ {
2803
+ "name": "热力图",
2804
+ "extend": {
2805
+ "bgColor": ""
2806
+ }
2807
+ },
2808
+ {
2809
+ "name": "拓扑图",
2810
+ "extend": {
2811
+ "bgColor": ""
2812
+ }
2813
+ },
2814
+ {
2815
+ "name": "桑基图",
2816
+ "extend": {
2817
+ "bgColor": ""
2818
+ }
2819
+ },
2820
+ {
2821
+ "name": "蜂窝图",
2822
+ "extend": {
2823
+ "bgColor": ""
2824
+ }
2825
+ },
2826
+ {
2827
+ "name": "流图",
2828
+ "extend": {
2829
+ "bgColor": ""
2830
+ }
2831
+ },
2832
+ {
2833
+ "name": "文本,图片,iframe",
2834
+ "extend": {
2835
+ "bgColor": ""
2836
+ }
2837
+ }
2838
+ ],
2839
+ "type": "template"
2840
+ }
2841
+ }