Implementing application and site diagnostics