Add missing metrics
This commit is contained in:
parent
a5aed63a25
commit
37f648b664
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue