Jian Li | 7231515 | 2015-12-10 17:20:43 -0800 | [diff] [blame] | 1 | { |
| 2 | "type": "object", |
| 3 | "title": "metrics", |
| 4 | "required": [ |
| 5 | "metrics" |
| 6 | ], |
| 7 | "properties": { |
| 8 | "metrics": { |
| 9 | "type": "array", |
| 10 | "xml": { |
Jian Li | a9e4476 | 2015-12-11 15:46:46 -0800 | [diff] [blame] | 11 | "name": "metric", |
Jian Li | 7231515 | 2015-12-10 17:20:43 -0800 | [diff] [blame] | 12 | "wrapped": true |
| 13 | }, |
| 14 | "items": { |
| 15 | "type": "object", |
| 16 | "title": "metric", |
| 17 | "required": [ |
Jian Li | 7231515 | 2015-12-10 17:20:43 -0800 | [diff] [blame] | 18 | "metric" |
| 19 | ], |
| 20 | "properties": { |
Jian Li | 7231515 | 2015-12-10 17:20:43 -0800 | [diff] [blame] | 21 | "metric": { |
| 22 | "type": "object", |
Jian Li | a9e4476 | 2015-12-11 15:46:46 -0800 | [diff] [blame] | 23 | "title": "property", |
Jian Li | 7231515 | 2015-12-10 17:20:43 -0800 | [diff] [blame] | 24 | "optional": [ |
Jian Li | a9e4476 | 2015-12-11 15:46:46 -0800 | [diff] [blame] | 25 | "type" |
Jian Li | 7231515 | 2015-12-10 17:20:43 -0800 | [diff] [blame] | 26 | ], |
| 27 | "properties": { |
Jian Li | 7231515 | 2015-12-10 17:20:43 -0800 | [diff] [blame] | 28 | "timer": { |
| 29 | "type": "object", |
Jian Li | a9e4476 | 2015-12-11 15:46:46 -0800 | [diff] [blame] | 30 | "title": "timer", |
Jian Li | 7231515 | 2015-12-10 17:20:43 -0800 | [diff] [blame] | 31 | "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 | } |