Add basic diagnostics endpoint