Metis Documentation

View in Web App

The CLI has limited UI, viewing Query Analysis in our Web App provides a much better UX, richer insights and tools to understand them and fix them.

How it Works

  1. 1.
    Configure the CLI with an API Key.
  2. 2.
    Now, whenever you run query-analysis from the CLI, you will be provided with a link to view the results on our web app.
  3. 3.
    Open the link

1. Configure

Open your projects page and copy your API Key.
Projects Page
Enter API Key
metis-cli set-api-key '<API_KEY>'

2. Run

metis-cli query-analysis "select count (*) from sales.order_lines where quantity > 315"
queryAnalysis("select count (*) from sales.order_lines where quantity > 315")
See the generated link.

3. Open

Web App view of Query Analysis results

You're all Set!