docs/sources/visualizations/explore/explore-inspector.md
The Query inspector in Grafana Explore gives you detailed statistics regarding your query, which helps you understand and troubleshoot issues with your queries. Query inspector also lets you inspect raw data, export data to a comma-separated values (CSV) file, export log results in TXT format, and view query requests.
To open Query inspector:
The Query inspector pane opens on the bottom of the Explore page, where you see the following tabs:
You can inspect query performance in the Stats tab, which displays statistics that tell you how long your query takes, how many queries you send, the number of rows returned and trace IDs. This information can help you troubleshoot your queries, especially if any of the numbers are unexpectedly high or low.
Statistics display in read-only format.
View raw request and response in the Query tab.
Grafana sends the query to the server and displays the result. You can drill down on specific portions of the query, expand or collapse all of it. Click Copy to clipboard to copy the data to use in other applications.
View data results as JSON and as data frame JSON models in the JSON tab.
View, inspect and download raw query results in the Data tab.
Based on the type of data source (Loki, for example), or when logs are present in the results set, Grafana generates a TXT file of log raw data results in your default browser download location. You can open it in the viewer of your choice.
Based on the data source type (Tempo, for example), Grafana generates a JSON file for trace results in one of these supported formats: Jaeger, Zipkin, or OTLP.