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