blob: 0d1605a399fd0037cc152d5f4bfb851bd6853a0c [file] [log] [blame]
Jian Li72315152015-12-10 17:20:43 -08001{
2 "type": "object",
3 "title": "metrics",
4 "required": [
5 "metrics"
6 ],
7 "properties": {
8 "metrics": {
9 "type": "array",
10 "xml": {
Jian Lia9e44762015-12-11 15:46:46 -080011 "name": "metric",
Jian Li72315152015-12-10 17:20:43 -080012 "wrapped": true
13 },
14 "items": {
15 "type": "object",
16 "title": "metric",
17 "required": [
Jian Li72315152015-12-10 17:20:43 -080018 "metric"
19 ],
20 "properties": {
Jian Li72315152015-12-10 17:20:43 -080021 "metric": {
22 "type": "object",
Jian Lia9e44762015-12-11 15:46:46 -080023 "title": "property",
Jian Li72315152015-12-10 17:20:43 -080024 "optional": [
Jian Lia9e44762015-12-11 15:46:46 -080025 "type"
Jian Li72315152015-12-10 17:20:43 -080026 ],
27 "properties": {
Jian Li72315152015-12-10 17:20:43 -080028 "timer": {
29 "type": "object",
Jian Lia9e44762015-12-11 15:46:46 -080030 "title": "timer",
Jian Li72315152015-12-10 17:20:43 -080031 "required": [
32 "counter",
33 "mean_rate",
34 "1_min_rate",
35 "5_min_rate",
36 "15_min_rate",
37 "mean",
38 "min",
39 "max",
40 "stddev"
41 ],
42 "properties": {
43 "counter": {
44 "type": "integer",
45 "example": "1"
46 },
47 "mean_rate": {
48 "type": "double",
49 "example": "1.0"
50 },
51 "1_min_rate": {
52 "type": "double",
53 "example": "1.0"
54 },
55 "5_min_rate": {
56 "type": "double",
57 "example": "1.0"
58 },
59 "15_min_rate": {
60 "type": "double",
61 "example": "1.0"
62 },
63 "mean": {
64 "type": "double",
65 "example": "1.0"
66 },
67 "min": {
68 "type": "double",
69 "example": "1.0"
70 },
71 "max": {
72 "type": "double",
73 "example": "1.0"
74 },
75 "stddev": {
76 "type": "double",
77 "example": "1.0"
78 }
79 }
80 }
81 }
82 }
83 }
84 }
85 }
86 }
87}