```release-note:bug metrics: Protect emitMetrics from panicking during post-seal ```