/// <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()); } }
/// <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()); } }
/// <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()); } }