Server status endpoint - Platform - BlueCat Gateway - 18.2.1

Gateway Administration Guide

BlueCat Gateway

This endpoint allows you to get the basic application statistics that can be used for monitoring or load balancing.

The response returns HTTP code 200 with statistics that includes CPU load, memory usage, resource usage score, aggregated access counts, and total traffic since the server was started. Below is an example of values returned:

       "cpu_load": 0.0553746,
       "memory_used": 199839744,
       "total_accesses": 79,
       "total_traffic": 116736,
       "resource_usage_score": 0.24
 "current_time": 1513807211
The Gateway server will crash if the resource_usage_score reaches 1, so BlueCat recommends that the resource_usage_score be kept below 0.50. You can keep the resource_usage_score below 0.50 by redirecting new requests to a different Gateway instance.
Note: No authentication is required.