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

Table of Contents

Advertisement

Example 9 All metrics available
The following command lists all of the metrics available for a specific application (the controller
itself in this example); because of the number of metrics available the output is cut off.
NOTE:
This output describes the metrics; it does not represent the time-series values for them.
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>"
Curl output for app_id=com.hp.sdn
{"metrics":[{"app_id":"com.hp.sdn","type":"RATIO_GAUGE","name":"cpuLoadSystem","description":
"The recent CPU usage of the system.","primary_tag":"jvm","secondary_tag":
"operatingSystem","jmx":false,"persistence":true,"summary_interval":
"ONE","uid":"42f65cd8-03c3-4cad-9788-012d513e3c0f"},{"app_id":
"com.hp.sdn","type":"GAUGE","name":"committedBytes","description":
"The amount of non-heap memory in bytes that is committed (guaranteed) for the JVM to
use.","primary_tag":
"jvm","secondary_tag":"memoryNonHeap","jmx":false,"persistence":
true,"summary_interval":"ONE","uid":"b82f5b00-0373-4a23-b5a8-bbda7eec44cb"},{"app_id":
"com.hp.sdn","type":"GAUGE","name":"countTerminated","description":
"Number of JVM threads that had exited.","primary_tag":"jvm","secondary_tag":
"threads","jmx":false,"persistence":true,"summary_interval":
"ONE","uid":"0e9fe62e-01fd-42e9-88a6-f92021a5e786"},{"app_id":
"com.hp.sdn","type":"GAUGE","name":"uptimeMs","description":
"The uptime of the JVM in milliseconds.","primary_tag":"jvm","jmx":
false,"persistence":true,"summary_interval":"ONE","uid":
"93920384-c0e4-4b4c-987e-79a690a541af"},{"app_id":"com.hp.sdn","type":
"GAUGE","name":"committedBytes","description":
"The amount of heap memory in bytes that is committed (guaranteed) for the JVM to
use.","primary_tag":
"jvm","secondary_tag":"memoryHeap","jmx":false,"persistence":
true,"summary_interval":"ONE","uid":"4cb1a4be-3a8d-4f69-a626-2c5ae134c7e3"},{"app_id":"com.hp.sdn","type":
"GAUGE","name":"usedBytes","description":
"The total amount of memory currently being used by the JVM in bytes.","primary_tag":
"jvm","secondary_tag":"memoryTotal","jmx":false,"persistence":true,"summary_interval":
"ONE","uid":"fe56c3fd-9994-4ec4-af59-121357359d58"},{"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"},{"app_id":"com.hp.sdn","type":
"GAUGE","name":"usedBytes","description":"The amount of non-heap memory currently being used
by the JVM in bytes.",
"primary_tag":"jvm","secondary_tag":"memoryNonHeap","jmx":false,"persistence":true,"summary_interval":"ONE","uid":
"afa9a4b2-856a-4f69-8abf-a4775fd0f2e7"},{"app_id":"com.hp.sdn","type":"ROLLING_COUNTER","name":"count","description":
"The number of garbage collections undertaken by the JVM during the sampling
interval.","primary_tag":
"jvm","secondary_tag":"garbageCollection","jmx":false,"persistence":
true,"summary_interval":"ONE","uid":"d62c49d4-46b3-4c2c-be60-24f6fa6c6bf6"},{"app_id":
"com.hp.sdn","type":"RATIO_GAUGE","name":"usage","description":
"The ratio of non-heap memory currently being used by the JVM to maximum non-heap memory
requested by the JVM.","primary_tag":"jvm","secondary_tag":"memoryNonHeap","jmx":
false,"persistence":true,"summary_interval":"ONE","uid":"fafefbb9-e953-492e-9ddf-db76961f8958"},
{"app_id":"com.hp.sdn","type":"RATIO_GAUGE","name":"averageBufferUsedBytes","description":
"The average bytes used in each mapped memory buffer associated with the JVM.","primary_tag":
"jvm","secondary_tag":"nioMappedMemory","jmx":false,"persistence":true,"summary_interval":
"ONE","uid":"25a38f14-1ea3-4bc8-9588-fe4c53a587dd"},{"app_id":"com.hp.sdn","type":"GAUGE","name":
"bufferUsedBytes","description":"The total amount of mapped buffer memory that the JVM is using
in bytes.",
"primary_tag":"jvm","secondary_tag":"nioMappedMemory","jmx":false,"persistence":true,"summary_interval":
"ONE","uid":"c715e388-87dc-4f05-a430-c3c39e73615e"},{"app_id":"com.hp.sdn","type":"GAUGE","name":
"bufferUsedBytes","description":"The total amount of direct buffer memory that the JVM is using
in bytes.",
"primary_tag":"jvm","secondary_tag":"nioDirectMemory","jmx":false,"persistence":true,"summary_interval":
"ONE","uid":"f7301f57-e013-477c-af8f-cf3dae376232"},{"app_id":"com.hp.sdn","type":"GAUGE","name":
"bufferCapacityBytes","description":"The total capacity in bytes of direct buffer memory
associated with the JVM.",
"primary_tag":"jvm","secondary_tag":"nioDirectMemory","jmx":false,"persistence":true,"summary_interval":
"ONE","uid":"fbcebed0-21a2-4b8a-8e68-0351cddefee8"},{"app_id":"com.hp.sdn","type":"RATIO_GAUGE","name":
"averageBufferCapacityBytes","description":"The average capacity in bytes of each mapped memory
buffer
associated with the JVM.","primary_tag":"jvm","secondary_tag":"nioMappedMemory","jmx":
false,"persistence":true,"summary_interval":"ONE","uid":"42aee5ea-934d-4816-a1fd-f2f8f99e5160"},
{"app_id":"com.hp.sdn","type":"GAUGE","name":"countRunnable","description":
"Number of JVM threads that were executing.","primary_tag":"jvm","secondary_tag":
"threads","jmx":false,"persistence":true,"summary_interval":"ONE","uid":
"b3acc121-e892-4759-90c5-63969b0fcfb7"},{"app_id":"com.hp.sdn","type":
"GAUGE","name":"countTimedWaiting","description":"Number of JVM threads
waiting up to a specified period for another thread to perform a particular action.",
"primary_tag":"jvm","secondary_tag":"threads","jmx":false,"persistence":
215

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents