summaryrefslogtreecommitdiff
path: root/elastic/templates/visualization-visState-time.mustache
blob: 74798bb2cb30ba2e5e7a3388b604f28560588bcd (plain)
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
  "title": "Time taken by {{{test_name}}}",
  "type": "line",
  "params": {
    "addLegend": true,
    "addTimeMarker": false,
    "addTooltip": true,
    "categoryAxes": [
      {
        "id": "CategoryAxis-1",
        "labels": {
          "show": true,
          "truncate": 100
        },
        "position": "bottom",
        "scale": {
          "type": "linear"
        },
        "show": false,
        "style": {},
        "title": {
          "text": "Commit info: id and date"
        },
        "type": "category"
      }
    ],
    "defaultYExtents": false,
    "drawLinesBetweenPoints": true,
    "grid": {
      "categoryLines": false,
      "style": {
        "color": "#eee"
      }
    },
    "interpolate": "linear",
    "legendPosition": "right",
    "radiusRatio": 9,
    "scale": "linear",
    "seriesParams": [
      {
        "data": {
          "id": "3",
          "label": "Mean (s)"
        },
        "drawLinesBetweenPoints": true,
        "interpolate": "linear",
        "lineWidth": 2,
        "mode": "normal",
        "show": true,
        "showCircles": true,
        "type": "line",
        "valueAxis": "ValueAxis-1"
      },
      {
        "show": true,
        "mode": "normal",
        "type": "line",
        "drawLinesBetweenPoints": true,
        "showCircles": false,
        "interpolate": "linear",
        "lineWidth": 1,
        "data": {
          "id": "6",
          "label": "Mean - Std. Dev. (s)"
        },
        "valueAxis": "ValueAxis-1"
      },
      {
        "show": true,
        "mode": "normal",
        "type": "line",
        "drawLinesBetweenPoints": true,
        "showCircles": false,
        "interpolate": "linear",
        "lineWidth": 1,
        "data": {
          "id": "7",
          "label": "Mean + Std. Dev. (s)"
        },
        "valueAxis": "ValueAxis-1"
      }
    ],
    "setYExtents": false,
    "showCircles": true,
    "times": [],
    "valueAxes": [
      {
        "id": "ValueAxis-1",
        "labels": {
          "filter": false,
          "rotate": 0,
          "show": true,
          "truncate": 100
        },
        "name": "LeftAxis-1",
        "position": "left",
        "scale": {
          "mode": "normal",
          "type": "linear"
        },
        "show": true,
        "style": {},
        "title": {
          "text": ""
        },
        "type": "value"
      }
    ]
  },
  "aggs": [
    {
      "id": "2",
      "enabled": true,
      "type": "terms",
      "schema": "segment",
      "params": {
        "field": "commit_id_and_date",
        "size": 10000,
        "orderAgg": {
          "id": "2-orderAgg",
          "enabled": true,
          "type": "min",
          "schema": "orderAgg",
          "params": {
            "field": "commit_info.time"
          }
        },
        "order": "asc",
        "orderBy": "custom",
        "customLabel": "Commit info: id and date"
      }
    },
    {
      "id": "3",
      "enabled": true,
      "type": "avg",
      "schema": "metric",
      "params": {
        "field": "stats.mean",
        "customLabel": "Mean (s)"
      }
    },
    {
      "id": "6",
      "enabled": true,
      "type": "avg",
      "schema": "metric",
      "params": {
        "field": "mean_minus_stddev",
        "customLabel": "Mean - Std. Dev. (s)"
      }
    },
    {
      "id": "7",
      "enabled": true,
      "type": "avg",
      "schema": "metric",
      "params": {
        "field": "mean_plus_stdev",
        "customLabel": "Mean + Std. Dev. (s)"
      }
    }
  ],
  "listeners": {}
}