private void RaiseMetricEtwEvent(ExecutionStage executionStage) { var timeSpan = (ulong)(DateTime.UtcNow - startTime).TotalMilliseconds; var executionCount = totalExecutionCount; WriteFunctionsMetricEvent(executionId, timeSpan, executionCount, executionStage.ToString()); }