1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
{
"type" : "line",
"aggs" : [
{
"params" : {
"field" : "extra_info.cpu_percent",
"customLabel" : "CPU usage (%)"
},
"schema" : "metric",
"enabled" : true,
"type" : "avg",
"id" : "1"
},
{
"type" : "terms",
"enabled" : true,
"schema" : "segment",
"params" : {
"orderAgg" : {
"params" : {
"field" : "commit_info.time"
},
"type" : "min",
"enabled" : true,
"schema" : "orderAgg",
"id" : "2-orderAgg"
},
"order" : "asc",
"field" : "commit_id_and_date",
"size" : 10000,
"orderBy" : "custom",
"customLabel" : "Commit info: id and date"
},
"id" : "2"
}
],
"listeners" : {},
"params" : {
"addTimeMarker" : false,
"showCircles" : true,
"addTooltip" : true,
"scale" : "linear",
"legendPosition" : "right",
"valueAxes" : [
{
"type" : "value",
"scale" : {
"type" : "linear",
"mode" : "normal"
},
"show" : true,
"style" : {},
"position" : "left",
"name" : "LeftAxis-1",
"labels" : {
"filter" : false,
"rotate" : 0,
"show" : true,
"truncate" : 100
},
"title" : {
"text" : "CPU usage (%)"
},
"id" : "ValueAxis-1"
}
],
"addLegend" : true,
"grid" : {
"style" : {
"color" : "#eee"
},
"categoryLines" : false
},
"radiusRatio" : 9,
"defaultYExtents" : false,
"setYExtents" : false,
"interpolate" : "linear",
"categoryAxes" : [
{
"title" : {
"text" : "Commit info: id and date"
},
"id" : "CategoryAxis-1",
"labels" : {
"truncate" : 100,
"show" : true
},
"position" : "bottom",
"show" : false,
"style" : {},
"scale" : {
"type" : "linear"
},
"type" : "category"
}
],
"drawLinesBetweenPoints" : true,
"seriesParams" : [
{
"drawLinesBetweenPoints" : true,
"show" : true,
"valueAxis" : "ValueAxis-1",
"interpolate" : "linear",
"type" : "line",
"data" : {
"label" : "CPU usage (%)",
"id" : "1"
},
"mode" : "normal",
"showCircles" : true,
"lineWidth" : 2
}
],
"times" : []
},
"title" : "CPU usage for {{{test_name}}}"
}
|