HP VAN SDN Controller REST API Guide

parameters:
app_id ... mandatory; if none specified, returns errors
name ... optional; if none specified, returns all metrics
primary_tag... optional; if none specified, the wild card is considered, if specified returns
only the metrics with the specified primary tag
secondary_tag... optional; If none is specified, the wild card is considered ,if specified returns
only the metrics with the specified secondary tag
Sample response
1 {"metrics": [
2 {
3 "name": "Metric A",
4 "type": "COUNTER",
5 "uid": "65f1a180-ab5e-4b41-8c9f-b1597a4d1200",
6 "primary_tag":"computenode1",
7 "secondary_tag":"router1",
8 "primary_tag":"router1",
9 "secondary_tag":"port1",
10 "jmx":true,
11 "persistence":true,
12 "summary_interval":"ONE"
13 },
14 {
15 "name": "Metric B",
16 "type": "ROLLING_COUNTER",
17 "uid": "65f1a180-ab5e-4b41-8c9f-b1597a4d1201",
18 "primary_tag":"computenode2",
19 "secondary_tag":"router1",
20 "description": "My second metric.",
21 "jmx":true,
22 "persistence":true,
23 "summary_interval":"FIVE"
24 },
25 {
26 "name": "Metric C",
27 "type": "GAUGE",
28 "uid": "65f1a180-ab5e-4b41-8c9f-b1597a4d1202",
29 "primary_tag":"computenode2",
30 "secondary_tag":"router2",
31 "description": "My third metric.",
32 "jmx":true,
33 "persistence":true,
34 "summary_interval":"FIFTEEN"
35 },
36 {
37 "name": "Metric D",
38 "type": "RATIO_GAUGE",
39 "uid": "65f1a180-ab5e-4b41-8c9f-b1597a4d1203",
40 "primary_tag":"computenode1",
41 "secondary_tag":"router3",
42 "description": "My fourth metric.",
43 "jmx":true,
44 "persistence":true,
45 "summary_interval":"ONE"
46 },
47 {
48 "name": "Interpacket arrival times",
49 "type": "HISTOGRAM",
50 "uid": "65f1a180-ab5e-4b41-8c9f-b1597a4d1204",
51 "primary_tag":"computenode2",
52 "secondary_tag":"router3",
53 "description": "My fifth metric.",
46 /sdn/v2.0