public static void AddSentMessage(IIdentity identity, IMessage message) { string from = message.GetSenderId(); string to = identity.Id; string fromRouteOutput = message.GetOutput(); string toRouteInput = message.GetInput(); SentMessagesCounter.Increment(1, new[] { from, to, fromRouteOutput, toRouteInput }); }
public static void AddSentMessage(IIdentity identity, IMessage message) { string from = message.GetSenderId(); string to = identity.Id; string fromRouteOutput = message.GetOutput(); string toRouteInput = message.GetInput(); string priority = message.ProcessedPriority.ToString(); SentMessagesCounter.Increment(1, new[] { from, to, fromRouteOutput, toRouteInput, priority, bool.TrueString }); }