resetMetrics

Clears metrics and error state from the previous session.

Resets metricsBuffer, edgeMetrics, and errorMessage so a new recording session starts without stale values appearing in the UI.