Added creation of WEB_SOCKET_CURRRENT_REQUEST gauge metric
MODIFY
src/monitoring/prometheus/PrometheusMonitoringServer.ts
src/monitoring/prometheus/PrometheusMonitoringServer.ts
@@ -34,6 +34,7 @@ export default class PrometheusMonitoringServer extends MonitoringServer {
this.createGaugeMetric(Constants.WEB_SOCKET_QUEUED_REQUEST, 'The number of web sockets that are queued');
this.createGaugeMetric(Constants.WEB_SOCKET_RUNNING_REQUEST, 'The number of web sockets that are running');
this.createGaugeMetric(Constants.WEB_SOCKET_RUNNING_REQUEST_RESPONSE, 'The number of web sockets request + response that are running');
+ this.createGaugeMetric(Constants.WEB_SOCKET_CURRRENT_REQUEST, 'JSON WS Requests in cache');
this.createGaugeMetric(Constants.MONGODB_CONNECTION_READY, 'The number of connection that are ready');
this.createGaugeMetric(Constants.MONGODB_CONNECTION_CREATED, 'The number of connection created');
this.createGaugeMetric(Constants.MONGODB_CONNECTION_CLOSED, 'The number of connection closed');

Added creation of WEB_SOCKET_CURRRENT_REQUEST gauge metric