public static Result fail() {
        return new Result(false, false, null, SampleFamily.EMPTY);
    }
fail is a static factory method builds failed result.

@return failed result.
oap-server/analyzer/meter-analyzer/src/main/java/org/apache/skywalking/oap/meter/analyzer/dsl/Result.java