@cloudcare/guance-front-tools 1.0.12 → 1.0.15

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 (47) hide show
  1. package/guance-all-charts.json +3415 -0
  2. package/lib/cjs/generated/dashboardCharts.d.ts +54 -13
  3. package/lib/cjs/scripts/convert-grafana-dashboard-core.js +1770 -0
  4. package/lib/cjs/scripts/convert-grafana-dashboard.js +147 -0
  5. package/lib/cjs/scripts/grafana-covert-to-guance-core.d.ts +1 -1
  6. package/lib/cjs/scripts/grafana-covert-to-guance-core.js +5 -289
  7. package/lib/esm/generated/dashboardCharts.d.ts +54 -13
  8. package/lib/esm/scripts/convert-grafana-dashboard-core.js +1770 -0
  9. package/lib/esm/scripts/convert-grafana-dashboard.js +147 -0
  10. package/lib/esm/scripts/grafana-covert-to-guance-core.d.ts +1 -1
  11. package/lib/esm/scripts/grafana-covert-to-guance-core.js +5 -289
  12. package/lib/example/grafana2.json +878 -0
  13. package/lib/example/guance-dahs-3.json +348 -0
  14. package/lib/scripts/convert-grafana-dashboard-core.js +1770 -0
  15. package/lib/scripts/convert-grafana-dashboard.js +147 -0
  16. package/lib/scripts/grafana-covert-to-guance-core.js +5 -286
  17. package/lib/scripts/grafana-covert-to-guance-core.ts +12 -326
  18. package/lib/scripts/grafana-covert-to-guance.js +54 -29
  19. package/lib/scripts/grafana-covert-to-guance.ts +59 -32
  20. package/package.json +6 -4
  21. package/schemas/charts/chart-schema.json +8 -5
  22. package/schemas/charts/common/chart-link-item-schema.json +48 -0
  23. package/schemas/charts/common/chart-links-schema.json +9 -0
  24. package/schemas/charts/common/common-chart-types-schema.json +3 -1
  25. package/schemas/charts/dashboard-schema.json +11 -4
  26. package/schemas/charts/query/query-item-schema.json +19 -1
  27. package/schemas/charts/settings/settings-time-schema.json +1 -5
  28. package/schemas/charts/settings/settings-unit-items-schema.json +3 -1
  29. package/schemas/charts/settings/settings-units-schema.json +2 -3
  30. package/scripts/sync-converter.mjs +41 -0
  31. package/scripts/validate-file.mjs +57 -0
  32. package/skills/grafana-to-guance-dashboard/SKILL.md +102 -0
  33. package/skills/grafana-to-guance-dashboard/agents/openai.yaml +4 -0
  34. package/skills/grafana-to-guance-dashboard/references/converter-notes.md +134 -0
  35. package/skills/grafana-to-guance-dashboard/scripts/convert-grafana-dashboard-core.js +1770 -0
  36. package/skills/grafana-to-guance-dashboard/scripts/convert-grafana-dashboard.mjs +147 -0
  37. package/test/cli.test.mjs +446 -1
  38. package/test-output/grafana2.cli.guance.json +1029 -0
  39. package/test-output/grafana2.guance.json +1029 -0
  40. package/test-output/grafana2.keep-meta.guance.json +1384 -0
  41. package/test-output/pod.guance.json +2153 -0
  42. package/test-output/skill-test2-enhanced.guance.json +21596 -0
  43. package/test-output/skill-test2-validated.guance.json +11610 -0
  44. package/test-output/skill-test2.guance.json +11610 -0
  45. package/test-output/test.guance.json +1086 -0
  46. package/test-output/test2.guance.guance-promql.json +23212 -0
  47. package/test-output/test2.guance.json +17554 -0
@@ -0,0 +1,3415 @@
1
+ {
2
+ "title": "全图表",
3
+ "dashboardType": "CUSTOM",
4
+ "dashboardExtend": {},
5
+ "dashboardMapping": [],
6
+ "dashboardOwnerType": "node",
7
+ "iconSet": {},
8
+ "dashboardBindSet": [],
9
+ "thumbnail": "",
10
+ "tagInfo": [],
11
+ "summary": "",
12
+ "main": {
13
+ "vars": [
14
+ {
15
+ "name": "a",
16
+ "seq": 0,
17
+ "datasource": "object",
18
+ "code": "a",
19
+ "type": "FIELD",
20
+ "definition": {
21
+ "tag": "",
22
+ "field": "region",
23
+ "value": "",
24
+ "metric": "",
25
+ "object": "HOST",
26
+ "defaultVal": {
27
+ "label": "*",
28
+ "value": "*"
29
+ }
30
+ },
31
+ "valueSort": "asc",
32
+ "hide": 0,
33
+ "isHiddenAsterisk": 0,
34
+ "multiple": true,
35
+ "includeStar": true,
36
+ "extend": {
37
+ "starMeaning": "*"
38
+ }
39
+ },
40
+ {
41
+ "name": "host",
42
+ "seq": 1,
43
+ "datasource": "dataflux",
44
+ "code": "host",
45
+ "type": "QUERY",
46
+ "definition": {
47
+ "tag": "",
48
+ "field": "",
49
+ "value": "L('default')::RE(`.*`):(field_values(`host`)) LIMIT 50",
50
+ "metric": "",
51
+ "object": "",
52
+ "defaultVal": {
53
+ "label": "192.168.0.230",
54
+ "value": "192.168.0.230"
55
+ }
56
+ },
57
+ "valueSort": "asc",
58
+ "hide": 0,
59
+ "isHiddenAsterisk": 0,
60
+ "multiple": true,
61
+ "includeStar": true,
62
+ "extend": {
63
+ "starMeaning": "*"
64
+ }
65
+ },
66
+ {
67
+ "name": "b",
68
+ "seq": 2,
69
+ "datasource": "dataflux",
70
+ "code": "b",
71
+ "type": "PROMQL_QUERY",
72
+ "definition": {
73
+ "tag": "",
74
+ "field": "",
75
+ "value": "avg(cpu:load5s)",
76
+ "metric": "",
77
+ "object": "",
78
+ "defaultVal": {
79
+ "label": "",
80
+ "value": ""
81
+ }
82
+ },
83
+ "valueSort": "asc",
84
+ "hide": 0,
85
+ "isHiddenAsterisk": 0,
86
+ "multiple": true,
87
+ "includeStar": true,
88
+ "extend": {
89
+ "starMeaning": "*"
90
+ }
91
+ }
92
+ ],
93
+ "charts": [
94
+ {
95
+ "extend": {
96
+ "settings": {
97
+ "alias": [],
98
+ "units": [],
99
+ "colors": [],
100
+ "levels": [],
101
+ "slimit": 20,
102
+ "lineType": "linear",
103
+ "showLine": false,
104
+ "unitType": "global",
105
+ "chartType": "line",
106
+ "fixedTime": "",
107
+ "isPercent": false,
108
+ "openStack": false,
109
+ "precision": "2",
110
+ "showLabel": false,
111
+ "showTitle": true,
112
+ "stackType": "time",
113
+ "titleDesc": "",
114
+ "globalUnit": [],
115
+ "isSampling": true,
116
+ "compareType": [],
117
+ "openCompare": false,
118
+ "yAxixMaxVal": null,
119
+ "yAxixMinVal": null,
120
+ "connectNulls": true,
121
+ "legendValues": "",
122
+ "timeInterval": "auto",
123
+ "legendPostion": "none",
124
+ "maxPointCount": null,
125
+ "sorderByOrder": "desc",
126
+ "xAxisShowType": "time",
127
+ "isCombineChart": false,
128
+ "isTimeInterval": true,
129
+ "changeWorkspace": false,
130
+ "openRepeatChart": false,
131
+ "currentChartType": "sequence",
132
+ "showFieldMapping": false,
133
+ "onlyShowGroupName": false,
134
+ "scientificNotation": true,
135
+ "repeatChartRowLimit": 3,
136
+ "repeatChartVariable": "",
137
+ "yAxixOpenIncludeZero": true,
138
+ "openThousandsSeparator": true,
139
+ "enablePreflightEstimate": false,
140
+ "mainMeasurementQueryCode": "A"
141
+ },
142
+ "fixedTime": ""
143
+ },
144
+ "group": {
145
+ "name": null
146
+ },
147
+ "chartGroupUUID": "default",
148
+ "name": "新建图表",
149
+ "pos": {
150
+ "h": 10,
151
+ "w": 8,
152
+ "x": 0,
153
+ "y": 0
154
+ },
155
+ "type": "sequence",
156
+ "queries": [
157
+ {
158
+ "name": "",
159
+ "type": "sequence",
160
+ "unit": "",
161
+ "color": "",
162
+ "qtype": "dql",
163
+ "query": {
164
+ "q": "M::cpu:(avg(`load5s`)) { `host` = '#{host}' }",
165
+ "code": "A",
166
+ "fill": null,
167
+ "type": "simple",
168
+ "alias": "",
169
+ "field": "load5s",
170
+ "filters": [
171
+ {
172
+ "id": "1df9dbc0-28bd-11f1-86ed-5da2e1626d15",
173
+ "op": "=",
174
+ "name": "host",
175
+ "type": "keyword",
176
+ "logic": "and",
177
+ "value": "#{host}",
178
+ "values": []
179
+ }
180
+ ],
181
+ "groupBy": [],
182
+ "funcList": [],
183
+ "fieldFunc": "avg",
184
+ "fieldType": "float",
185
+ "namespace": "metric",
186
+ "dataSource": "cpu",
187
+ "queryFuncs": [],
188
+ "groupByTime": "",
189
+ "indexFilter": "",
190
+ "additionalFields": null
191
+ },
192
+ "disabled": false,
193
+ "datasource": "dataflux"
194
+ }
195
+ ],
196
+ "prevGroupName": null,
197
+ "uuid": "chrt_539973fa51764e26aa16a29493d7f6a1"
198
+ },
199
+ {
200
+ "extend": {
201
+ "links": [
202
+ {
203
+ "url": "/logIndi/log/all?time=#{TR}&query=#{T}",
204
+ "open": "newWin",
205
+ "show": true,
206
+ "type": "logging",
207
+ "showChanged": false
208
+ },
209
+ {
210
+ "url": "/objectadmin/docker_containers?routerTabActive=ObjectadminDocker&time=#{TR}&query=#{T}",
211
+ "open": "newWin",
212
+ "show": true,
213
+ "type": "container",
214
+ "showChanged": false
215
+ },
216
+ {
217
+ "url": "/objectadmin/host_processes?routerTabActive=ObjectadminProcesses&time=#{TR}&query=#{T}",
218
+ "open": "newWin",
219
+ "show": true,
220
+ "type": "processes",
221
+ "showChanged": false
222
+ },
223
+ {
224
+ "url": "/tracing/link/all?time=#{TR}&query=#{T}",
225
+ "open": "newWin",
226
+ "show": true,
227
+ "type": "tracing",
228
+ "showChanged": false
229
+ },
230
+ {
231
+ "url": "/scene/builtinview/detail?time=#{TR}&query=#{T}",
232
+ "open": "newWin",
233
+ "show": true,
234
+ "type": "host",
235
+ "showChanged": false
236
+ }
237
+ ],
238
+ "settings": {
239
+ "alias": [],
240
+ "units": [],
241
+ "colors": [],
242
+ "levels": [],
243
+ "slimit": 20,
244
+ "lineType": "linear",
245
+ "showLine": false,
246
+ "unitType": "global",
247
+ "chartType": "areaLine",
248
+ "fixedTime": "",
249
+ "isPercent": false,
250
+ "openStack": false,
251
+ "precision": "2",
252
+ "showLabel": false,
253
+ "showTitle": true,
254
+ "stackType": "time",
255
+ "titleDesc": "",
256
+ "globalUnit": [],
257
+ "isSampling": true,
258
+ "compareType": [],
259
+ "openCompare": false,
260
+ "yAxixMaxVal": null,
261
+ "yAxixMinVal": null,
262
+ "connectNulls": true,
263
+ "legendValues": "",
264
+ "timeInterval": "auto",
265
+ "legendPostion": "none",
266
+ "maxPointCount": null,
267
+ "sorderByOrder": "desc",
268
+ "xAxisShowType": "time",
269
+ "isCombineChart": false,
270
+ "isTimeInterval": true,
271
+ "changeWorkspace": false,
272
+ "openRepeatChart": false,
273
+ "currentChartType": "sequence",
274
+ "showFieldMapping": false,
275
+ "onlyShowGroupName": false,
276
+ "scientificNotation": true,
277
+ "repeatChartRowLimit": 3,
278
+ "repeatChartVariable": "",
279
+ "yAxixOpenIncludeZero": true,
280
+ "openThousandsSeparator": true,
281
+ "enablePreflightEstimate": false,
282
+ "mainMeasurementQueryCode": "A"
283
+ },
284
+ "fixedTime": ""
285
+ },
286
+ "group": {
287
+ "name": null
288
+ },
289
+ "chartGroupUUID": "default",
290
+ "name": "新建图表",
291
+ "pos": {
292
+ "h": 10,
293
+ "w": 8,
294
+ "x": 9,
295
+ "y": 0
296
+ },
297
+ "type": "sequence",
298
+ "queries": [
299
+ {
300
+ "name": "",
301
+ "type": "sequence",
302
+ "unit": "",
303
+ "color": "",
304
+ "qtype": "dql",
305
+ "query": {
306
+ "q": "M::cpu:(avg(`load5s`)) BY `host`",
307
+ "code": "A",
308
+ "fill": null,
309
+ "type": "simple",
310
+ "alias": "",
311
+ "field": "load5s",
312
+ "filters": [],
313
+ "groupBy": [
314
+ "host"
315
+ ],
316
+ "funcList": [],
317
+ "fieldFunc": "avg",
318
+ "fieldType": "float",
319
+ "namespace": "metric",
320
+ "dataSource": "cpu",
321
+ "queryFuncs": [],
322
+ "groupByTime": "",
323
+ "indexFilter": "",
324
+ "additionalFields": null
325
+ },
326
+ "disabled": false,
327
+ "datasource": "dataflux"
328
+ }
329
+ ],
330
+ "prevGroupName": null,
331
+ "uuid": "chrt_899f2efc882749f0a19dc7ad7b14fad0"
332
+ },
333
+ {
334
+ "extend": {
335
+ "settings": {
336
+ "alias": [],
337
+ "units": [],
338
+ "colors": [],
339
+ "levels": [],
340
+ "slimit": 20,
341
+ "lineType": "linear",
342
+ "showLine": false,
343
+ "unitType": "global",
344
+ "chartType": "bar",
345
+ "fixedTime": "",
346
+ "isPercent": false,
347
+ "openStack": false,
348
+ "precision": "2",
349
+ "showLabel": false,
350
+ "showTitle": true,
351
+ "stackType": "time",
352
+ "titleDesc": "",
353
+ "globalUnit": [],
354
+ "isSampling": true,
355
+ "compareType": [],
356
+ "openCompare": false,
357
+ "yAxixMaxVal": null,
358
+ "yAxixMinVal": null,
359
+ "connectNulls": true,
360
+ "legendValues": "",
361
+ "timeInterval": "auto",
362
+ "legendPostion": "none",
363
+ "maxPointCount": null,
364
+ "sorderByOrder": "desc",
365
+ "xAxisShowType": "time",
366
+ "isCombineChart": false,
367
+ "isTimeInterval": true,
368
+ "changeWorkspace": false,
369
+ "openRepeatChart": false,
370
+ "currentChartType": "sequence",
371
+ "showFieldMapping": false,
372
+ "onlyShowGroupName": false,
373
+ "scientificNotation": true,
374
+ "repeatChartRowLimit": 3,
375
+ "repeatChartVariable": "",
376
+ "yAxixOpenIncludeZero": true,
377
+ "openThousandsSeparator": true,
378
+ "enablePreflightEstimate": false,
379
+ "mainMeasurementQueryCode": "A"
380
+ },
381
+ "fixedTime": ""
382
+ },
383
+ "group": {
384
+ "name": "test2"
385
+ },
386
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
387
+ "name": "新建图表",
388
+ "pos": {
389
+ "h": 10,
390
+ "w": 8,
391
+ "x": 0,
392
+ "y": 0
393
+ },
394
+ "type": "sequence",
395
+ "queries": [
396
+ {
397
+ "name": "",
398
+ "type": "sequence",
399
+ "unit": "",
400
+ "color": "",
401
+ "qtype": "dql",
402
+ "query": {
403
+ "q": "M::cpu:(avg(`load5s`))",
404
+ "code": "A",
405
+ "fill": null,
406
+ "type": "simple",
407
+ "alias": "",
408
+ "field": "load5s",
409
+ "filters": [],
410
+ "groupBy": [],
411
+ "funcList": [],
412
+ "fieldFunc": "avg",
413
+ "fieldType": "float",
414
+ "namespace": "metric",
415
+ "dataSource": "cpu",
416
+ "queryFuncs": [],
417
+ "groupByTime": "",
418
+ "indexFilter": "",
419
+ "additionalFields": null
420
+ },
421
+ "disabled": false,
422
+ "datasource": "dataflux"
423
+ }
424
+ ],
425
+ "prevGroupName": "test2",
426
+ "uuid": "chrt_08ecccfe26a94d1980efeca934f6c7c5"
427
+ },
428
+ {
429
+ "extend": {
430
+ "links": [
431
+ {
432
+ "url": "/logIndi/log/all?time=#{TR}&query=#{T}",
433
+ "open": "newWin",
434
+ "show": true,
435
+ "type": "logging",
436
+ "showChanged": false
437
+ },
438
+ {
439
+ "url": "/objectadmin/docker_containers?routerTabActive=ObjectadminDocker&time=#{TR}&query=#{T}",
440
+ "open": "newWin",
441
+ "show": true,
442
+ "type": "container",
443
+ "showChanged": false
444
+ },
445
+ {
446
+ "url": "/objectadmin/host_processes?routerTabActive=ObjectadminProcesses&time=#{TR}&query=#{T}",
447
+ "open": "newWin",
448
+ "show": true,
449
+ "type": "processes",
450
+ "showChanged": false
451
+ },
452
+ {
453
+ "url": "/tracing/link/all?time=#{TR}&query=#{T}",
454
+ "open": "newWin",
455
+ "show": true,
456
+ "type": "tracing",
457
+ "showChanged": false
458
+ },
459
+ {
460
+ "url": "/scene/builtinview/detail?time=#{TR}&query=#{T}",
461
+ "open": "newWin",
462
+ "show": true,
463
+ "type": "host",
464
+ "showChanged": false
465
+ }
466
+ ],
467
+ "settings": {
468
+ "alias": [],
469
+ "units": [],
470
+ "colors": [],
471
+ "levels": [],
472
+ "topSize": 10,
473
+ "showLine": false,
474
+ "unitType": "global",
475
+ "direction": "vertical",
476
+ "fixedTime": "",
477
+ "openStack": false,
478
+ "precision": "2",
479
+ "showTitle": true,
480
+ "stackType": "time",
481
+ "titleDesc": "",
482
+ "globalUnit": [],
483
+ "isSampling": true,
484
+ "openCompare": false,
485
+ "showTopSize": false,
486
+ "xAxixMaxVal": null,
487
+ "xAxixMinVal": null,
488
+ "yAxixMaxVal": null,
489
+ "yAxixMinVal": null,
490
+ "stackContent": "group",
491
+ "timeInterval": "auto",
492
+ "xAxisShowType": "groupBy",
493
+ "isCombineChart": false,
494
+ "isTimeInterval": false,
495
+ "changeWorkspace": false,
496
+ "openRepeatChart": false,
497
+ "currentChartType": "bar",
498
+ "showFieldMapping": false,
499
+ "xAxisLabelRotate": 0,
500
+ "showTopWithMetric": "",
501
+ "scientificNotation": true,
502
+ "repeatChartRowLimit": 3,
503
+ "repeatChartVariable": "",
504
+ "openThousandsSeparator": true,
505
+ "enablePreflightEstimate": false
506
+ },
507
+ "fixedTime": ""
508
+ },
509
+ "group": {
510
+ "name": "test2"
511
+ },
512
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
513
+ "name": "新建图表",
514
+ "pos": {
515
+ "h": 10,
516
+ "w": 8,
517
+ "x": 8,
518
+ "y": 0
519
+ },
520
+ "type": "bar",
521
+ "queries": [
522
+ {
523
+ "name": "",
524
+ "type": "bar",
525
+ "unit": "",
526
+ "color": "",
527
+ "qtype": "dql",
528
+ "query": {
529
+ "q": "M::cpu:(avg(`load5s`)) BY `host`",
530
+ "code": "A",
531
+ "fill": null,
532
+ "type": "simple",
533
+ "alias": "",
534
+ "field": "load5s",
535
+ "filters": [],
536
+ "groupBy": [
537
+ "host"
538
+ ],
539
+ "funcList": [],
540
+ "fieldFunc": "avg",
541
+ "fieldType": "float",
542
+ "namespace": "metric",
543
+ "dataSource": "cpu",
544
+ "queryFuncs": [],
545
+ "groupByTime": "",
546
+ "indexFilter": "",
547
+ "additionalFields": null
548
+ },
549
+ "disabled": false,
550
+ "datasource": "dataflux"
551
+ }
552
+ ],
553
+ "prevGroupName": "test2",
554
+ "uuid": "chrt_987658df06294242940ef859b4e88040"
555
+ },
556
+ {
557
+ "extend": {
558
+ "links": [
559
+ {
560
+ "url": "/logIndi/log/all?time=#{TR}&query=#{T}",
561
+ "open": "newWin",
562
+ "show": true,
563
+ "type": "logging",
564
+ "showChanged": false
565
+ },
566
+ {
567
+ "url": "/objectadmin/docker_containers?routerTabActive=ObjectadminDocker&time=#{TR}&query=#{T}",
568
+ "open": "newWin",
569
+ "show": true,
570
+ "type": "container",
571
+ "showChanged": false
572
+ },
573
+ {
574
+ "url": "/objectadmin/host_processes?routerTabActive=ObjectadminProcesses&time=#{TR}&query=#{T}",
575
+ "open": "newWin",
576
+ "show": true,
577
+ "type": "processes",
578
+ "showChanged": false
579
+ },
580
+ {
581
+ "url": "/tracing/link/all?time=#{TR}&query=#{T}",
582
+ "open": "newWin",
583
+ "show": true,
584
+ "type": "tracing",
585
+ "showChanged": false
586
+ },
587
+ {
588
+ "url": "/scene/builtinview/detail?time=#{TR}&query=#{T}",
589
+ "open": "newWin",
590
+ "show": true,
591
+ "type": "host",
592
+ "showChanged": false
593
+ }
594
+ ],
595
+ "settings": {
596
+ "alias": [],
597
+ "units": [],
598
+ "colors": [],
599
+ "levels": [],
600
+ "topSize": 10,
601
+ "showLine": false,
602
+ "unitType": "global",
603
+ "direction": "horizontal",
604
+ "fixedTime": "",
605
+ "openStack": false,
606
+ "precision": "2",
607
+ "showTitle": true,
608
+ "stackType": "time",
609
+ "titleDesc": "",
610
+ "globalUnit": [],
611
+ "isSampling": true,
612
+ "openCompare": false,
613
+ "showTopSize": false,
614
+ "xAxixMaxVal": null,
615
+ "xAxixMinVal": null,
616
+ "yAxixMaxVal": null,
617
+ "yAxixMinVal": null,
618
+ "stackContent": "group",
619
+ "timeInterval": "auto",
620
+ "xAxisShowType": "groupBy",
621
+ "isCombineChart": false,
622
+ "isTimeInterval": false,
623
+ "changeWorkspace": false,
624
+ "openRepeatChart": false,
625
+ "currentChartType": "bar",
626
+ "showFieldMapping": false,
627
+ "xAxisLabelRotate": 0,
628
+ "showTopWithMetric": "",
629
+ "scientificNotation": true,
630
+ "repeatChartRowLimit": 3,
631
+ "repeatChartVariable": "",
632
+ "openThousandsSeparator": true,
633
+ "enablePreflightEstimate": false
634
+ },
635
+ "fixedTime": ""
636
+ },
637
+ "group": {
638
+ "name": "test2"
639
+ },
640
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
641
+ "name": "新建图表",
642
+ "pos": {
643
+ "h": 10,
644
+ "w": 8,
645
+ "x": 0,
646
+ "y": 10
647
+ },
648
+ "type": "bar",
649
+ "queries": [
650
+ {
651
+ "name": "",
652
+ "type": "bar",
653
+ "unit": "",
654
+ "color": "",
655
+ "qtype": "dql",
656
+ "query": {
657
+ "q": "M::cpu:(avg(`load5s`)) BY `host`",
658
+ "code": "A",
659
+ "fill": null,
660
+ "type": "simple",
661
+ "alias": "",
662
+ "field": "load5s",
663
+ "filters": [],
664
+ "groupBy": [
665
+ "host"
666
+ ],
667
+ "funcList": [],
668
+ "fieldFunc": "avg",
669
+ "fieldType": "float",
670
+ "namespace": "metric",
671
+ "dataSource": "cpu",
672
+ "queryFuncs": [],
673
+ "groupByTime": "",
674
+ "indexFilter": "",
675
+ "additionalFields": null
676
+ },
677
+ "disabled": false,
678
+ "datasource": "dataflux"
679
+ }
680
+ ],
681
+ "prevGroupName": "test2",
682
+ "uuid": "chrt_ed7ecef1f9c94b648f4d948092a21938"
683
+ },
684
+ {
685
+ "extend": {
686
+ "links": [
687
+ {
688
+ "url": "/logIndi/log/all?time=#{TR}&query=#{T}",
689
+ "open": "newWin",
690
+ "show": true,
691
+ "type": "logging",
692
+ "showChanged": false
693
+ },
694
+ {
695
+ "url": "/objectadmin/docker_containers?routerTabActive=ObjectadminDocker&time=#{TR}&query=#{T}",
696
+ "open": "newWin",
697
+ "show": true,
698
+ "type": "container",
699
+ "showChanged": false
700
+ },
701
+ {
702
+ "url": "/objectadmin/host_processes?routerTabActive=ObjectadminProcesses&time=#{TR}&query=#{T}",
703
+ "open": "newWin",
704
+ "show": true,
705
+ "type": "processes",
706
+ "showChanged": false
707
+ },
708
+ {
709
+ "url": "/tracing/link/all?time=#{TR}&query=#{T}",
710
+ "open": "newWin",
711
+ "show": true,
712
+ "type": "tracing",
713
+ "showChanged": false
714
+ },
715
+ {
716
+ "url": "/scene/builtinview/detail?time=#{TR}&query=#{T}",
717
+ "open": "newWin",
718
+ "show": true,
719
+ "type": "host",
720
+ "showChanged": false
721
+ }
722
+ ],
723
+ "settings": {
724
+ "bar": {
725
+ "direction": "horizontal",
726
+ "xAxisShowType": "groupBy"
727
+ },
728
+ "alias": [],
729
+ "color": "",
730
+ "table": {
731
+ "queryMode": "toGroupColumn"
732
+ },
733
+ "units": [],
734
+ "colors": [],
735
+ "levels": [],
736
+ "slimit": 20,
737
+ "topSize": 10,
738
+ "unitType": "global",
739
+ "chartType": "bar",
740
+ "fixedTime": "",
741
+ "precision": "2",
742
+ "showTitle": true,
743
+ "titleDesc": "",
744
+ "globalUnit": [],
745
+ "isSampling": true,
746
+ "openCompare": false,
747
+ "showTopSize": true,
748
+ "timeInterval": "auto",
749
+ "showTableHead": true,
750
+ "tableSortType": "top",
751
+ "isTimeInterval": false,
752
+ "changeWorkspace": false,
753
+ "openRepeatChart": false,
754
+ "showFieldMapping": false,
755
+ "scientificNotation": true,
756
+ "mainMeasurementSort": "top",
757
+ "repeatChartRowLimit": 3,
758
+ "repeatChartVariable": "",
759
+ "tableSortMetricName": "",
760
+ "mainMeasurementLimit": 20,
761
+ "openThousandsSeparator": true,
762
+ "enablePreflightEstimate": false,
763
+ "mainMeasurementQueryCode": "A"
764
+ },
765
+ "fixedTime": ""
766
+ },
767
+ "group": {
768
+ "name": "test2"
769
+ },
770
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
771
+ "name": "新建图表",
772
+ "pos": {
773
+ "h": 10,
774
+ "w": 8,
775
+ "x": 9,
776
+ "y": 10
777
+ },
778
+ "type": "toplist",
779
+ "queries": [
780
+ {
781
+ "name": "",
782
+ "type": "toplist",
783
+ "unit": "",
784
+ "color": "",
785
+ "qtype": "dql",
786
+ "query": {
787
+ "q": "M::cpu:(avg(`load5s`)) BY `host`",
788
+ "code": "A",
789
+ "fill": null,
790
+ "type": "simple",
791
+ "alias": "",
792
+ "field": "load5s",
793
+ "filters": [],
794
+ "groupBy": [
795
+ "host"
796
+ ],
797
+ "funcList": [],
798
+ "fieldFunc": "avg",
799
+ "fieldType": "float",
800
+ "namespace": "metric",
801
+ "dataSource": "cpu",
802
+ "queryFuncs": [],
803
+ "groupByTime": "",
804
+ "indexFilter": "",
805
+ "additionalFields": null
806
+ },
807
+ "disabled": false,
808
+ "datasource": "dataflux"
809
+ }
810
+ ],
811
+ "prevGroupName": "test2",
812
+ "uuid": "chrt_22dd66f368ef4d85966c09c86dc7b5e2"
813
+ },
814
+ {
815
+ "extend": {
816
+ "links": [
817
+ {
818
+ "url": "/logIndi/log/all?time=#{TR}&query=#{T}",
819
+ "open": "newWin",
820
+ "show": true,
821
+ "type": "logging",
822
+ "showChanged": false
823
+ },
824
+ {
825
+ "url": "/objectadmin/docker_containers?routerTabActive=ObjectadminDocker&time=#{TR}&query=#{T}",
826
+ "open": "newWin",
827
+ "show": true,
828
+ "type": "container",
829
+ "showChanged": false
830
+ },
831
+ {
832
+ "url": "/objectadmin/host_processes?routerTabActive=ObjectadminProcesses&time=#{TR}&query=#{T}",
833
+ "open": "newWin",
834
+ "show": true,
835
+ "type": "processes",
836
+ "showChanged": false
837
+ },
838
+ {
839
+ "url": "/tracing/link/all?time=#{TR}&query=#{T}",
840
+ "open": "newWin",
841
+ "show": true,
842
+ "type": "tracing",
843
+ "showChanged": false
844
+ },
845
+ {
846
+ "url": "/scene/builtinview/detail?time=#{TR}&query=#{T}",
847
+ "open": "newWin",
848
+ "show": true,
849
+ "type": "host",
850
+ "showChanged": false
851
+ }
852
+ ],
853
+ "settings": {
854
+ "alias": [],
855
+ "units": [],
856
+ "colors": [],
857
+ "levels": [],
858
+ "slimit": 20,
859
+ "unitType": "global",
860
+ "chartType": "customized",
861
+ "fixedTime": "",
862
+ "precision": "2",
863
+ "showTitle": true,
864
+ "titleDesc": "",
865
+ "globalUnit": [],
866
+ "isSampling": true,
867
+ "otherColor": "#F56610",
868
+ "timeInterval": "auto",
869
+ "legendPostion": "bottom",
870
+ "isCombineChart": false,
871
+ "isTimeInterval": false,
872
+ "changeWorkspace": false,
873
+ "legendValueOpen": true,
874
+ "openRepeatChart": false,
875
+ "currentChartType": "pie",
876
+ "showFieldMapping": false,
877
+ "onlyShowGroupName": false,
878
+ "scientificNotation": true,
879
+ "mainMeasurementSort": "top",
880
+ "repeatChartRowLimit": 3,
881
+ "repeatChartVariable": "",
882
+ "mainMeasurementLimit": 20,
883
+ "legendValuePercentOpen": true,
884
+ "openThousandsSeparator": true,
885
+ "enablePreflightEstimate": false,
886
+ "chartCombineDefaultColor": "#F56610",
887
+ "mainMeasurementQueryCode": "A"
888
+ },
889
+ "fixedTime": ""
890
+ },
891
+ "group": {
892
+ "name": "test2"
893
+ },
894
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
895
+ "name": "新建图表",
896
+ "pos": {
897
+ "h": 10,
898
+ "w": 8,
899
+ "x": 0,
900
+ "y": 20
901
+ },
902
+ "type": "pie",
903
+ "queries": [
904
+ {
905
+ "name": "",
906
+ "type": "pie",
907
+ "unit": "",
908
+ "color": "",
909
+ "qtype": "dql",
910
+ "query": {
911
+ "q": "M::cpu:(avg(`load5s`)) BY `host`",
912
+ "code": "A",
913
+ "fill": null,
914
+ "type": "simple",
915
+ "alias": "",
916
+ "field": "load5s",
917
+ "filters": [],
918
+ "groupBy": [
919
+ "host"
920
+ ],
921
+ "funcList": [],
922
+ "fieldFunc": "avg",
923
+ "fieldType": "float",
924
+ "namespace": "metric",
925
+ "dataSource": "cpu",
926
+ "queryFuncs": [],
927
+ "groupByTime": "",
928
+ "indexFilter": "",
929
+ "additionalFields": null
930
+ },
931
+ "disabled": false,
932
+ "datasource": "dataflux"
933
+ }
934
+ ],
935
+ "prevGroupName": "test2",
936
+ "uuid": "chrt_eeb1a61d0fd44a948ca1f20812387dfe"
937
+ },
938
+ {
939
+ "extend": {
940
+ "links": [
941
+ {
942
+ "url": "/logIndi/log/all?time=#{TR}&query=#{T}",
943
+ "open": "newWin",
944
+ "show": true,
945
+ "type": "logging",
946
+ "showChanged": false
947
+ },
948
+ {
949
+ "url": "/objectadmin/docker_containers?routerTabActive=ObjectadminDocker&time=#{TR}&query=#{T}",
950
+ "open": "newWin",
951
+ "show": true,
952
+ "type": "container",
953
+ "showChanged": false
954
+ },
955
+ {
956
+ "url": "/objectadmin/host_processes?routerTabActive=ObjectadminProcesses&time=#{TR}&query=#{T}",
957
+ "open": "newWin",
958
+ "show": true,
959
+ "type": "processes",
960
+ "showChanged": false
961
+ },
962
+ {
963
+ "url": "/tracing/link/all?time=#{TR}&query=#{T}",
964
+ "open": "newWin",
965
+ "show": true,
966
+ "type": "tracing",
967
+ "showChanged": false
968
+ },
969
+ {
970
+ "url": "/scene/builtinview/detail?time=#{TR}&query=#{T}",
971
+ "open": "newWin",
972
+ "show": true,
973
+ "type": "host",
974
+ "showChanged": false
975
+ }
976
+ ],
977
+ "settings": {
978
+ "alias": [],
979
+ "units": [],
980
+ "colors": [],
981
+ "levels": [],
982
+ "slimit": 20,
983
+ "unitType": "global",
984
+ "chartType": "doughnut",
985
+ "fixedTime": "",
986
+ "precision": "2",
987
+ "showTitle": true,
988
+ "titleDesc": "",
989
+ "globalUnit": [],
990
+ "isSampling": true,
991
+ "otherColor": "#F56610",
992
+ "timeInterval": "auto",
993
+ "legendPostion": "bottom",
994
+ "isCombineChart": false,
995
+ "isTimeInterval": false,
996
+ "changeWorkspace": false,
997
+ "legendValueOpen": true,
998
+ "openRepeatChart": false,
999
+ "currentChartType": "pie",
1000
+ "showFieldMapping": false,
1001
+ "onlyShowGroupName": false,
1002
+ "scientificNotation": true,
1003
+ "mainMeasurementSort": "top",
1004
+ "repeatChartRowLimit": 3,
1005
+ "repeatChartVariable": "",
1006
+ "mainMeasurementLimit": 20,
1007
+ "legendValuePercentOpen": true,
1008
+ "openThousandsSeparator": true,
1009
+ "enablePreflightEstimate": false,
1010
+ "chartCombineDefaultColor": "#F56610",
1011
+ "mainMeasurementQueryCode": "A"
1012
+ },
1013
+ "fixedTime": ""
1014
+ },
1015
+ "group": {
1016
+ "name": "test2"
1017
+ },
1018
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
1019
+ "name": "新建图表",
1020
+ "pos": {
1021
+ "h": 10,
1022
+ "w": 10,
1023
+ "x": 8,
1024
+ "y": 20
1025
+ },
1026
+ "type": "pie",
1027
+ "queries": [
1028
+ {
1029
+ "name": "",
1030
+ "type": "pie",
1031
+ "unit": "",
1032
+ "color": "",
1033
+ "qtype": "dql",
1034
+ "query": {
1035
+ "q": "M::cpu:(avg(`load5s`)) BY `host`",
1036
+ "code": "A",
1037
+ "fill": null,
1038
+ "type": "simple",
1039
+ "alias": "",
1040
+ "field": "load5s",
1041
+ "filters": [],
1042
+ "groupBy": [
1043
+ "host"
1044
+ ],
1045
+ "funcList": [],
1046
+ "fieldFunc": "avg",
1047
+ "fieldType": "float",
1048
+ "namespace": "metric",
1049
+ "dataSource": "cpu",
1050
+ "queryFuncs": [],
1051
+ "groupByTime": "",
1052
+ "indexFilter": "",
1053
+ "additionalFields": null
1054
+ },
1055
+ "disabled": false,
1056
+ "datasource": "dataflux"
1057
+ }
1058
+ ],
1059
+ "prevGroupName": "test2",
1060
+ "uuid": "chrt_8519d8a730b249cf96d3ed779962ae36"
1061
+ },
1062
+ {
1063
+ "extend": {
1064
+ "links": [
1065
+ {
1066
+ "url": "/logIndi/log/all?time=#{TR}&query=#{T}",
1067
+ "open": "newWin",
1068
+ "show": true,
1069
+ "type": "logging",
1070
+ "showChanged": false
1071
+ },
1072
+ {
1073
+ "url": "/objectadmin/docker_containers?routerTabActive=ObjectadminDocker&time=#{TR}&query=#{T}",
1074
+ "open": "newWin",
1075
+ "show": true,
1076
+ "type": "container",
1077
+ "showChanged": false
1078
+ },
1079
+ {
1080
+ "url": "/objectadmin/host_processes?routerTabActive=ObjectadminProcesses&time=#{TR}&query=#{T}",
1081
+ "open": "newWin",
1082
+ "show": true,
1083
+ "type": "processes",
1084
+ "showChanged": false
1085
+ },
1086
+ {
1087
+ "url": "/tracing/link/all?time=#{TR}&query=#{T}",
1088
+ "open": "newWin",
1089
+ "show": true,
1090
+ "type": "tracing",
1091
+ "showChanged": false
1092
+ },
1093
+ {
1094
+ "url": "/scene/builtinview/detail?time=#{TR}&query=#{T}",
1095
+ "open": "newWin",
1096
+ "show": true,
1097
+ "type": "host",
1098
+ "showChanged": false
1099
+ }
1100
+ ],
1101
+ "settings": {
1102
+ "alias": [],
1103
+ "units": [],
1104
+ "colors": [],
1105
+ "levels": [],
1106
+ "slimit": 20,
1107
+ "unitType": "global",
1108
+ "chartType": "pie",
1109
+ "fixedTime": "",
1110
+ "precision": "2",
1111
+ "showTitle": true,
1112
+ "titleDesc": "",
1113
+ "globalUnit": [],
1114
+ "isSampling": true,
1115
+ "otherColor": "#F56610",
1116
+ "timeInterval": "auto",
1117
+ "legendPostion": "bottom",
1118
+ "isCombineChart": false,
1119
+ "isTimeInterval": false,
1120
+ "changeWorkspace": false,
1121
+ "legendValueOpen": true,
1122
+ "openRepeatChart": false,
1123
+ "currentChartType": "pie",
1124
+ "showFieldMapping": false,
1125
+ "onlyShowGroupName": false,
1126
+ "scientificNotation": true,
1127
+ "mainMeasurementSort": "top",
1128
+ "repeatChartRowLimit": 3,
1129
+ "repeatChartVariable": "",
1130
+ "mainMeasurementLimit": 20,
1131
+ "legendValuePercentOpen": true,
1132
+ "openThousandsSeparator": true,
1133
+ "enablePreflightEstimate": false,
1134
+ "chartCombineDefaultColor": "#F56610",
1135
+ "mainMeasurementQueryCode": "A"
1136
+ },
1137
+ "fixedTime": ""
1138
+ },
1139
+ "group": {
1140
+ "name": "test2"
1141
+ },
1142
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
1143
+ "name": "新建图表",
1144
+ "pos": {
1145
+ "h": 10,
1146
+ "w": 8,
1147
+ "x": 0,
1148
+ "y": 30
1149
+ },
1150
+ "type": "pie",
1151
+ "queries": [
1152
+ {
1153
+ "name": "",
1154
+ "type": "pie",
1155
+ "unit": "",
1156
+ "color": "",
1157
+ "qtype": "dql",
1158
+ "query": {
1159
+ "q": "M::cpu:(avg(`load5s`)) BY `host`",
1160
+ "code": "A",
1161
+ "fill": null,
1162
+ "type": "simple",
1163
+ "alias": "",
1164
+ "field": "load5s",
1165
+ "filters": [],
1166
+ "groupBy": [
1167
+ "host"
1168
+ ],
1169
+ "funcList": [],
1170
+ "fieldFunc": "avg",
1171
+ "fieldType": "float",
1172
+ "namespace": "metric",
1173
+ "dataSource": "cpu",
1174
+ "queryFuncs": [],
1175
+ "groupByTime": "",
1176
+ "indexFilter": "",
1177
+ "additionalFields": null
1178
+ },
1179
+ "disabled": false,
1180
+ "datasource": "dataflux"
1181
+ }
1182
+ ],
1183
+ "prevGroupName": "test2",
1184
+ "uuid": "chrt_ade3526038bd469fafc98a54faea73b3"
1185
+ },
1186
+ {
1187
+ "extend": {
1188
+ "settings": {
1189
+ "alias": [],
1190
+ "units": [],
1191
+ "colors": [],
1192
+ "levels": [],
1193
+ "bgColor": "",
1194
+ "mappings": [],
1195
+ "showLine": false,
1196
+ "unitType": "global",
1197
+ "fixedTime": "",
1198
+ "fontColor": "",
1199
+ "lineColor": "#3AB8FF",
1200
+ "precision": "2",
1201
+ "showTitle": true,
1202
+ "titleDesc": "",
1203
+ "downsample": "last",
1204
+ "globalUnit": [],
1205
+ "isSampling": true,
1206
+ "compareType": "",
1207
+ "openCompare": false,
1208
+ "showLineAxis": false,
1209
+ "timeInterval": "auto",
1210
+ "isTimeInterval": false,
1211
+ "changeWorkspace": false,
1212
+ "openRepeatChart": false,
1213
+ "showFieldMapping": false,
1214
+ "sequenceChartType": "line",
1215
+ "scientificNotation": true,
1216
+ "repeatChartRowLimit": 3,
1217
+ "repeatChartVariable": "",
1218
+ "openThousandsSeparator": true,
1219
+ "enablePreflightEstimate": false
1220
+ },
1221
+ "fixedTime": ""
1222
+ },
1223
+ "group": {
1224
+ "name": "test2"
1225
+ },
1226
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
1227
+ "name": "新建图表",
1228
+ "pos": {
1229
+ "h": 10,
1230
+ "w": 10,
1231
+ "x": 8,
1232
+ "y": 30
1233
+ },
1234
+ "type": "singlestat",
1235
+ "queries": [
1236
+ {
1237
+ "name": "",
1238
+ "type": "singlestat",
1239
+ "unit": "",
1240
+ "color": "",
1241
+ "qtype": "dql",
1242
+ "query": {
1243
+ "q": "M::cpu:(avg(`load5s`))",
1244
+ "code": "A",
1245
+ "fill": null,
1246
+ "type": "simple",
1247
+ "alias": "",
1248
+ "field": "load5s",
1249
+ "filters": [],
1250
+ "groupBy": [],
1251
+ "funcList": [],
1252
+ "fieldFunc": "avg",
1253
+ "fieldType": "float",
1254
+ "namespace": "metric",
1255
+ "dataSource": "cpu",
1256
+ "queryFuncs": [],
1257
+ "groupByTime": "",
1258
+ "indexFilter": "",
1259
+ "additionalFields": null
1260
+ },
1261
+ "disabled": false,
1262
+ "datasource": "dataflux"
1263
+ }
1264
+ ],
1265
+ "prevGroupName": "test2",
1266
+ "uuid": "chrt_fae7fbfd869e43f387882047c5f66457"
1267
+ },
1268
+ {
1269
+ "extend": {
1270
+ "links": [
1271
+ {
1272
+ "url": "/logIndi/log/all?time=#{TR}&query=#{T}",
1273
+ "open": "newWin",
1274
+ "show": true,
1275
+ "type": "logging",
1276
+ "showChanged": false
1277
+ },
1278
+ {
1279
+ "url": "/objectadmin/docker_containers?routerTabActive=ObjectadminDocker&time=#{TR}&query=#{T}",
1280
+ "open": "newWin",
1281
+ "show": true,
1282
+ "type": "container",
1283
+ "showChanged": false
1284
+ },
1285
+ {
1286
+ "url": "/objectadmin/host_processes?routerTabActive=ObjectadminProcesses&time=#{TR}&query=#{T}",
1287
+ "open": "newWin",
1288
+ "show": true,
1289
+ "type": "processes",
1290
+ "showChanged": false
1291
+ },
1292
+ {
1293
+ "url": "/tracing/link/all?time=#{TR}&query=#{T}",
1294
+ "open": "newWin",
1295
+ "show": true,
1296
+ "type": "tracing",
1297
+ "showChanged": false
1298
+ },
1299
+ {
1300
+ "url": "/scene/builtinview/detail?time=#{TR}&query=#{T}",
1301
+ "open": "newWin",
1302
+ "show": true,
1303
+ "type": "host",
1304
+ "showChanged": false
1305
+ }
1306
+ ],
1307
+ "settings": {
1308
+ "alias": [],
1309
+ "units": [],
1310
+ "colors": [],
1311
+ "levels": [],
1312
+ "slimit": 20,
1313
+ "pageSize": 0,
1314
+ "unitType": "global",
1315
+ "fixedTime": "",
1316
+ "precision": "2",
1317
+ "queryMode": "toGroupColumn",
1318
+ "showTitle": true,
1319
+ "titleDesc": "",
1320
+ "globalUnit": [],
1321
+ "isSampling": true,
1322
+ "pageEnable": false,
1323
+ "showColumns": [],
1324
+ "valMappings": [],
1325
+ "timeInterval": "auto",
1326
+ "isCombineChart": false,
1327
+ "isTimeInterval": false,
1328
+ "changeWorkspace": false,
1329
+ "openRepeatChart": false,
1330
+ "currentChartType": "table",
1331
+ "showFieldMapping": false,
1332
+ "valColorMappings": [],
1333
+ "scientificNotation": true,
1334
+ "mainMeasurementSort": "top",
1335
+ "repeatChartRowLimit": 3,
1336
+ "repeatChartVariable": "",
1337
+ "mainMeasurementField": "avg(load5s)",
1338
+ "mainMeasurementLimit": 20,
1339
+ "openThousandsSeparator": false,
1340
+ "enablePreflightEstimate": false,
1341
+ "mainMeasurementQueryCode": "A"
1342
+ },
1343
+ "fixedTime": ""
1344
+ },
1345
+ "group": {
1346
+ "name": "test2"
1347
+ },
1348
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
1349
+ "name": "新建图表",
1350
+ "pos": {
1351
+ "h": 18,
1352
+ "w": 12,
1353
+ "x": 0,
1354
+ "y": 40
1355
+ },
1356
+ "type": "table",
1357
+ "queries": [
1358
+ {
1359
+ "name": "",
1360
+ "type": "table",
1361
+ "unit": "",
1362
+ "color": "",
1363
+ "qtype": "dql",
1364
+ "query": {
1365
+ "q": "M::cpu:(avg(`load5s`)) BY `host`",
1366
+ "code": "A",
1367
+ "fill": null,
1368
+ "type": "simple",
1369
+ "alias": "",
1370
+ "field": [
1371
+ "load5s"
1372
+ ],
1373
+ "filters": [],
1374
+ "groupBy": [
1375
+ "host"
1376
+ ],
1377
+ "funcList": [],
1378
+ "fieldFunc": "avg",
1379
+ "fieldType": "float",
1380
+ "namespace": "metric",
1381
+ "dataSource": "cpu",
1382
+ "queryFuncs": [],
1383
+ "groupByTime": "",
1384
+ "indexFilter": "",
1385
+ "additionalFields": null
1386
+ },
1387
+ "disabled": false,
1388
+ "datasource": "dataflux"
1389
+ }
1390
+ ],
1391
+ "prevGroupName": "test2",
1392
+ "uuid": "chrt_d70b12ab825b491ab36606f9efa341d9"
1393
+ },
1394
+ {
1395
+ "extend": {
1396
+ "links": [
1397
+ {
1398
+ "url": "/logIndi/log/all?time=#{TR}&query=#{T}",
1399
+ "open": "newWin",
1400
+ "show": true,
1401
+ "type": "logging",
1402
+ "showChanged": false
1403
+ },
1404
+ {
1405
+ "url": "/objectadmin/docker_containers?routerTabActive=ObjectadminDocker&time=#{TR}&query=#{T}",
1406
+ "open": "newWin",
1407
+ "show": true,
1408
+ "type": "container",
1409
+ "showChanged": false
1410
+ },
1411
+ {
1412
+ "url": "/objectadmin/host_processes?routerTabActive=ObjectadminProcesses&time=#{TR}&query=#{T}",
1413
+ "open": "newWin",
1414
+ "show": true,
1415
+ "type": "processes",
1416
+ "showChanged": false
1417
+ },
1418
+ {
1419
+ "url": "/tracing/link/all?time=#{TR}&query=#{T}",
1420
+ "open": "newWin",
1421
+ "show": true,
1422
+ "type": "tracing",
1423
+ "showChanged": false
1424
+ },
1425
+ {
1426
+ "url": "/scene/builtinview/detail?time=#{TR}&query=#{T}",
1427
+ "open": "newWin",
1428
+ "show": true,
1429
+ "type": "host",
1430
+ "showChanged": false
1431
+ }
1432
+ ],
1433
+ "settings": {
1434
+ "alias": [],
1435
+ "units": [],
1436
+ "colors": [],
1437
+ "levels": [],
1438
+ "pageSize": 0,
1439
+ "unitType": "global",
1440
+ "fixedTime": "",
1441
+ "precision": "2",
1442
+ "queryMode": "toOneColumn",
1443
+ "showTitle": true,
1444
+ "titleDesc": "",
1445
+ "globalUnit": [],
1446
+ "isSampling": true,
1447
+ "pageEnable": false,
1448
+ "showColumns": [],
1449
+ "valMappings": [],
1450
+ "timeInterval": "auto",
1451
+ "isCombineChart": false,
1452
+ "isTimeInterval": false,
1453
+ "changeWorkspace": false,
1454
+ "disableFuncList": true,
1455
+ "openRepeatChart": false,
1456
+ "currentChartType": "table",
1457
+ "showFieldMapping": false,
1458
+ "valColorMappings": [],
1459
+ "scientificNotation": true,
1460
+ "repeatChartRowLimit": 3,
1461
+ "repeatChartVariable": "",
1462
+ "openThousandsSeparator": false,
1463
+ "enablePreflightEstimate": false
1464
+ },
1465
+ "fixedTime": ""
1466
+ },
1467
+ "group": {
1468
+ "name": "test2"
1469
+ },
1470
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
1471
+ "name": "新建图表",
1472
+ "pos": {
1473
+ "h": 18,
1474
+ "w": 12,
1475
+ "x": 12,
1476
+ "y": 40
1477
+ },
1478
+ "type": "table",
1479
+ "queries": [
1480
+ {
1481
+ "name": "",
1482
+ "type": "table",
1483
+ "unit": "",
1484
+ "color": "",
1485
+ "qtype": "dql",
1486
+ "query": {
1487
+ "q": "M::cpu:(avg(`load5s`)) BY `host`",
1488
+ "code": "A",
1489
+ "fill": null,
1490
+ "type": "simple",
1491
+ "alias": "",
1492
+ "field": [
1493
+ "load5s"
1494
+ ],
1495
+ "filters": [],
1496
+ "groupBy": [
1497
+ "host"
1498
+ ],
1499
+ "funcList": [],
1500
+ "fieldFunc": "avg",
1501
+ "fieldType": "float",
1502
+ "namespace": "metric",
1503
+ "dataSource": "cpu",
1504
+ "queryFuncs": [],
1505
+ "groupByTime": "",
1506
+ "indexFilter": "",
1507
+ "additionalFields": null
1508
+ },
1509
+ "disabled": false,
1510
+ "datasource": "dataflux"
1511
+ }
1512
+ ],
1513
+ "prevGroupName": "test2",
1514
+ "uuid": "chrt_2b24f33f0e47478e802246f3d6f9d2f5"
1515
+ },
1516
+ {
1517
+ "extend": {
1518
+ "links": [
1519
+ {
1520
+ "url": "/logIndi/log/all?time=#{TR}&query=#{T}",
1521
+ "open": "newWin",
1522
+ "show": true,
1523
+ "type": "logging",
1524
+ "showChanged": false
1525
+ },
1526
+ {
1527
+ "url": "/objectadmin/docker_containers?routerTabActive=ObjectadminDocker&time=#{TR}&query=#{T}",
1528
+ "open": "newWin",
1529
+ "show": true,
1530
+ "type": "container",
1531
+ "showChanged": false
1532
+ },
1533
+ {
1534
+ "url": "/objectadmin/host_processes?routerTabActive=ObjectadminProcesses&time=#{TR}&query=#{T}",
1535
+ "open": "newWin",
1536
+ "show": true,
1537
+ "type": "processes",
1538
+ "showChanged": false
1539
+ },
1540
+ {
1541
+ "url": "/tracing/link/all?time=#{TR}&query=#{T}",
1542
+ "open": "newWin",
1543
+ "show": true,
1544
+ "type": "tracing",
1545
+ "showChanged": false
1546
+ },
1547
+ {
1548
+ "url": "/scene/builtinview/detail?time=#{TR}&query=#{T}",
1549
+ "open": "newWin",
1550
+ "show": true,
1551
+ "type": "host",
1552
+ "showChanged": false
1553
+ }
1554
+ ],
1555
+ "settings": {
1556
+ "alias": [],
1557
+ "units": [],
1558
+ "colors": [],
1559
+ "levels": [],
1560
+ "slimit": 20,
1561
+ "levelArr": [
1562
+ {
1563
+ "max": -1,
1564
+ "min": -1,
1565
+ "color": "#AFE1F2",
1566
+ "isAuto": true
1567
+ },
1568
+ {
1569
+ "max": -1,
1570
+ "min": -1,
1571
+ "color": "#7DCBF0",
1572
+ "isAuto": true
1573
+ },
1574
+ {
1575
+ "max": -1,
1576
+ "min": -1,
1577
+ "color": "#5CAEE5",
1578
+ "isAuto": true
1579
+ },
1580
+ {
1581
+ "max": -1,
1582
+ "min": -1,
1583
+ "color": "#3E8FD6",
1584
+ "isAuto": true
1585
+ },
1586
+ {
1587
+ "max": -1,
1588
+ "min": -1,
1589
+ "color": "#216DC4",
1590
+ "isAuto": true
1591
+ }
1592
+ ],
1593
+ "unitType": "global",
1594
+ "fixedTime": "",
1595
+ "precision": "2",
1596
+ "showTitle": true,
1597
+ "titleDesc": "",
1598
+ "colorLevel": 5,
1599
+ "globalUnit": [],
1600
+ "isSampling": true,
1601
+ "isVariable": false,
1602
+ "showLegend": "none",
1603
+ "provinceKey": "",
1604
+ "showTopList": false,
1605
+ "timeInterval": "auto",
1606
+ "variableCode": "",
1607
+ "rangeColorKey": "blue",
1608
+ "isTimeInterval": false,
1609
+ "changeWorkspace": false,
1610
+ "currentChartType": "chinamap",
1611
+ "showFieldMapping": false,
1612
+ "scientificNotation": true,
1613
+ "openThousandsSeparator": true,
1614
+ "enablePreflightEstimate": false,
1615
+ "mainMeasurementQueryCode": "A"
1616
+ },
1617
+ "fixedTime": ""
1618
+ },
1619
+ "group": {
1620
+ "name": "test2"
1621
+ },
1622
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
1623
+ "name": "新建图表",
1624
+ "pos": {
1625
+ "h": 18,
1626
+ "w": 12,
1627
+ "x": 0,
1628
+ "y": 58
1629
+ },
1630
+ "type": "chinamap",
1631
+ "queries": [
1632
+ {
1633
+ "name": "",
1634
+ "type": "chinamap",
1635
+ "unit": "",
1636
+ "color": "",
1637
+ "qtype": "dql",
1638
+ "query": {
1639
+ "q": "M::cpu:(avg(`load5s`)) BY `host`",
1640
+ "code": "A",
1641
+ "fill": null,
1642
+ "type": "simple",
1643
+ "alias": "",
1644
+ "field": "load5s",
1645
+ "filters": [],
1646
+ "groupBy": [
1647
+ "host"
1648
+ ],
1649
+ "funcList": [],
1650
+ "fieldFunc": "avg",
1651
+ "fieldType": "float",
1652
+ "namespace": "metric",
1653
+ "dataSource": "cpu",
1654
+ "queryFuncs": [],
1655
+ "groupByTime": "",
1656
+ "indexFilter": "",
1657
+ "additionalFields": null
1658
+ },
1659
+ "disabled": false,
1660
+ "datasource": "dataflux"
1661
+ }
1662
+ ],
1663
+ "prevGroupName": "test2",
1664
+ "uuid": "chrt_8f63a02709b34407945438c28884b898"
1665
+ },
1666
+ {
1667
+ "extend": {
1668
+ "links": [
1669
+ {
1670
+ "url": "/logIndi/log/all?time=#{TR}&query=#{T}",
1671
+ "open": "newWin",
1672
+ "show": true,
1673
+ "type": "logging",
1674
+ "showChanged": false
1675
+ },
1676
+ {
1677
+ "url": "/objectadmin/docker_containers?routerTabActive=ObjectadminDocker&time=#{TR}&query=#{T}",
1678
+ "open": "newWin",
1679
+ "show": true,
1680
+ "type": "container",
1681
+ "showChanged": false
1682
+ },
1683
+ {
1684
+ "url": "/objectadmin/host_processes?routerTabActive=ObjectadminProcesses&time=#{TR}&query=#{T}",
1685
+ "open": "newWin",
1686
+ "show": true,
1687
+ "type": "processes",
1688
+ "showChanged": false
1689
+ },
1690
+ {
1691
+ "url": "/tracing/link/all?time=#{TR}&query=#{T}",
1692
+ "open": "newWin",
1693
+ "show": true,
1694
+ "type": "tracing",
1695
+ "showChanged": false
1696
+ },
1697
+ {
1698
+ "url": "/scene/builtinview/detail?time=#{TR}&query=#{T}",
1699
+ "open": "newWin",
1700
+ "show": true,
1701
+ "type": "host",
1702
+ "showChanged": false
1703
+ }
1704
+ ],
1705
+ "settings": {
1706
+ "alias": [],
1707
+ "units": [],
1708
+ "colors": [],
1709
+ "levels": [],
1710
+ "slimit": 20,
1711
+ "levelArr": [
1712
+ {
1713
+ "max": -1,
1714
+ "min": -1,
1715
+ "color": "#AFE1F2",
1716
+ "isAuto": true
1717
+ },
1718
+ {
1719
+ "max": -1,
1720
+ "min": -1,
1721
+ "color": "#7DCBF0",
1722
+ "isAuto": true
1723
+ },
1724
+ {
1725
+ "max": -1,
1726
+ "min": -1,
1727
+ "color": "#5CAEE5",
1728
+ "isAuto": true
1729
+ },
1730
+ {
1731
+ "max": -1,
1732
+ "min": -1,
1733
+ "color": "#3E8FD6",
1734
+ "isAuto": true
1735
+ },
1736
+ {
1737
+ "max": -1,
1738
+ "min": -1,
1739
+ "color": "#216DC4",
1740
+ "isAuto": true
1741
+ }
1742
+ ],
1743
+ "unitType": "global",
1744
+ "fixedTime": "",
1745
+ "precision": "2",
1746
+ "showTitle": true,
1747
+ "titleDesc": "",
1748
+ "colorLevel": 5,
1749
+ "globalUnit": [],
1750
+ "isSampling": true,
1751
+ "isVariable": false,
1752
+ "showLegend": "none",
1753
+ "provinceKey": "",
1754
+ "showTopList": false,
1755
+ "timeInterval": "auto",
1756
+ "variableCode": "",
1757
+ "rangeColorKey": "blue",
1758
+ "isTimeInterval": false,
1759
+ "changeWorkspace": false,
1760
+ "currentChartType": "worldmap",
1761
+ "showFieldMapping": false,
1762
+ "scientificNotation": true,
1763
+ "openThousandsSeparator": true,
1764
+ "enablePreflightEstimate": false,
1765
+ "mainMeasurementQueryCode": "A"
1766
+ },
1767
+ "fixedTime": ""
1768
+ },
1769
+ "group": {
1770
+ "name": "test2"
1771
+ },
1772
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
1773
+ "name": "新建图表",
1774
+ "pos": {
1775
+ "h": 18,
1776
+ "w": 12,
1777
+ "x": 12,
1778
+ "y": 58
1779
+ },
1780
+ "type": "worldmap",
1781
+ "queries": [
1782
+ {
1783
+ "name": "",
1784
+ "type": "worldmap",
1785
+ "unit": "",
1786
+ "color": "",
1787
+ "qtype": "dql",
1788
+ "query": {
1789
+ "q": "M::cpu:(avg(`load5s`)) BY `host`",
1790
+ "code": "A",
1791
+ "fill": null,
1792
+ "type": "simple",
1793
+ "alias": "",
1794
+ "field": "load5s",
1795
+ "filters": [],
1796
+ "groupBy": [
1797
+ "host"
1798
+ ],
1799
+ "funcList": [],
1800
+ "fieldFunc": "avg",
1801
+ "fieldType": "float",
1802
+ "namespace": "metric",
1803
+ "dataSource": "cpu",
1804
+ "queryFuncs": [],
1805
+ "groupByTime": "",
1806
+ "indexFilter": "",
1807
+ "additionalFields": null
1808
+ },
1809
+ "disabled": false,
1810
+ "datasource": "dataflux"
1811
+ }
1812
+ ],
1813
+ "prevGroupName": "test2",
1814
+ "uuid": "chrt_55d42fd0ee63444f8206f442f814f7ca"
1815
+ },
1816
+ {
1817
+ "extend": {
1818
+ "settings": {
1819
+ "alias": [],
1820
+ "units": [],
1821
+ "colors": [],
1822
+ "levels": [],
1823
+ "xQuery": {
1824
+ "name": "",
1825
+ "index": null
1826
+ },
1827
+ "yQuery": {
1828
+ "name": "",
1829
+ "index": null
1830
+ },
1831
+ "unitType": "global",
1832
+ "chartType": "",
1833
+ "fixedTime": "",
1834
+ "precision": "2",
1835
+ "showTitle": true,
1836
+ "titleDesc": "",
1837
+ "globalUnit": [],
1838
+ "isSampling": true,
1839
+ "queryCodes": [
1840
+ "A",
1841
+ "B"
1842
+ ],
1843
+ "timeInterval": "auto",
1844
+ "isTimeInterval": false,
1845
+ "bubbleSizeQuery": {
1846
+ "name": "",
1847
+ "index": null
1848
+ },
1849
+ "changeWorkspace": false,
1850
+ "showFieldMapping": false,
1851
+ "scientificNotation": true,
1852
+ "openThousandsSeparator": true,
1853
+ "enablePreflightEstimate": false
1854
+ },
1855
+ "fixedTime": ""
1856
+ },
1857
+ "group": {
1858
+ "name": "test2"
1859
+ },
1860
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
1861
+ "name": "新建图表",
1862
+ "pos": {
1863
+ "h": 10,
1864
+ "w": 8,
1865
+ "x": 0,
1866
+ "y": 76
1867
+ },
1868
+ "type": "scatter",
1869
+ "queries": [
1870
+ {
1871
+ "name": "",
1872
+ "type": "scatter",
1873
+ "unit": "",
1874
+ "color": "",
1875
+ "qtype": "dql",
1876
+ "query": {
1877
+ "q": "M::ailyun_mail_push:(avg(`faild_count`))",
1878
+ "code": "A",
1879
+ "fill": null,
1880
+ "type": "simple",
1881
+ "alias": "",
1882
+ "field": "faild_count",
1883
+ "filters": [],
1884
+ "groupBy": [],
1885
+ "funcList": [],
1886
+ "fieldFunc": "avg",
1887
+ "fieldType": "float",
1888
+ "namespace": "metric",
1889
+ "dataSource": "ailyun_mail_push",
1890
+ "queryFuncs": [],
1891
+ "groupByTime": "",
1892
+ "indexFilter": "",
1893
+ "additionalFields": null
1894
+ },
1895
+ "disabled": false,
1896
+ "datasource": "dataflux"
1897
+ },
1898
+ {
1899
+ "name": "",
1900
+ "type": "scatter",
1901
+ "unit": "",
1902
+ "color": "",
1903
+ "qtype": "dql",
1904
+ "query": {
1905
+ "q": "M::ailyun_sms_service:(avg(`noresponded_count`))",
1906
+ "code": "B",
1907
+ "fill": null,
1908
+ "type": "simple",
1909
+ "alias": "",
1910
+ "field": "noresponded_count",
1911
+ "filters": [],
1912
+ "groupBy": [],
1913
+ "funcList": [],
1914
+ "fieldFunc": "avg",
1915
+ "fieldType": "float",
1916
+ "namespace": "metric",
1917
+ "dataSource": "ailyun_sms_service",
1918
+ "queryFuncs": [],
1919
+ "groupByTime": "",
1920
+ "indexFilter": "",
1921
+ "additionalFields": null
1922
+ },
1923
+ "disabled": false,
1924
+ "datasource": "dataflux"
1925
+ }
1926
+ ],
1927
+ "prevGroupName": "test2",
1928
+ "uuid": "chrt_31542a91ef5340d880095e108d4803ce"
1929
+ },
1930
+ {
1931
+ "extend": {
1932
+ "settings": {
1933
+ "alias": [],
1934
+ "units": [],
1935
+ "colors": [],
1936
+ "levels": [],
1937
+ "xQuery": {
1938
+ "name": "",
1939
+ "index": null
1940
+ },
1941
+ "yQuery": {
1942
+ "name": "",
1943
+ "index": null
1944
+ },
1945
+ "unitType": "global",
1946
+ "chartType": "",
1947
+ "fixedTime": "",
1948
+ "precision": "2",
1949
+ "showTitle": true,
1950
+ "titleDesc": "",
1951
+ "globalUnit": [],
1952
+ "isSampling": true,
1953
+ "queryCodes": [
1954
+ "A",
1955
+ "B",
1956
+ "C"
1957
+ ],
1958
+ "timeInterval": "auto",
1959
+ "isTimeInterval": false,
1960
+ "bubbleSizeQuery": {
1961
+ "name": "",
1962
+ "index": null
1963
+ },
1964
+ "changeWorkspace": false,
1965
+ "showFieldMapping": false,
1966
+ "scientificNotation": true,
1967
+ "openThousandsSeparator": true,
1968
+ "enablePreflightEstimate": false
1969
+ },
1970
+ "fixedTime": ""
1971
+ },
1972
+ "group": {
1973
+ "name": "test2"
1974
+ },
1975
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
1976
+ "name": "新建图表",
1977
+ "pos": {
1978
+ "h": 10,
1979
+ "w": 8,
1980
+ "x": 9,
1981
+ "y": 76
1982
+ },
1983
+ "type": "bubble",
1984
+ "queries": [
1985
+ {
1986
+ "name": "",
1987
+ "type": "bubble",
1988
+ "unit": "",
1989
+ "color": "",
1990
+ "qtype": "dql",
1991
+ "query": {
1992
+ "q": "M::ailyun_mail_push:(avg(`faild_count`))",
1993
+ "code": "A",
1994
+ "fill": null,
1995
+ "type": "simple",
1996
+ "alias": "",
1997
+ "field": "faild_count",
1998
+ "filters": [],
1999
+ "groupBy": [],
2000
+ "funcList": [],
2001
+ "fieldFunc": "avg",
2002
+ "fieldType": "float",
2003
+ "namespace": "metric",
2004
+ "dataSource": "ailyun_mail_push",
2005
+ "queryFuncs": [],
2006
+ "groupByTime": "",
2007
+ "indexFilter": "",
2008
+ "additionalFields": null
2009
+ },
2010
+ "disabled": false,
2011
+ "datasource": "dataflux"
2012
+ },
2013
+ {
2014
+ "name": "",
2015
+ "type": "bubble",
2016
+ "unit": "",
2017
+ "color": "",
2018
+ "qtype": "dql",
2019
+ "query": {
2020
+ "q": "M::ailyun_acs_privatelink:(avg(`avg_eni_in_bps_5m`))",
2021
+ "code": "B",
2022
+ "fill": null,
2023
+ "type": "simple",
2024
+ "alias": "",
2025
+ "field": "avg_eni_in_bps_5m",
2026
+ "filters": [],
2027
+ "groupBy": [],
2028
+ "funcList": [],
2029
+ "fieldFunc": "avg",
2030
+ "fieldType": "float",
2031
+ "namespace": "metric",
2032
+ "dataSource": "ailyun_acs_privatelink",
2033
+ "queryFuncs": [],
2034
+ "groupByTime": "",
2035
+ "indexFilter": "",
2036
+ "additionalFields": null
2037
+ },
2038
+ "disabled": false,
2039
+ "datasource": "dataflux"
2040
+ },
2041
+ {
2042
+ "name": "",
2043
+ "type": "bubble",
2044
+ "unit": "",
2045
+ "color": "",
2046
+ "qtype": "dql",
2047
+ "query": {
2048
+ "q": "M::ailyun_mail_push:(avg(`faild_count`))",
2049
+ "code": "C",
2050
+ "fill": null,
2051
+ "type": "simple",
2052
+ "alias": "",
2053
+ "field": "faild_count",
2054
+ "filters": [],
2055
+ "groupBy": [],
2056
+ "funcList": [],
2057
+ "fieldFunc": "avg",
2058
+ "fieldType": "float",
2059
+ "namespace": "metric",
2060
+ "dataSource": "ailyun_mail_push",
2061
+ "queryFuncs": [],
2062
+ "groupByTime": "",
2063
+ "indexFilter": "",
2064
+ "additionalFields": null
2065
+ },
2066
+ "disabled": false,
2067
+ "datasource": "dataflux"
2068
+ }
2069
+ ],
2070
+ "prevGroupName": "test2",
2071
+ "uuid": "chrt_b17f4c22b2a24528b400323f12f3ca6f"
2072
+ },
2073
+ {
2074
+ "extend": {
2075
+ "settings": {
2076
+ "alias": [],
2077
+ "units": [],
2078
+ "colors": [],
2079
+ "levels": [],
2080
+ "unitType": "global",
2081
+ "chartType": "histogram",
2082
+ "direction": "vertical",
2083
+ "fixedTime": "",
2084
+ "precision": "2",
2085
+ "showTitle": true,
2086
+ "titleDesc": "",
2087
+ "yAxixType": "value",
2088
+ "globalUnit": [],
2089
+ "isSampling": true,
2090
+ "xAxixMaxVal": null,
2091
+ "xAxixMinVal": null,
2092
+ "yAxixMaxVal": null,
2093
+ "yAxixMinVal": null,
2094
+ "timeInterval": "auto",
2095
+ "legendPostion": "none",
2096
+ "isTimeInterval": false,
2097
+ "changeWorkspace": false,
2098
+ "legendValueOpen": true,
2099
+ "showFieldMapping": false,
2100
+ "scientificNotation": true,
2101
+ "openThousandsSeparator": true,
2102
+ "enablePreflightEstimate": false
2103
+ },
2104
+ "fixedTime": ""
2105
+ },
2106
+ "group": {
2107
+ "name": "test2"
2108
+ },
2109
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
2110
+ "name": "新建图表",
2111
+ "pos": {
2112
+ "h": 10,
2113
+ "w": 8,
2114
+ "x": 0,
2115
+ "y": 86
2116
+ },
2117
+ "type": "histogram",
2118
+ "queries": [
2119
+ {
2120
+ "name": "",
2121
+ "type": "histogram",
2122
+ "unit": "",
2123
+ "color": "",
2124
+ "qtype": "dql",
2125
+ "query": {
2126
+ "q": "M::cpu:(avg(`load5s`))[:::avg]",
2127
+ "code": "A",
2128
+ "fill": null,
2129
+ "type": "simple",
2130
+ "alias": "",
2131
+ "field": "load5s",
2132
+ "rollup": "avg",
2133
+ "filters": [],
2134
+ "groupBy": [],
2135
+ "funcList": [],
2136
+ "fieldFunc": "avg",
2137
+ "fieldType": "float",
2138
+ "namespace": "metric",
2139
+ "dataSource": "cpu",
2140
+ "queryFuncs": [],
2141
+ "groupByTime": "auto",
2142
+ "indexFilter": "",
2143
+ "additionalFields": null
2144
+ },
2145
+ "disabled": false,
2146
+ "datasource": "dataflux"
2147
+ }
2148
+ ],
2149
+ "prevGroupName": "test2",
2150
+ "uuid": "chrt_84ed16ae1d5a4dacbfda9221db2dbdda"
2151
+ },
2152
+ {
2153
+ "extend": {
2154
+ "links": [
2155
+ {
2156
+ "url": "/logIndi/log/all?time=#{TR}&query=#{T}",
2157
+ "open": "newWin",
2158
+ "show": true,
2159
+ "type": "logging",
2160
+ "showChanged": false
2161
+ },
2162
+ {
2163
+ "url": "/objectadmin/docker_containers?routerTabActive=ObjectadminDocker&time=#{TR}&query=#{T}",
2164
+ "open": "newWin",
2165
+ "show": true,
2166
+ "type": "container",
2167
+ "showChanged": false
2168
+ },
2169
+ {
2170
+ "url": "/objectadmin/host_processes?routerTabActive=ObjectadminProcesses&time=#{TR}&query=#{T}",
2171
+ "open": "newWin",
2172
+ "show": true,
2173
+ "type": "processes",
2174
+ "showChanged": false
2175
+ },
2176
+ {
2177
+ "url": "/tracing/link/all?time=#{TR}&query=#{T}",
2178
+ "open": "newWin",
2179
+ "show": true,
2180
+ "type": "tracing",
2181
+ "showChanged": false
2182
+ },
2183
+ {
2184
+ "url": "/scene/builtinview/detail?time=#{TR}&query=#{T}",
2185
+ "open": "newWin",
2186
+ "show": true,
2187
+ "type": "host",
2188
+ "showChanged": false
2189
+ }
2190
+ ],
2191
+ "settings": {
2192
+ "alias": [],
2193
+ "units": [],
2194
+ "colors": [],
2195
+ "levels": [],
2196
+ "slimit": 20,
2197
+ "levelArr": [],
2198
+ "unitType": "global",
2199
+ "fixedTime": "",
2200
+ "precision": "2",
2201
+ "showLabel": true,
2202
+ "showTitle": true,
2203
+ "titleDesc": "",
2204
+ "colorLevel": 3,
2205
+ "globalUnit": [],
2206
+ "isSampling": true,
2207
+ "rangeColor": "",
2208
+ "showLegend": false,
2209
+ "showPercent": false,
2210
+ "timeInterval": "auto",
2211
+ "rangeColorKey": "light-blue",
2212
+ "isTimeInterval": false,
2213
+ "showLabelValue": true,
2214
+ "changeWorkspace": false,
2215
+ "showFieldMapping": false,
2216
+ "scientificNotation": true,
2217
+ "mainMeasurementSort": "top",
2218
+ "mainMeasurementLimit": 20,
2219
+ "openThousandsSeparator": true,
2220
+ "enablePreflightEstimate": false,
2221
+ "mainMeasurementQueryCode": "A"
2222
+ },
2223
+ "fixedTime": ""
2224
+ },
2225
+ "group": {
2226
+ "name": "test2"
2227
+ },
2228
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
2229
+ "name": "新建图表",
2230
+ "pos": {
2231
+ "h": 15.5,
2232
+ "w": 8,
2233
+ "x": 10,
2234
+ "y": 86
2235
+ },
2236
+ "type": "treemap",
2237
+ "queries": [
2238
+ {
2239
+ "name": "",
2240
+ "type": "treemap",
2241
+ "unit": "",
2242
+ "color": "",
2243
+ "qtype": "dql",
2244
+ "query": {
2245
+ "q": "M::cpu:(avg(`load5s`)) BY `host`",
2246
+ "code": "A",
2247
+ "fill": null,
2248
+ "type": "simple",
2249
+ "alias": "",
2250
+ "field": "load5s",
2251
+ "filters": [],
2252
+ "groupBy": [
2253
+ "host"
2254
+ ],
2255
+ "funcList": [],
2256
+ "fieldFunc": "avg",
2257
+ "fieldType": "float",
2258
+ "namespace": "metric",
2259
+ "dataSource": "cpu",
2260
+ "queryFuncs": [],
2261
+ "groupByTime": "",
2262
+ "indexFilter": "",
2263
+ "additionalFields": null
2264
+ },
2265
+ "disabled": false,
2266
+ "datasource": "dataflux"
2267
+ }
2268
+ ],
2269
+ "prevGroupName": "test2",
2270
+ "uuid": "chrt_008783003d214b37ab107de5c6955641"
2271
+ },
2272
+ {
2273
+ "extend": {
2274
+ "links": [
2275
+ {
2276
+ "url": "/logIndi/log/all?time=#{TR}&query=#{T}",
2277
+ "open": "newWin",
2278
+ "show": true,
2279
+ "type": "logging",
2280
+ "showChanged": false
2281
+ },
2282
+ {
2283
+ "url": "/objectadmin/docker_containers?routerTabActive=ObjectadminDocker&time=#{TR}&query=#{T}",
2284
+ "open": "newWin",
2285
+ "show": true,
2286
+ "type": "container",
2287
+ "showChanged": false
2288
+ },
2289
+ {
2290
+ "url": "/objectadmin/host_processes?routerTabActive=ObjectadminProcesses&time=#{TR}&query=#{T}",
2291
+ "open": "newWin",
2292
+ "show": true,
2293
+ "type": "processes",
2294
+ "showChanged": false
2295
+ },
2296
+ {
2297
+ "url": "/tracing/link/all?time=#{TR}&query=#{T}",
2298
+ "open": "newWin",
2299
+ "show": true,
2300
+ "type": "tracing",
2301
+ "showChanged": false
2302
+ },
2303
+ {
2304
+ "url": "/scene/builtinview/detail?time=#{TR}&query=#{T}",
2305
+ "open": "newWin",
2306
+ "show": true,
2307
+ "type": "host",
2308
+ "showChanged": false
2309
+ }
2310
+ ],
2311
+ "settings": {
2312
+ "alias": [],
2313
+ "units": [],
2314
+ "colors": [],
2315
+ "levels": [],
2316
+ "slimit": 20,
2317
+ "levelArr": [
2318
+ {
2319
+ "max": -1,
2320
+ "min": -1,
2321
+ "color": "#AFE1F2",
2322
+ "isAuto": true
2323
+ },
2324
+ {
2325
+ "max": -1,
2326
+ "min": -1,
2327
+ "color": "#7DCBF0",
2328
+ "isAuto": true
2329
+ },
2330
+ {
2331
+ "max": -1,
2332
+ "min": -1,
2333
+ "color": "#5CAEE5",
2334
+ "isAuto": true
2335
+ },
2336
+ {
2337
+ "max": -1,
2338
+ "min": -1,
2339
+ "color": "#3E8FD6",
2340
+ "isAuto": true
2341
+ },
2342
+ {
2343
+ "max": -1,
2344
+ "min": -1,
2345
+ "color": "#216DC4",
2346
+ "isAuto": true
2347
+ }
2348
+ ],
2349
+ "unitType": "global",
2350
+ "fixedTime": "",
2351
+ "precision": "2",
2352
+ "showTitle": true,
2353
+ "titleDesc": "",
2354
+ "colorLevel": 3,
2355
+ "globalUnit": [],
2356
+ "isSampling": true,
2357
+ "rangeColor": "",
2358
+ "showLegend": "bottom",
2359
+ "timeInterval": "auto",
2360
+ "rangeColorKey": "blue",
2361
+ "isTimeInterval": false,
2362
+ "changeWorkspace": false,
2363
+ "currentChartType": "hexgon",
2364
+ "showFieldMapping": false,
2365
+ "scientificNotation": true,
2366
+ "openThousandsSeparator": true,
2367
+ "enablePreflightEstimate": false,
2368
+ "mainMeasurementQueryCode": "A"
2369
+ },
2370
+ "fixedTime": ""
2371
+ },
2372
+ "group": {
2373
+ "name": "test2"
2374
+ },
2375
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
2376
+ "name": "新建图表",
2377
+ "pos": {
2378
+ "h": 15.5,
2379
+ "w": 8,
2380
+ "x": 0,
2381
+ "y": 96
2382
+ },
2383
+ "type": "hexgon",
2384
+ "queries": [
2385
+ {
2386
+ "name": "",
2387
+ "type": "hexgon",
2388
+ "unit": "",
2389
+ "color": "",
2390
+ "qtype": "dql",
2391
+ "query": {
2392
+ "q": "M::cpu:(avg(`load5s`)) BY `host`",
2393
+ "code": "A",
2394
+ "fill": null,
2395
+ "type": "simple",
2396
+ "alias": "",
2397
+ "field": "load5s",
2398
+ "filters": [],
2399
+ "groupBy": [
2400
+ "host"
2401
+ ],
2402
+ "funcList": [],
2403
+ "fieldFunc": "avg",
2404
+ "fieldType": "float",
2405
+ "namespace": "metric",
2406
+ "dataSource": "cpu",
2407
+ "queryFuncs": [],
2408
+ "groupByTime": "",
2409
+ "indexFilter": "",
2410
+ "additionalFields": null
2411
+ },
2412
+ "disabled": false,
2413
+ "datasource": "dataflux"
2414
+ }
2415
+ ],
2416
+ "prevGroupName": "test2",
2417
+ "uuid": "chrt_73af5ffb61eb4e15a83605dc574c2ad9"
2418
+ },
2419
+ {
2420
+ "extend": {
2421
+ "links": [
2422
+ {
2423
+ "url": "/logIndi/log/all?time=#{TR}&query=#{T}",
2424
+ "open": "newWin",
2425
+ "show": true,
2426
+ "type": "logging",
2427
+ "showChanged": false
2428
+ },
2429
+ {
2430
+ "url": "/objectadmin/docker_containers?routerTabActive=ObjectadminDocker&time=#{TR}&query=#{T}",
2431
+ "open": "newWin",
2432
+ "show": true,
2433
+ "type": "container",
2434
+ "showChanged": false
2435
+ },
2436
+ {
2437
+ "url": "/objectadmin/host_processes?routerTabActive=ObjectadminProcesses&time=#{TR}&query=#{T}",
2438
+ "open": "newWin",
2439
+ "show": true,
2440
+ "type": "processes",
2441
+ "showChanged": false
2442
+ },
2443
+ {
2444
+ "url": "/tracing/link/all?time=#{TR}&query=#{T}",
2445
+ "open": "newWin",
2446
+ "show": true,
2447
+ "type": "tracing",
2448
+ "showChanged": false
2449
+ },
2450
+ {
2451
+ "url": "/scene/builtinview/detail?time=#{TR}&query=#{T}",
2452
+ "open": "newWin",
2453
+ "show": true,
2454
+ "type": "host",
2455
+ "showChanged": false
2456
+ }
2457
+ ],
2458
+ "settings": {
2459
+ "alias": [],
2460
+ "units": [],
2461
+ "colors": [],
2462
+ "levels": [],
2463
+ "slimit": 20,
2464
+ "unitType": "global",
2465
+ "fixedTime": "",
2466
+ "precision": "2",
2467
+ "showTitle": true,
2468
+ "titleDesc": "",
2469
+ "yAxisType": "value",
2470
+ "globalUnit": [],
2471
+ "isSampling": true,
2472
+ "showLegend": "bottom",
2473
+ "yAxixMaxVal": null,
2474
+ "yAxixMinVal": null,
2475
+ "gradualColor": {
2476
+ "type": "auto",
2477
+ "levels": [],
2478
+ "maxVal": null,
2479
+ "minVal": null,
2480
+ "colorKey": "interpolateYlOrBr",
2481
+ "levelCount": 60
2482
+ },
2483
+ "timeInterval": "auto",
2484
+ "maxPointCount": null,
2485
+ "isTimeInterval": true,
2486
+ "changeWorkspace": false,
2487
+ "currentChartType": "heatmap",
2488
+ "showFieldMapping": false,
2489
+ "yAxixSplitNumber": null,
2490
+ "scientificNotation": true,
2491
+ "openThousandsSeparator": true,
2492
+ "enablePreflightEstimate": false,
2493
+ "mainMeasurementQueryCode": "A"
2494
+ },
2495
+ "fixedTime": ""
2496
+ },
2497
+ "group": {
2498
+ "name": "test2"
2499
+ },
2500
+ "chartGroupUUID": "chtg_b1128d0b37e14967b2c466a312e37416",
2501
+ "name": "新建图表",
2502
+ "pos": {
2503
+ "h": 15.5,
2504
+ "w": 8,
2505
+ "x": 10,
2506
+ "y": 101.5
2507
+ },
2508
+ "type": "heatmap",
2509
+ "queries": [
2510
+ {
2511
+ "name": "",
2512
+ "type": "heatmap",
2513
+ "unit": "",
2514
+ "color": "",
2515
+ "qtype": "dql",
2516
+ "query": {
2517
+ "q": "M::cpu:(avg(`load5s`)) BY `host`",
2518
+ "code": "A",
2519
+ "fill": null,
2520
+ "type": "simple",
2521
+ "alias": "",
2522
+ "field": "load5s",
2523
+ "filters": [],
2524
+ "groupBy": [
2525
+ "host"
2526
+ ],
2527
+ "funcList": [],
2528
+ "fieldFunc": "avg",
2529
+ "fieldType": "float",
2530
+ "namespace": "metric",
2531
+ "dataSource": "cpu",
2532
+ "queryFuncs": [],
2533
+ "groupByTime": "",
2534
+ "indexFilter": "",
2535
+ "additionalFields": null
2536
+ },
2537
+ "disabled": false,
2538
+ "datasource": "dataflux"
2539
+ }
2540
+ ],
2541
+ "prevGroupName": "test2",
2542
+ "uuid": "chrt_e674d29a1421453cb3c9a0dbe46a625d"
2543
+ },
2544
+ {
2545
+ "extend": {
2546
+ "settings": {
2547
+ "alias": [],
2548
+ "color": {},
2549
+ "units": [],
2550
+ "colors": [],
2551
+ "levels": [],
2552
+ "unitType": "global",
2553
+ "fixedTime": "",
2554
+ "showTitle": true,
2555
+ "titleDesc": "",
2556
+ "globalUnit": [],
2557
+ "isSampling": true,
2558
+ "showLegend": "bottom",
2559
+ "timeInterval": "auto",
2560
+ "isTimeInterval": false,
2561
+ "changeWorkspace": false,
2562
+ "showFieldMapping": false,
2563
+ "enablePreflightEstimate": false
2564
+ },
2565
+ "fixedTime": ""
2566
+ },
2567
+ "group": {
2568
+ "name": "test1"
2569
+ },
2570
+ "chartGroupUUID": "chtg_defb199a8e03421a9c48dd1a84aa1929",
2571
+ "name": "新建图表",
2572
+ "pos": {
2573
+ "h": 18,
2574
+ "w": 12,
2575
+ "x": 0,
2576
+ "y": 0
2577
+ },
2578
+ "type": "topology",
2579
+ "queries": [
2580
+ {
2581
+ "name": "",
2582
+ "type": "topology",
2583
+ "unit": "",
2584
+ "color": "",
2585
+ "qtype": "dql",
2586
+ "query": {
2587
+ "fill": "avg_per_second",
2588
+ "type": "default",
2589
+ "filters": [],
2590
+ "service": "cpu",
2591
+ "resource": "",
2592
+ "chartType": "serviceMap"
2593
+ },
2594
+ "datasource": "dataflux"
2595
+ }
2596
+ ],
2597
+ "prevGroupName": "test1",
2598
+ "uuid": "chrt_a693287a051640b69d2a4805d2b94358"
2599
+ },
2600
+ {
2601
+ "extend": {
2602
+ "settings": {
2603
+ "alias": [],
2604
+ "units": [],
2605
+ "colors": [],
2606
+ "levels": [],
2607
+ "calcType": "absolute",
2608
+ "unitType": "global",
2609
+ "fixedTime": "",
2610
+ "precision": "2",
2611
+ "showTitle": true,
2612
+ "titleDesc": "",
2613
+ "globalUnit": [],
2614
+ "isSampling": true,
2615
+ "queryCodes": [
2616
+ "A",
2617
+ "1h"
2618
+ ],
2619
+ "colorScheme": 0,
2620
+ "timeInterval": "auto",
2621
+ "isTimeInterval": false,
2622
+ "legendPosition": "left",
2623
+ "changeWorkspace": false,
2624
+ "showFieldMapping": false,
2625
+ "scientificNotation": true,
2626
+ "legendIncludeBaseValue": false,
2627
+ "openThousandsSeparator": true,
2628
+ "enablePreflightEstimate": false
2629
+ },
2630
+ "fixedTime": ""
2631
+ },
2632
+ "group": {
2633
+ "name": "test"
2634
+ },
2635
+ "chartGroupUUID": "chtg_fa9073f2b42a4443b081621bce807686",
2636
+ "name": "新建图表",
2637
+ "pos": {
2638
+ "h": 10,
2639
+ "w": 8,
2640
+ "x": 0,
2641
+ "y": 0
2642
+ },
2643
+ "type": "change",
2644
+ "queries": [
2645
+ {
2646
+ "name": "",
2647
+ "type": "change",
2648
+ "unit": "",
2649
+ "color": "",
2650
+ "qtype": "dql",
2651
+ "query": {
2652
+ "q": "M::cpu:(avg(`load5s`))",
2653
+ "code": "A",
2654
+ "fill": null,
2655
+ "type": "simple",
2656
+ "alias": "",
2657
+ "field": "load5s",
2658
+ "filters": [],
2659
+ "groupBy": [],
2660
+ "funcList": [],
2661
+ "fieldFunc": "avg",
2662
+ "fieldType": "float",
2663
+ "namespace": "metric",
2664
+ "dataSource": "cpu",
2665
+ "queryFuncs": [],
2666
+ "groupByTime": "",
2667
+ "indexFilter": "",
2668
+ "additionalFields": null
2669
+ },
2670
+ "disabled": false,
2671
+ "datasource": "dataflux"
2672
+ }
2673
+ ],
2674
+ "prevGroupName": "test",
2675
+ "uuid": "chrt_0a3a71ebaf81498f8291e42ba9e48890"
2676
+ },
2677
+ {
2678
+ "extend": {
2679
+ "settings": {
2680
+ "max": 100,
2681
+ "min": 0,
2682
+ "alias": [],
2683
+ "units": [],
2684
+ "colors": [],
2685
+ "levels": [
2686
+ {
2687
+ "value": [
2688
+ 20
2689
+ ],
2690
+ "lineColor": "#1CA774",
2691
+ "operation": "<="
2692
+ },
2693
+ {
2694
+ "value": [
2695
+ 80
2696
+ ],
2697
+ "lineColor": "#F9AE41",
2698
+ "operation": "<="
2699
+ },
2700
+ {
2701
+ "value": [
2702
+ 100
2703
+ ],
2704
+ "lineColor": "#EE5E70",
2705
+ "operation": "<="
2706
+ }
2707
+ ],
2708
+ "unitType": "global",
2709
+ "fixedTime": "",
2710
+ "showTitle": true,
2711
+ "titleDesc": "",
2712
+ "globalUnit": [],
2713
+ "isSampling": true,
2714
+ "timeInterval": "auto",
2715
+ "isTimeInterval": false,
2716
+ "changeWorkspace": false,
2717
+ "showFieldMapping": false,
2718
+ "enablePreflightEstimate": false
2719
+ },
2720
+ "fixedTime": ""
2721
+ },
2722
+ "group": {
2723
+ "name": "test"
2724
+ },
2725
+ "chartGroupUUID": "chtg_fa9073f2b42a4443b081621bce807686",
2726
+ "name": "新建图表",
2727
+ "pos": {
2728
+ "h": 13,
2729
+ "w": 8,
2730
+ "x": 0,
2731
+ "y": 10
2732
+ },
2733
+ "type": "gauge",
2734
+ "queries": [
2735
+ {
2736
+ "name": "",
2737
+ "type": "gauge",
2738
+ "unit": "",
2739
+ "color": "",
2740
+ "qtype": "dql",
2741
+ "query": {
2742
+ "q": "M::cpu:(avg(`load5s`))",
2743
+ "code": "A",
2744
+ "fill": null,
2745
+ "type": "simple",
2746
+ "alias": "",
2747
+ "field": "load5s",
2748
+ "filters": [],
2749
+ "groupBy": [],
2750
+ "funcList": [],
2751
+ "fieldFunc": "avg",
2752
+ "fieldType": "float",
2753
+ "namespace": "metric",
2754
+ "dataSource": "cpu",
2755
+ "queryFuncs": [],
2756
+ "groupByTime": "",
2757
+ "indexFilter": "",
2758
+ "additionalFields": null
2759
+ },
2760
+ "disabled": false,
2761
+ "datasource": "dataflux"
2762
+ }
2763
+ ],
2764
+ "prevGroupName": "test",
2765
+ "uuid": "chrt_99d147ff8a494e4283aadcfad95e0972"
2766
+ },
2767
+ {
2768
+ "extend": {
2769
+ "settings": {
2770
+ "alias": [],
2771
+ "units": [],
2772
+ "colors": [],
2773
+ "levels": [],
2774
+ "unitType": "global",
2775
+ "fixedTime": "",
2776
+ "precision": "2",
2777
+ "showTitle": true,
2778
+ "titleDesc": "",
2779
+ "globalUnit": [],
2780
+ "isSampling": true,
2781
+ "queryCodes": [
2782
+ "A",
2783
+ "B"
2784
+ ],
2785
+ "timeInterval": "auto",
2786
+ "isTimeInterval": false,
2787
+ "changeWorkspace": false,
2788
+ "showFieldMapping": false,
2789
+ "scientificNotation": true,
2790
+ "openThousandsSeparator": true,
2791
+ "enablePreflightEstimate": false
2792
+ },
2793
+ "fixedTime": ""
2794
+ },
2795
+ "group": {
2796
+ "name": "test"
2797
+ },
2798
+ "chartGroupUUID": "chtg_fa9073f2b42a4443b081621bce807686",
2799
+ "name": "新建图表",
2800
+ "pos": {
2801
+ "h": 10,
2802
+ "w": 8,
2803
+ "x": 14,
2804
+ "y": 0
2805
+ },
2806
+ "type": "funnel",
2807
+ "queries": [
2808
+ {
2809
+ "name": "",
2810
+ "type": "funnel",
2811
+ "unit": "",
2812
+ "color": "",
2813
+ "qtype": "dql",
2814
+ "query": {
2815
+ "q": "M::cpu:(avg(`load5s`))",
2816
+ "code": "A",
2817
+ "fill": null,
2818
+ "type": "simple",
2819
+ "alias": "",
2820
+ "field": "load5s",
2821
+ "filters": [],
2822
+ "groupBy": [],
2823
+ "funcList": [],
2824
+ "fieldFunc": "avg",
2825
+ "fieldType": "float",
2826
+ "namespace": "metric",
2827
+ "dataSource": "cpu",
2828
+ "queryFuncs": [],
2829
+ "groupByTime": "",
2830
+ "indexFilter": "",
2831
+ "additionalFields": null
2832
+ },
2833
+ "disabled": false,
2834
+ "datasource": "dataflux"
2835
+ },
2836
+ {
2837
+ "name": "",
2838
+ "type": "funnel",
2839
+ "unit": "",
2840
+ "color": "",
2841
+ "qtype": "dql",
2842
+ "query": {
2843
+ "q": "M::ailyun_mail_push:(avg(`faild_count`))",
2844
+ "code": "B",
2845
+ "fill": null,
2846
+ "type": "simple",
2847
+ "alias": "",
2848
+ "field": "faild_count",
2849
+ "filters": [],
2850
+ "groupBy": [],
2851
+ "funcList": [],
2852
+ "fieldFunc": "avg",
2853
+ "fieldType": "float",
2854
+ "namespace": "metric",
2855
+ "dataSource": "ailyun_mail_push",
2856
+ "queryFuncs": [],
2857
+ "groupByTime": "",
2858
+ "indexFilter": "",
2859
+ "additionalFields": null
2860
+ },
2861
+ "disabled": false,
2862
+ "datasource": "dataflux"
2863
+ }
2864
+ ],
2865
+ "prevGroupName": "test",
2866
+ "uuid": "chrt_8525568185fd4b7597f776cd006bac98"
2867
+ },
2868
+ {
2869
+ "extend": {
2870
+ "settings": {
2871
+ "alias": [],
2872
+ "units": [],
2873
+ "colors": [],
2874
+ "levels": [],
2875
+ "unitType": "global",
2876
+ "fixedTime": "",
2877
+ "precision": "2",
2878
+ "showTitle": true,
2879
+ "titleDesc": "",
2880
+ "globalUnit": [],
2881
+ "isSampling": true,
2882
+ "timeInterval": "auto",
2883
+ "isTimeInterval": false,
2884
+ "changeWorkspace": false,
2885
+ "showFieldMapping": false,
2886
+ "scientificNotation": true,
2887
+ "openThousandsSeparator": true,
2888
+ "enablePreflightEstimate": false
2889
+ },
2890
+ "fixedTime": ""
2891
+ },
2892
+ "group": {
2893
+ "name": "test"
2894
+ },
2895
+ "chartGroupUUID": "chtg_fa9073f2b42a4443b081621bce807686",
2896
+ "name": "新建图表",
2897
+ "pos": {
2898
+ "h": 10,
2899
+ "w": 8,
2900
+ "x": 10,
2901
+ "y": 10
2902
+ },
2903
+ "type": "sankey",
2904
+ "queries": [
2905
+ {
2906
+ "name": "",
2907
+ "type": "sankey",
2908
+ "unit": "",
2909
+ "color": "",
2910
+ "qtype": "dql",
2911
+ "query": {
2912
+ "q": "M::cpu:(avg(`load5s`))",
2913
+ "code": "A",
2914
+ "fill": null,
2915
+ "type": "simple",
2916
+ "alias": "",
2917
+ "field": "load5s",
2918
+ "filters": [],
2919
+ "groupBy": [],
2920
+ "funcList": [],
2921
+ "fieldFunc": "avg",
2922
+ "fieldType": "float",
2923
+ "namespace": "metric",
2924
+ "dataSource": "cpu",
2925
+ "queryFuncs": [],
2926
+ "groupByTime": "",
2927
+ "indexFilter": "",
2928
+ "additionalFields": null
2929
+ },
2930
+ "datasource": "dataflux"
2931
+ }
2932
+ ],
2933
+ "prevGroupName": "test",
2934
+ "uuid": "chrt_2ee650fe0d3544fa84075b13b4c72e1c"
2935
+ },
2936
+ {
2937
+ "extend": {
2938
+ "settings": {
2939
+ "alias": [
2940
+ {
2941
+ "key": "message",
2942
+ "name": "message",
2943
+ "alias": "内容"
2944
+ },
2945
+ {
2946
+ "key": "status",
2947
+ "name": "status"
2948
+ },
2949
+ {
2950
+ "key": "__docid",
2951
+ "name": "__docid"
2952
+ }
2953
+ ],
2954
+ "index": "default",
2955
+ "units": [],
2956
+ "colors": [],
2957
+ "levels": [],
2958
+ "unitType": "global",
2959
+ "fixedTime": "",
2960
+ "inColumns": [
2961
+ {
2962
+ "field": "time",
2963
+ "headerName": "时间"
2964
+ }
2965
+ ],
2966
+ "multiRows": 0,
2967
+ "showTitle": true,
2968
+ "titleDesc": "",
2969
+ "addColumns": [
2970
+ {
2971
+ "hide": true,
2972
+ "field": "status"
2973
+ },
2974
+ {
2975
+ "hide": true,
2976
+ "field": "__docid"
2977
+ },
2978
+ {
2979
+ "field": "message",
2980
+ "headerName": "内容"
2981
+ }
2982
+ ],
2983
+ "globalUnit": [],
2984
+ "isSampling": true,
2985
+ "valMappings": [],
2986
+ "timeInterval": "",
2987
+ "isTimeInterval": false,
2988
+ "changeWorkspace": false,
2989
+ "currentChartType": "log",
2990
+ "showFieldMapping": false,
2991
+ "valColorMappings": [],
2992
+ "enablePreflightEstimate": false
2993
+ },
2994
+ "fixedTime": ""
2995
+ },
2996
+ "group": {
2997
+ "name": "test"
2998
+ },
2999
+ "chartGroupUUID": "chtg_fa9073f2b42a4443b081621bce807686",
3000
+ "name": "新建图表",
3001
+ "pos": {
3002
+ "h": 18,
3003
+ "w": 12,
3004
+ "x": 0,
3005
+ "y": 23
3006
+ },
3007
+ "type": "log",
3008
+ "queries": [
3009
+ {
3010
+ "name": "",
3011
+ "type": "log",
3012
+ "unit": "",
3013
+ "color": "",
3014
+ "qtype": "dql",
3015
+ "query": {
3016
+ "q": "L('default')::RE(`.*`):(`status`, `__docid`, `message`, `index`)",
3017
+ "alias": "",
3018
+ "field": null,
3019
+ "fields": [
3020
+ {
3021
+ "hide": true,
3022
+ "field": "status"
3023
+ },
3024
+ {
3025
+ "hide": true,
3026
+ "field": "__docid"
3027
+ },
3028
+ {
3029
+ "field": "message"
3030
+ }
3031
+ ],
3032
+ "orderby": [
3033
+ {
3034
+ "time": "desc"
3035
+ }
3036
+ ],
3037
+ "funcList": [],
3038
+ "highlight": true,
3039
+ "namespace": "logging",
3040
+ "dataSource": "*",
3041
+ "indexFilter": "default",
3042
+ "templateName": "logging__*",
3043
+ "filterSearchQuery": "",
3044
+ "disableMultipleField": false
3045
+ },
3046
+ "datasource": "dataflux",
3047
+ "noTimeRange": false
3048
+ }
3049
+ ],
3050
+ "prevGroupName": "test",
3051
+ "uuid": "chrt_7f34256cc46b4ee89f410e5286cc3351"
3052
+ },
3053
+ {
3054
+ "extend": {
3055
+ "settings": {
3056
+ "alias": [],
3057
+ "index": "",
3058
+ "units": [],
3059
+ "colors": [],
3060
+ "levels": [],
3061
+ "pageSize": 50,
3062
+ "showPart": "all",
3063
+ "unitType": "global",
3064
+ "fixedTime": "",
3065
+ "inColumns": [
3066
+ {
3067
+ "field": "time",
3068
+ "headerName": "时间"
3069
+ }
3070
+ ],
3071
+ "showTitle": true,
3072
+ "titleDesc": "",
3073
+ "addColumns": [
3074
+ {
3075
+ "field": "df_status",
3076
+ "headerName": "状态"
3077
+ },
3078
+ {
3079
+ "field": "df_title",
3080
+ "headerName": "事件"
3081
+ }
3082
+ ],
3083
+ "globalUnit": [],
3084
+ "isSampling": true,
3085
+ "timeInterval": "",
3086
+ "isTimeInterval": false,
3087
+ "changeWorkspace": false,
3088
+ "currentChartType": "alarm",
3089
+ "showFieldMapping": false,
3090
+ "enablePreflightEstimate": false
3091
+ },
3092
+ "fixedTime": ""
3093
+ },
3094
+ "group": {
3095
+ "name": "test"
3096
+ },
3097
+ "chartGroupUUID": "chtg_fa9073f2b42a4443b081621bce807686",
3098
+ "name": "新建图表",
3099
+ "pos": {
3100
+ "h": 18,
3101
+ "w": 12,
3102
+ "x": 12,
3103
+ "y": 20
3104
+ },
3105
+ "type": "alarm",
3106
+ "queries": [
3107
+ {
3108
+ "name": "",
3109
+ "type": "alarm",
3110
+ "unit": "",
3111
+ "color": "",
3112
+ "qtype": "dql",
3113
+ "query": {
3114
+ "q": "E::monitor:(`df_status` AS `状态`, `df_title` AS `事件`)",
3115
+ "code": "A",
3116
+ "fill": null,
3117
+ "type": "simple",
3118
+ "alias": "事件",
3119
+ "field": null,
3120
+ "fields": [
3121
+ {
3122
+ "alias": "状态",
3123
+ "field": "df_status"
3124
+ },
3125
+ {
3126
+ "alias": "事件",
3127
+ "field": "df_title"
3128
+ }
3129
+ ],
3130
+ "filters": [],
3131
+ "groupBy": [],
3132
+ "funcList": [],
3133
+ "fieldFunc": "",
3134
+ "fieldType": "float",
3135
+ "namespace": "event",
3136
+ "dataSource": "monitor",
3137
+ "queryFuncs": [],
3138
+ "groupByTime": "",
3139
+ "indexFilter": "",
3140
+ "disableMultipleField": false
3141
+ },
3142
+ "datasource": "dataflux",
3143
+ "noTimeRange": false
3144
+ }
3145
+ ],
3146
+ "prevGroupName": "test",
3147
+ "uuid": "chrt_03760d72f53f48c8b063dc030211604c"
3148
+ },
3149
+ {
3150
+ "extend": {
3151
+ "settings": {
3152
+ "alias": [],
3153
+ "units": [],
3154
+ "colors": [],
3155
+ "levels": [],
3156
+ "pageSize": 50,
3157
+ "showPart": "all",
3158
+ "unitType": "global",
3159
+ "fixedTime": "",
3160
+ "inColumns": [],
3161
+ "showTitle": true,
3162
+ "titleDesc": "",
3163
+ "addColumns": [],
3164
+ "globalUnit": [],
3165
+ "isSampling": true,
3166
+ "timeInterval": "",
3167
+ "isTimeInterval": false,
3168
+ "changeWorkspace": false,
3169
+ "showFieldMapping": false,
3170
+ "enablePreflightEstimate": false
3171
+ },
3172
+ "fixedTime": ""
3173
+ },
3174
+ "group": {
3175
+ "name": "test"
3176
+ },
3177
+ "chartGroupUUID": "chtg_fa9073f2b42a4443b081621bce807686",
3178
+ "name": "新建图表",
3179
+ "pos": {
3180
+ "h": 18,
3181
+ "w": 12,
3182
+ "x": 1,
3183
+ "y": 41
3184
+ },
3185
+ "type": "monitor",
3186
+ "queries": [
3187
+ {
3188
+ "name": "",
3189
+ "type": "monitor",
3190
+ "unit": "",
3191
+ "color": "",
3192
+ "qtype": "dql",
3193
+ "query": {
3194
+ "sort": {
3195
+ "field": "status",
3196
+ "order": "asc"
3197
+ },
3198
+ "filter": {
3199
+ "tagsUUIDs": [
3200
+ "tag_5cea06efed6847e19d7aacbcc8aee22b"
3201
+ ],
3202
+ "checkerTypes": [],
3203
+ "checkerStatus": [],
3204
+ "alertPolicyUUIDs": []
3205
+ },
3206
+ "search": ""
3207
+ },
3208
+ "datasource": "dataflux"
3209
+ }
3210
+ ],
3211
+ "prevGroupName": "test",
3212
+ "uuid": "chrt_8b1532be019c4d1a883d857372d5e2b7"
3213
+ },
3214
+ {
3215
+ "extend": {
3216
+ "settings": {
3217
+ "alias": [],
3218
+ "units": [],
3219
+ "colors": [],
3220
+ "levels": [],
3221
+ "unitType": "global",
3222
+ "fixedTime": "",
3223
+ "showTitle": true,
3224
+ "titleDesc": "",
3225
+ "globalUnit": [],
3226
+ "isSampling": true,
3227
+ "isTimeInterval": false,
3228
+ "changeWorkspace": false,
3229
+ "showFieldMapping": false,
3230
+ "enablePreflightEstimate": false
3231
+ }
3232
+ },
3233
+ "group": {
3234
+ "name": "test"
3235
+ },
3236
+ "chartGroupUUID": "chtg_fa9073f2b42a4443b081621bce807686",
3237
+ "name": "新建图表",
3238
+ "pos": {
3239
+ "h": 10,
3240
+ "w": 8,
3241
+ "x": 13,
3242
+ "y": 38
3243
+ },
3244
+ "type": "text",
3245
+ "queries": [
3246
+ {
3247
+ "name": "",
3248
+ "query": {
3249
+ "content": "#1111\n"
3250
+ }
3251
+ }
3252
+ ],
3253
+ "prevGroupName": "test",
3254
+ "uuid": "chrt_0df8924955af4ee5b2996302860ab89d"
3255
+ },
3256
+ {
3257
+ "extend": {
3258
+ "settings": {
3259
+ "alias": [],
3260
+ "units": [],
3261
+ "colors": [],
3262
+ "levels": [],
3263
+ "volume": 50,
3264
+ "autoplay": false,
3265
+ "unitType": "global",
3266
+ "fixedTime": "",
3267
+ "maxVolume": 100,
3268
+ "minVolume": 0,
3269
+ "showTitle": true,
3270
+ "titleDesc": "",
3271
+ "globalUnit": [],
3272
+ "isSampling": true,
3273
+ "repeatPlay": false,
3274
+ "timeInterval": "auto",
3275
+ "isTimeInterval": false,
3276
+ "changeWorkspace": false,
3277
+ "showFieldMapping": false,
3278
+ "enablePreflightEstimate": false
3279
+ }
3280
+ },
3281
+ "group": {
3282
+ "name": "test"
3283
+ },
3284
+ "chartGroupUUID": "chtg_fa9073f2b42a4443b081621bce807686",
3285
+ "name": "新建图表",
3286
+ "pos": {
3287
+ "h": 10,
3288
+ "w": 8,
3289
+ "x": 7,
3290
+ "y": 59
3291
+ },
3292
+ "type": "video",
3293
+ "queries": [
3294
+ {
3295
+ "name": "",
3296
+ "query": {
3297
+ "content": "得到的"
3298
+ }
3299
+ }
3300
+ ],
3301
+ "prevGroupName": "test",
3302
+ "uuid": "chrt_c07ed4e8882348dabc61553de28cae34"
3303
+ },
3304
+ {
3305
+ "extend": {
3306
+ "links": [],
3307
+ "settings": {
3308
+ "url": "xxxx",
3309
+ "type": "fill",
3310
+ "alias": [],
3311
+ "units": [],
3312
+ "colors": [],
3313
+ "levels": [],
3314
+ "unitType": "global",
3315
+ "fixedTime": "",
3316
+ "showTitle": true,
3317
+ "titleDesc": "",
3318
+ "globalUnit": [],
3319
+ "isSampling": true,
3320
+ "timeInterval": "auto",
3321
+ "isTimeInterval": false,
3322
+ "backgroundStyle": {
3323
+ "backgroundSize": "cover"
3324
+ },
3325
+ "changeWorkspace": false,
3326
+ "showFieldMapping": false,
3327
+ "enablePreflightEstimate": false
3328
+ },
3329
+ "isRefresh": true
3330
+ },
3331
+ "group": {
3332
+ "name": "test"
3333
+ },
3334
+ "chartGroupUUID": "chtg_fa9073f2b42a4443b081621bce807686",
3335
+ "name": "新建图表",
3336
+ "pos": {
3337
+ "h": 8,
3338
+ "w": 6,
3339
+ "x": 0,
3340
+ "y": 59
3341
+ },
3342
+ "type": "picture",
3343
+ "queries": [],
3344
+ "prevGroupName": "test",
3345
+ "uuid": "chrt_26430a82f652427c98b84e0aae587ab7"
3346
+ },
3347
+ {
3348
+ "extend": {
3349
+ "links": [],
3350
+ "settings": {
3351
+ "url": "https://www.baidu.com",
3352
+ "alias": [],
3353
+ "units": [],
3354
+ "colors": [],
3355
+ "levels": [],
3356
+ "unitType": "global",
3357
+ "fixedTime": "",
3358
+ "showTitle": true,
3359
+ "titleDesc": "",
3360
+ "globalUnit": [],
3361
+ "isSampling": true,
3362
+ "isTimeInterval": false,
3363
+ "changeWorkspace": false,
3364
+ "showFieldMapping": false,
3365
+ "enablePreflightEstimate": false
3366
+ },
3367
+ "isRefresh": false
3368
+ },
3369
+ "group": {
3370
+ "name": "test"
3371
+ },
3372
+ "chartGroupUUID": "chtg_fa9073f2b42a4443b081621bce807686",
3373
+ "name": "新建图表",
3374
+ "pos": {
3375
+ "h": 10,
3376
+ "w": 8,
3377
+ "x": 16,
3378
+ "y": 48
3379
+ },
3380
+ "type": "iframe",
3381
+ "queries": [],
3382
+ "prevGroupName": "test",
3383
+ "uuid": "chrt_4c5c6cd0d5544c6ea8317e23cf395d6b"
3384
+ }
3385
+ ],
3386
+ "chartGroupPos": [
3387
+ "chtg_b1128d0b37e14967b2c466a312e37416",
3388
+ "chtg_defb199a8e03421a9c48dd1a84aa1929",
3389
+ "chtg_fa9073f2b42a4443b081621bce807686",
3390
+ "default"
3391
+ ],
3392
+ "groups": [
3393
+ {
3394
+ "name": "test2",
3395
+ "extend": {
3396
+ "colorKey": "style_key7"
3397
+ }
3398
+ },
3399
+ {
3400
+ "name": "test1",
3401
+ "extend": {
3402
+ "colorKey": "style_key1"
3403
+ }
3404
+ },
3405
+ {
3406
+ "name": "test",
3407
+ "extend": {
3408
+ "colorKey": "style_key7"
3409
+ }
3410
+ }
3411
+ ],
3412
+ "type": "template"
3413
+ },
3414
+ "identifier": ""
3415
+ }