HP HPE VAN SDN Controller 2.7 Administrator's Manual page 222

Table of Contents

Advertisement

Example 14 Filter primary, secondary and metric name
Filter for a primary tag of "jvm", a secondary tag of "memoryHeap", and a metric name of
"usedBytes".
Curl equivalent command
curl --noproxy <controller_ip> -X GET --header
"X-Auth-Token:<token>" --fail -ksSfL --url
"https://<controller_ip>:8443/sdn/v2.0/metrics/apps/
<app_id>?primary_tag=jvm&secondary_tag=memoryHeap&name=usedBytes"
Curl output for app_id=com.hp.sdn, primary_tag=jvm,
secondary_tag=memoryHeap, name=usedBytes
{"metrics":[{"app_id":"com.hp.sdn","type":"GAUGE","name":"usedBytes","description":
"The amount of heap memory currently being used by the JVM in
bytes.","primary_tag":
"jvm","secondary_tag":"memoryHeap","jmx":false,"persistence":true,"summary_interval":
"ONE","uid":"431b746e-e62e-4874-a801-b1438eaac635"}]}
Result
Detailed information about the metric can be retrieved using a specific metric UID.
This same information is encompassed by the previous metric listing.
222 Examples of Metrics

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents