Esempio n. 1
0
 /// <summary>
 /// Logs the bytes processed.
 /// </summary>
 /// <param name="val">The value.</param>
 /// <param name="operationType">Type of the operation.</param>
 public static void LogBytesProcessed(long val, OperationType operationType)
 {
     if (mdmEnabled)
     {
         bytesProcessedMetrics.LogValue(val, operationType.ToString());
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Logs the watcher count processed.
 /// </summary>
 /// <param name="val">The value.</param>
 /// <param name="operationType">Type of the operation.</param>
 public static void LogWatcherCountProcessed(long val, OperationType operationType)
 {
     if (mdmEnabled)
     {
         watcherCountMatrics.LogValue(val, operationType.ToString());
     }
 }
Esempio n. 3
0
 /// <summary>
 /// Logs the duration of the operation.
 /// </summary>
 /// <param name="val">The value.</param>
 /// <param name="operationType">Type of the operation.</param>
 public static void LogOperationDuration(long val, OperationType operationType)
 {
     if (mdmEnabled)
     {
         operationDurationMetrics.LogValue(val, operationType.ToString());
     }
 }