Metrics

CUE User Manager provides a range of application metrics at the following URL:

https://localhost:8681/metrics

where umhost is the host name or IP address of the machine on which you installed CUE User Manager. If you are logged in on that machine, then you can get nicely formatted output on the command line as follows:

$ curl https://localhost:8681/metrics | jq .

The information provided at the metrics endpoint includes:

  • System memory: total and free system memory, in KB

  • System uptime: both server uptime and application context uptime

  • JVM memory usage: initial, used and maximum available heap and non-heap sizes

  • Thread statistics: total thread count, number of threads started and number of daemon threads

  • Classloader: total classes loaded, number currently loaded and number unloaded

  • Garbage collector: garbage collection algorithm, number of times run and time taken on last garbage collection run

  • HTTP connections: total number of connections and total active connections

  • Data source

  • Timers: total, maximum and minimum duration of HTTP requests (all types)

Most of the information in the response is fairly easy to understand and provides a detailed view of the CUE User Manager's current performance.