Changes between Version 31 and Version 32 of OperationalMonitoring/DataSchema
- Timestamp:
- 02/20/14 16:13:29 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OperationalMonitoring/DataSchema
v31 v32 62 62 Aggregates are indexed by GENI-agreed short name and described using [http://www.gpolab.bbn.com/monitoring/schema/20140131/aggregate# the aggregate schema]. Examples: 63 63 64 Call for GPO-IG:64 Hypothetical REST call for GPO-IG: 65 65 {{{ 66 66 https://datastore.instageni.gpolab.bbn.com/aggregate/gpo-ig … … 97 97 98 98 Nodes have an ID which is a URL-sanitized version of their URN and are described using [http://unis.incntre.iu.edu/schema/20120709/node# the node schema]. Examples: 99 Call for GPO-IG PC1:99 Hypothetical REST call for GPO-IG PC1: 100 100 {{{ 101 101 https://datastore.instageni.gpolab.bbn.com/node/instageni.gpolab.bbn.com_node_pc1 … … 143 143 Examples: 144 144 145 Call for pc1 eth0 (control) at gpo-ig:145 Hypothetical REST call for pc1 eth0 (control) at gpo-ig: 146 146 {{{ 147 147 https://datastore.instageni.gpolab.bbn.com/interface/instageni.gpolab.bbn.com_interface_pc1:eth0 … … 168 168 } 169 169 }}} 170 Call for pc1 eth1 (dataplane) interface at gpo-ig: 170 171 Hypothetical REST call for pc1 eth1 (dataplane) interface at gpo-ig: 171 172 172 173 {{{ 173 174 https://datastore.instageni.gpolab.bbn.com/interface/instageni.gpolab.bbn.com_interface_pc1:eth1 174 175 }}} 175 176 176 Response: 177 177 {{{ 178 178 { … … 201 201 202 202 203 Call for authority of ch.geni.net:203 Hypothetical REST call for authority of ch.geni.net: 204 204 {{{ 205 205 https://datastore.ch.geni.net/authority/ch.geni.net … … 231 231 232 232 GENI users have an ID based on the username and are described using [http://www.gpolab.bbn.com/monitoring/schema/20140131/user# the GENI user schema]. Examples: 233 * tupty at ch.geni.net: 233 234 Hypothetical REST call for user tupty at ch.geni.net: 235 {{{ 236 https://datastore.ch.geni.net/user/tupty 237 }}} 238 Response: 234 239 {{{ 235 240 { … … 251 256 252 257 GENI slices have an ID based on the URN and are described using [http://www.gpolab.bbn.com/monitoring/schema/20140131/slice# the GENI slice schema]. Examples: 253 * tuptyexclusive slice: 258 Hypothetical REST call for tuptyexclusive slice: 259 {{{ 260 https://datastore.ch.geni.net/slices/ch.geni.net_gpo-infra_slice_tuptyexclusive 261 }}} 262 254 263 {{{ 255 264 { … … 279 288 280 289 GENI sliver have an ID based on the URN and are described using [http://www.gpolab.bbn.com/monitoring/schema/20140131/sliver# the GENI sliver schema]. Examples: 281 * tuptyexclusive instageni sliver: 290 Hypothetical REST call for tuptyexclusive instageni sliver: 291 {{{ 292 https://datastore.instageni.gpolab.bbn.com/slivers/instageni.gpolab.bbn.com_sliver_26947 293 }}} 294 Response: 282 295 {{{ 283 296 { … … 313 326 314 327 Measurements have an opaque ID which is generated by the local datastore which serves them, and must be persistent, so that the caller has the option of asking for the measurement by ID. They are described using the data schema outlined above. Examples: 315 * CPU utilization metric on pc1: 328 Hypothetical REST call for CPU utilization metric on pc1: 329 {{{ 330 https://datastore.instageni.gpolab.bbn.com/data/q?={"filters":{"eventType": ["ops_monitoring:cpu_util"],"ts":{"gte":0},"obj":{"type":"node","id":["instageni.gpolab.bbn.com_node_pc1"]}}} 331 }}} 332 Response 316 333 {{{ 317 334 { … … 332 349 } 333 350 }}} 334 * Percentage of swap available on pc1: 351 Hypothetical REST call for percentage of swap available on pc1: 352 {{{ 353 https://datastore.instageni.gpolab.bbn.com/data/q?={"filters":{"eventType": ["ops_monitoring:swap_free"],"ts":{"gte":0},"obj":{"type":"node","id":["instageni.gpolab.bbn.com_node_pc1"]}}} 354 355 }}} 356 Response: 335 357 {{{ 336 358 { … … 351 373 } 352 374 }}} 353 * Memory in active use on pc1: 375 Hypothetical REST call for memory in active use on pc1: 376 {{{ 377 https://datastore.instageni.gpolab.bbn.com/data/q?={"filters":{"eventType": ["ops_monitoring:mem_active_kb"],"ts":{"gte":0},"obj":{"type":"node","id":["instageni.gpolab.bbn.com_node_pc1"]}}} 378 }}} 379 Response: 354 380 {{{ 355 381 { … … 370 396 } 371 397 }}} 372 * Bytes per second received by `pc1:eth0`: 398 Hypothetical call for bytes per second received by `pc1:eth0`: 399 {{{ 400 https://datastore.instageni.gpolab.bbn.com/data/q?={"filters":{"eventType": ["ops_monitoring:rx_bytes"],"ts":{"gte":0},"obj":{"type":"interface","id":["instageni.gpolab.bbn.com_node_pc1:eth0"]}}} 401 }}} 402 Response: 373 403 {{{ 374 404 { … … 389 419 } 390 420 }}} 391 * Boolean metric indicating whether pc1 is available for use according to the aggregate responsible for it: 421 Hypothetical REST call for boolean metric indicating whether pc1 is available for use according to the aggregate responsible for it: 422 {{{ 423 https://datastore.instageni.gpolab.bbn.com/data/q?={"filters":{"eventType": ["ops_monitoring:is_available"],"ts":{"gte":0},"obj":{"type":"node","id":["instageni.gpolab.bbn.com_node_pc1"]}}} 424 }}} 425 Response: 392 426 {{{ 393 427 { … … 489 523 ] 490 524 }}} 491