Fix order-dependent Prometheus metrics specs
!22355 (merged) modified a class instance variable, causing the error state to be enabled for all subsequent tests. This commit fixes that by clearing the errors after the tests run.
Closes #196048 (closed)
Edited by Stan Hu