Add missing metrics

This commit is contained in:
yflory 2024-07-17 09:55:15 +02:00
parent a5aed63a25
commit 37f648b664

View file

@ -35,6 +35,8 @@ var isUnauthenticateMessage = function (msg) {
var handleUnauthenticatedMessage = function (Env, msg, respond, Server, netfluxId) {
Env.Log.silly('LOG_RPC', msg[0]);
Monitoring.increment(`rpc_${msg[0]}`);
var method = UNAUTHENTICATED_CALLS[msg[0]];
method(Env, msg[1], function (err, value) {
if (err) {