blob: f7fa627fddf198b4a3f6b435775e46d8e1462091 [file] [log] [blame]
Jian Li72315152015-12-10 17:20:43 -08001{
2 "type": "object",
3 "title": "metric",
4 "required": [
Jian Li72315152015-12-10 17:20:43 -08005 "metric"
6 ],
7 "properties": {
Jian Li72315152015-12-10 17:20:43 -08008 "metric": {
9 "type": "object",
Jian Lia9e44762015-12-11 15:46:46 -080010 "title": "property",
Jian Li72315152015-12-10 17:20:43 -080011 "optional": [
Jian Lia9e44762015-12-11 15:46:46 -080012 "type"
Jian Li72315152015-12-10 17:20:43 -080013 ],
14 "properties": {
Jian Li72315152015-12-10 17:20:43 -080015 "timer": {
16 "type": "object",
Jian Lia9e44762015-12-11 15:46:46 -080017 "title": "timer",
Jian Li72315152015-12-10 17:20:43 -080018 "required": [
19 "counter",
20 "mean_rate",
21 "1_min_rate",
22 "5_min_rate",
23 "15_min_rate",
24 "mean",
25 "min",
26 "max",
27 "stddev"
28 ],
29 "properties": {
30 "counter": {
31 "type": "integer",
32 "example": "1"
33 },
34 "mean_rate": {
35 "type": "double",
36 "example": "1.0"
37 },
38 "1_min_rate": {
39 "type": "double",
40 "example": "1.0"
41 },
42 "5_min_rate": {
43 "type": "double",
44 "example": "1.0"
45 },
46 "15_min_rate": {
47 "type": "double",
48 "example": "1.0"
49 },
50 "mean": {
51 "type": "double",
52 "example": "1.0"
53 },
54 "min": {
55 "type": "double",
56 "example": "1.0"
57 },
58 "max": {
59 "type": "double",
60 "example": "1.0"
61 },
62 "stddev": {
63 "type": "double",
64 "example": "1.0"
65 }
66 }
67 }
68 }
69 }
70 }
71}