try/except no registro das metricas

IN-386