Trace and Log Analysis: A Pattern Reference for Diagnostics and Anomaly Detection