
Example 11 Secondary tags associated with a specific application
The secondary tags associated with a specific application are listed using the following REST
call.
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>
/secondaries"
Curl output for app_id=com.hp.sdn
{"secondaries":["nioDirectMemory","operatingSystem","threads","garbageCollection",
"memoryNonHeap","memoryHeap","memoryTotal","nioMappedMemory"]}
Result
Several secondary tags are associated with the primary tag
jvm
along with several
subcategories of
jvm
metric:
memoryHeap
metrics and
threads
metrics, among
others.
219