summaryrefslogtreecommitdiff
path: root/elastic/templates/visualization-visState-time.mustache
blob: b97b3b5e87e9ba1d6c11e4ce87f7cd581140559d (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
{
   "type" : "line",
   "listeners" : {},
   "title" : "Test time for {{{test_name}}}",
   "params" : {
      "legendPosition" : "right",
      "defaultYExtents" : false,
      "setYExtents" : false,
      "drawLinesBetweenPoints" : true,
      "interpolate" : "linear",
      "addTimeMarker" : false,
      "radiusRatio" : 9,
      "showCircles" : true,
      "scale" : "linear",
      "addTooltip" : true,
      "addLegend" : true,
      "times" : []
   },
   "aggs" : [
      {
         "type" : "avg",
         "schema" : "metric",
         "params" : {
            "field" : "stats.median",
            "customLabel": "Median"
         },
         "enabled" : true,
         "id" : "1"
      },
      {
         "enabled" : true,
         "id" : "2",
         "params" : {
            "order" : "asc",
            "orderBy" : "custom",
            "field" : "commit_id_and_date",
            "customLabel" : "Commit info: id and date",
            "size" : 1000,
            "orderAgg" : {
               "params" : {
                  "field" : "commit_info.time"
               },
               "schema" : "orderAgg",
               "type" : "min",
               "enabled" : true,
               "id" : "2-orderAgg"
            },
            "ranges": [{"from": "*2017-4-1"}]
         },
         "schema" : "segment",
         "type" : "terms"
      },
      {
         "enabled" : true,
         "id" : "3",
         "schema" : "metric",
         "params" : {
            "field" : "stats.mean",
            "customLabel": "Mean"
         },
         "type" : "avg"
      },
      {
         "id" : "4",
         "enabled" : true,
         "type" : "avg",
         "schema" : "metric",
         "params" : {
            "field" : "stats.iqr",
            "customLabel": "IQR"
         }
      },
      {
         "type" : "avg",
         "schema" : "metric",
         "params" : {
            "field" : "stats.stddev",
            "customLabel": "Standard deviation"
         },
         "id" : "5",
         "enabled" : true
      }
   ]
}