public boolean senseScope() {
        if (MetricsType.UNKNOWN.equals(MetricsMetadataQueryService.typeOfMetrics(name))) {
            return false;
        }
        entity.setScope(ValueColumnMetadata.INSTANCE.getScope(name));
        return true;
    }
Sense Scope through metric name.
@return false if not a valid metric name.
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/input/MetricsCondition.java