Grafana / Basic: sources, fields, and interpretation / Lesson 7
Inspecting panel data and query context
Follow a synthetic query result through panel inspection and identify where expected data disappears.
On this page
Lesson goals
- Capture the query context and inspect returned fields.
- Distinguish source results, transformations and display options.
Start with a specific observation
A panel that appears empty can reflect an empty source query, a time or variable selection, a transformation or a display configuration. Capture the exact dashboard, panel, source, absolute time range and selected variables before changing anything. The panel inspector offers views of data and query information where supported; available tabs and behavior depend on the deployed Grafana version and visualization.
Read a synthetic source row
This JSON represents one hypothetical returned row for checkout at a particular UTC time. It is not a Grafana API response or an executed query. Verify the field names, types, labels and timestamps in the actual returned data, using only authorized and sanitized evidence. A row outside the selected time range or belonging to a different environment does not answer the panel’s intended question.
{"time":"2026-11-05T12:00:00Z","service":"checkout","requests":12}
The fixture supplies a timestamp, service and numeric count without contacting a data source.
Trace a filter boundary
The second fixture represents a filter for search applied to the checkout row. One input row becomes zero matching rows, so the empty result follows from the chosen filter. Inspect transformations in order and compare their inputs and outputs; the inspector’s data view can include transformations, while field display options may have separate behavior. Confirm the semantics in the deployed version rather than assuming every view shows untouched source data.
{"query_rows":1,"after_filter_rows":0,"selected_service":"search"}
The selected service differs from the row’s service, so this illustrative filter yields no matching rows.
Check the final presentation
If the expected field survives transformations, inspect its type, unit, reducer, overrides and visualization settings. A null value, numeric zero and missing row have different meanings and can appear deceptively similar. Use a small known fixture to compare the final displayed value with the underlying field. Preserve the time range and query context with any screenshot so another reviewer can reproduce the observation.
Verify a bounded correction
In a disposable dashboard, select checkout and confirm the expected row and panel value appear, then select search and confirm the documented empty outcome. Test a genuine zero and a null separately. Compare query and transformation evidence with the final display before applying a reviewed correction to a shared dashboard. Never broaden data-source access solely to make a panel look populated.
Common errors and fixes
An empty panel is blamed on the data source without inspection.
- Why it happens
- The selected variable or transformation was not checked.
- How to fix it
- Trace the query result and each transformation in context.
- Prevent it next time
- Record range and variable values with incidents.
A zero is interpreted as missing data.
- Why it happens
- Display appearance replaced field-level evidence.
- How to fix it
- Inspect the returned value and type.
- Prevent it next time
- Test zero, null and absent rows separately.
A screenshot is used without its time range.
- Why it happens
- The investigation omitted query context.
- How to fix it
- Reproduce the observation with the original range and source.
- Prevent it next time
- Retain sanitized query and range evidence.
2 practice exercises
1. The source returns the checkout fixture but the panel filters for search. Why is the result empty?
Show worked solution
The only row does not match the selected service. Inspect the actual filter and variable value before changing the data source; choose checkout only if that is the intended resource.
2. The panel shows zero. Does that prove the source returned a numeric zero?
Show worked solution
No. Inspect the data and display configuration to distinguish a real zero from a null, missing row or mapping. Verify the query range and transformation path before drawing the business conclusion.
Key takeaways
- Keep source, time range and variable context with panel evidence.
- Inspect data, transformations and display rules as separate boundaries.