Jian Li | 7231515 | 2015-12-10 17:20:43 -0800 | [diff] [blame] | 1 | { |
| 2 | "type": "object", |
| 3 | "title": "metric", |
| 4 | "required": [ |
Jian Li | 7231515 | 2015-12-10 17:20:43 -0800 | [diff] [blame] | 5 | "metric" |
| 6 | ], |
| 7 | "properties": { |
Jian Li | 7231515 | 2015-12-10 17:20:43 -0800 | [diff] [blame] | 8 | "metric": { |
| 9 | "type": "object", |
Jian Li | a9e4476 | 2015-12-11 15:46:46 -0800 | [diff] [blame] | 10 | "title": "property", |
Jian Li | 7231515 | 2015-12-10 17:20:43 -0800 | [diff] [blame] | 11 | "optional": [ |
Jian Li | a9e4476 | 2015-12-11 15:46:46 -0800 | [diff] [blame] | 12 | "type" |
Jian Li | 7231515 | 2015-12-10 17:20:43 -0800 | [diff] [blame] | 13 | ], |
| 14 | "properties": { |
Jian Li | 7231515 | 2015-12-10 17:20:43 -0800 | [diff] [blame] | 15 | "timer": { |
| 16 | "type": "object", |
Jian Li | a9e4476 | 2015-12-11 15:46:46 -0800 | [diff] [blame] | 17 | "title": "timer", |
Jian Li | 7231515 | 2015-12-10 17:20:43 -0800 | [diff] [blame] | 18 | "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 | } |