Integration Server 10.15 | Microservices Runtime Guide | Prometheus Metrics | Server Metrics
 
Server Metrics
Server metrics are metrics about the Microservices Runtime that are returned when the metrics endpoint is called. Microservices Runtime obtains some metrics from MBeans available in the JVM.
For each server metric, the following table provides the name, description including the JMX MBean and the method used to obtain the metric if one was used, and the Prometheus labels.
Prometheus Metric Name
Metric Description
Prometheus Labels

sag_is_adapter_count
The number of adapter packages loaded on Microservices Runtime
Metric type: gauge
host

sag_is_average_connection_ time
The running average for the connection time expressed in milliseconds. This can also be described as the average session time or how long a connection is kept alive.
Metric type: gauge
host

sag_is_avg_time_per_ http_requests
The running average time for all HTTP/S requests measured in milliseconds.
This metric excludes requests for services in packages listed in the watt.server.stats.packages.exclude parameter.
Metric type: gauge
host

sag_is_cloudstream_count
The number of loaded CloudStreams connectors on Microservices Runtime.
Metric type: gauge
host

sag_is_current_​stateful_sessions
The current number of stateful sessions.
Metric type: gauge
host

sag_is_custom_package_count
The number of custom packages loaded on Microservices Runtime. A package is considered a custom package if the package manifest contains system_package=no.
Metric type: gauge
host

sag_is_free_memory_bytes
The total free memory for the Microservices Runtime JVM.
Metric type: gauge
host

sag_is_http_requests
The total number of HTTP/S requests since the last statistics poll. The statistics poll interval is controlled by the watt.server.stats.pollTime server configuration parameter. The default interval is 60 seconds.
This metric excludes requests for services in packages listed in the watt.server.stats.packages.exclude parameter.
Metric type: gauge
host

sag_is_max_connections
The peak number of connections to Microservices Runtime the connection is a session which can be created multiple ways such as through an HTTP connection, a trigger, the scheduler, etc.
Metric type: counter
host

sag_is_max_memory_bytes
The maximum memory of the Microservices Runtime JVM.
Metric type: counter
host

sag_is_max_number_sessions_ allowed
The maximum number of sessions allowed at one time as determined by the license.
Metric type: gauge
host

sag_is_max_services
The maximum number of services that have run concurrently on the server excluding services in a package set in the watt.sever.stats.packages.exclude parameter.
Metric type: counter
host

sag_is_max_system_threads
The peak number of system threads used by Microservices Runtime since startup.
Metric type: counter
host

sag_is_number_current_ connections
The number of current connections to the Microservices Runtime where the connection is a session which can be created multiple ways such as through an HTTP connection, a trigger, the scheduler, etc.
Metric type: gauge
host

sag_is_number_​nonservice_errors
The number of errors that were caused by exceptions that are not ServiceExceptions. This is the same value returned by sag_is_number_unknown_errors.
Metric type: counter
host

sag_is_number_​service_errors
The number of service errors since startup, which includes any service that gets an exception of any kind.
Metric type: counter
host

sag_is_number_service_errors_​excluding_internal_svc_​per_minute
The number of service errors in the last minute, which includes any service that gets an exception of any kind but excludes any services in a package set in the watt.sever.stats.packages.exclude server configuration parameter.
Metric type: gauge
host

sag_is_number_​​service_​errors_per_minute
The number of service errors in the last minute.
Metric type: gauge
host

sag_is_number_​service_invokes
The number of successful service invokes and service errors since Microservices Runtime startup. This metric excludes services in a package set in the watt.sever.stats.packages.exclude parameter.
Metric type: counter
host

sag_is_number_sessions_used
The number of sessions used since Microservices Runtime startup.
Metric type: gauge
host

sag_is_number_unknown_errors
The number of errors that were caused by exceptions that are not ServiceExceptions. This is the same value returned by sag_is_number_nonservice_errors.
host

sag_is_peak_number_sessions
The peak number of sessions since Microservices Runtime startup.
Metric type: counter
host

sag_is_peak_service_threads
The peak number of threads used by the server since Microservices Runtime startup.
Metric type: counter
host

sag_is_peak_stateful_sessions
The peak number of stateful sessions since Microservices Runtime startup.
Metric type: counter
host

sag_is_request_duration
The total duration in milliseconds for all service requests over the last interval where the interval length is determined by the value of the watt.server.stats.pollTime server configuration parameter. This metric excludes services in a package set in the watt.sever.stats.packages.exclude parameter.
Metric type: gauge
host

sag_is_server_jvm_thread_count
Number of threads running in the Microservices Runtime JVM.
Metric type: gauge
host
sag_is_server_maxthreads
The maximum number of server threads in the server thread pool.
Metric type: gauge
host

sag_is_server_open_files_count
Total open file descriptors. Returned only for UNIX\Linux operating systems.
JMX MBean/Method: com.sun.management.​​​UnixOperatingSystemMXBean.​​​getMaxFileDescriptorCount
Metric type: gauge
host

sag_is_server_proc_cpu_percent
Percentage of the CPU used for the Microservices Runtime JVM.
JMX MBean/Method: com.sun.management.​OperatingSystemMXBean.​getProcessCpuLoad converted to an integer from 0 to 100.
Metric type: gauge
host

sag_is_server_proc_sys_percent
Percentage of the CPU used by the Operating System.
JMX MBean/Method: com.sun.management.​OperatingSystemMXBean.​getSystemCpuLoad converted to an integer from 0 to 100.
Metric type: gauge
host

sag_is_server_session_licensed_count
Number of active licensed Microservices Runtime sessions. (Administrator sessions are not included in this count.)
Metric type: gauge
host

sag_is_server_​session_stateful_count
Number of active stateful sessions.
Metric type: gauge
host

sag_is_server_​session_stateless_count
Number of active stateless sessions.
Metric type: gauge
host

sag_is_server_startup_Time
The time at which Microservices Runtime started up.
Metric type: counter
host

sag_is_server_sysload_average
Number of Microservices Runtime server threads waiting for CPU resources. Returned only for UNIX\Linux operating systems.
JMX MBean/Method: java.lang.managment​.OperatingSystemMxBean​.getSystemLoadAverage
Metric type: gauge
host
sag_is_server_threads
The number of server threads from the server thread pool currently in use.
Metric type: gauge
host

sag_is_server_total_disk_​mbytes
Total available disk space measured in megabytes on the disk where Microservices Runtime is installed.
JMX MBean/Method: java.io.File.getTotalSpace
Metric type: gauge
host

sag_is_server_total​_memory_mbytes
Total amount of physical memory available on the machine on which Microservices Runtime is installed measured in megabytes.
JMX MBean/Method: java.lang.Runtime.totalMemory
Metric type: gauge
host

sag_is_server_used_disk_mbytes
Used disk space measured in megabytes on the disk where Microservices Runtime is installed.
JMX MBean/Method: The value of the metric is calculated by subtracting the value obtained from java.io.File.getFreeSpace from java.io.File.getTotalSpace.
Metric type: gauge
host

sag_is_server_used_​memory_mbytes
Total amount of physical memory used on the machine on which Microservices Runtime is installed measured in megabytes measured in megabytes.
JMX MBean/Method: The value of the metric is calculated subtracting the value of java.lang.Runtime.freeMemory from java.lang.Runtime.totalMemory.
Metric type: gauge
host

sag_is_service_​completions_per_minute
The number of top-level service completions per minute.
Metric type: gauge
host

sag_is_service_count
The number of services in custom packages loaded on Microservices Runtime. A package is considered a custom package if the package manifest contains system_package=no.
Metric type: gauge
host

sag_is_service_starts_per_ minute
The number of top-level services started each minute.
Metric type: gauge
host

sag_is_service_threads
The total number of threads used for service execution where the threads are obtained from the server thread pool.
Metric type: gauge
host

sag_is_services
The total number of running services currently active excluding services in a package set in the watt.sever.stats.packages.exclude parameter.
Metric type: gauge
host

sag_is_stateful_sessions_limit
The maximum number of stateful sessions.
If watt.server.session.stateful.max is set to 0 or watt.server.session.stateful.enableLimit is set to false, this is the maximum number of sessions as specified in the license.
If watt.server.session.stateful.max is not 0 and watt.server.session.stateful.enableLimit is set to true, then this is the value of watt.server.session.stateful.max.
Metric type: counter
host

sag_is_system_package_count
The number of loaded system packages on Microservices Runtime. A package is considered a system package if the package manifest contains system_package=yes.
Metric type: gauge
host

sag_is_system_threads
The total number of Java system threads which is any thread not obtained from the server thread pool.
Metric type: gauge
host

sag_is_total_http_requests
The total number of HTTP/S requests since Microservices Runtime startup.
This metric excludes requests for services in packages listed in the watt.server.stats.packages.exclude parameter.
Metric type: counter
host

sag_is_total_memory_bytes
The total memory for the Microservices Runtime JVM.
Metric type: counter
host

sag_is_total_request_durations
The total duration, in milliseconds, for all service requests since Microservices Runtime startup measured in milliseconds. This metric excludes services in a package set in the watt.sever.stats.packages.exclude parameter.
Metric type: counter
host

sag_is_used_memory_bytes
The total used memory for the Microservices Runtime JVM.
Metric type: gauge
host