Outlier detection of slow upstream service?

How to configure Istio outlier detection only if an HTTP service is slow? The service is working, but just slow to respond.