blob: 89327c9b90e9953ec02f835b2f80960697f5b57d [file] [log] [blame]
Jian Lid86fac32016-04-01 16:10:26 -07001{
2 "type": "object",
3 "title": "metrics",
4 "required": [
5 "metrics"
6 ],
7 "properties": {
8 "metrics": {
9 "type": "array",
10 "xml": {
11 "name": "metrics",
12 "wrapped": true
13 },
14 "items": {
15 "type": "object",
16 "title": "metrics",
17 "required": [
18 "inboundPacket",
19 "outboundPacket",
20 "flowModPacket",
21 "flowRemovedPacket",
22 "requestPacket",
23 "replyPacket"
24 ],
25 "properties": {
26 "inboundPacket": {
27 "type": "object",
28 "required": [
29 "time",
30 "latest",
31 "average"
32 ],
33 "properties": {
34 "time": {
35 "type": "integer",
36 "format": "int64"
37 },
38 "latest": {
39 "type": "integer",
40 "format": "int64"
41 },
42 "average": {
43 "type": "integer",
44 "format": "int64"
45 }
46 }
47 },
48 "outboundPacket": {
49 "type": "object",
50 "required": [
51 "time",
52 "latest",
53 "average"
54 ],
55 "properties": {
56 "time": {
57 "type": "integer",
58 "format": "int64"
59 },
60 "latest": {
61 "type": "integer",
62 "format": "int64"
63 },
64 "average": {
65 "type": "integer",
66 "format": "int64"
67 }
68 }
69 },
70 "flowModPacket": {
71 "type": "object",
72 "required": [
73 "time",
74 "latest",
75 "average"
76 ],
77 "properties": {
78 "time": {
79 "type": "integer",
80 "format": "int64"
81 },
82 "latest": {
83 "type": "integer",
84 "format": "int64"
85 },
86 "average": {
87 "type": "integer",
88 "format": "int64"
89 }
90 }
91 },
92 "flowRemovedPacket": {
93 "type": "object",
94 "required": [
95 "time",
96 "latest",
97 "average"
98 ],
99 "properties": {
100 "time": {
101 "type": "integer",
102 "format": "int64"
103 },
104 "latest": {
105 "type": "integer",
106 "format": "int64"
107 },
108 "average": {
109 "type": "integer",
110 "format": "int64"
111 }
112 }
113 },
114 "requestPacket": {
115 "type": "object",
116 "required": [
117 "time",
118 "latest",
119 "average"
120 ],
121 "properties": {
122 "time": {
123 "type": "integer",
124 "format": "int64"
125 },
126 "latest": {
127 "type": "integer",
128 "format": "int64"
129 },
130 "average": {
131 "type": "integer",
132 "format": "int64"
133 }
134 }
135 },
136 "replyPacket": {
137 "type": "object",
138 "required": [
139 "time",
140 "latest",
141 "average"
142 ],
143 "properties": {
144 "time": {
145 "type": "integer",
146 "format": "int64"
147 },
148 "latest": {
149 "type": "integer",
150 "format": "int64"
151 },
152 "average": {
153 "type": "integer",
154 "format": "int64"
155 }
156 }
157 }
158 }
159 }
160 }
161 }
162}