public List<ServiceInstance> getServiceInstances(final Duration duration,
                                                     final String serviceId) throws IOException {
        return getMetadataQueryService().listInstances(duration, serviceId);
    }
@since 9.0.0 This query is replaced by {@link MetadataQueryV2}
oap-server/server-query-plugin/query-graphql-plugin/src/main/java/org/apache/skywalking/oap/query/graphql/resolver/MetadataQuery.java