Grafana Rows and Layout

A dashboard with twenty panels thrown onto the page confuses everyone. Clear sections guide the eye from the big picture down to the details. Rows and layout tools give you that structure without any coding.

The Newspaper Analogy

A newspaper puts the biggest story on top, groups related stories into sections, and keeps small notices at the bottom. Readers scan the headlines and dive into whatever interests them. A well-planned dashboard works the same way. Summary numbers sit at the top, section headers divide the page, and deep charts wait below.

The Grid System

Grafana divides the dashboard width into 24 equal columns. Every panel snaps to this grid. Width counts in columns, and height counts in small row units.

|<--------------------- 24 columns ---------------------->|
+---------------------------------------------------------+
|  Panel width 24  (full width)                           |
+---------------------------------------------------------+
|  Panel width 12            |  Panel width 12            |
+----------------------------+----------------------------+
|  Width 8        |  Width 8        |  Width 8            |
+-----------------+-----------------+---------------------+
|  Width 6   |  Width 6   |  Width 6   |  Width 6         |
+------------+------------+------------+------------------+

Pick widths that divide 24 evenly: 24, 12, 8, 6, 4. Panels line up cleanly and the page looks tidy.

Move and Resize Panels

  • Drag the panel title bar to move a panel.
  • Drag the bottom-right corner of a panel to resize it.
  • Panels push neighbours out of the way and settle into the nearest free spot.
  • Hold the panel menu and choose More and pick Duplicate to copy a panel with all its settings.

Save the dashboard after you finish arranging, or Grafana discards the new positions.

Rows

A row is a full-width header bar that groups the panels below it. Each row has a title and a small arrow that collapses or expands the section.

v Overview
  [ Uptime ] [ Requests ] [ Errors ] [ Latency ]

v Web Servers
  [ CPU per server        ] [ Memory per server    ]

> Database          (collapsed, panels hidden)

> Network           (collapsed, panels hidden)

Add a Row

Open the dashboard in edit mode, choose Add, and select Row. Click the gear icon on the new row to rename it. Drag panels beneath the row header to place them in that section.

Why Collapsed Rows Help Speed

Grafana does not run the queries for panels inside a collapsed row. A dashboard with many collapsed sections loads fast and sends fewer requests to your data sources. Keep rarely used detail panels collapsed by default.

Repeating Rows and Panels

Repeating saves you from building the same panel again and again. Connect a variable to a row or a panel, and Grafana creates one copy for each selected value.

Variable: server = [web-1, web-2, web-3]

Repeat row by "server"

v web-1
  [ CPU ] [ Memory ]
v web-2
  [ CPU ] [ Memory ]
v web-3
  [ CPU ] [ Memory ]

Open the panel or row settings, find Repeat options, and pick the variable. The variable must allow multiple values or the All option. Add a server tomorrow and a new section appears with no edits.

Design a Layout That Reads Well

Place the Key Numbers on Top

Viewers read from the top left. Put stat panels with the most important numbers there, such as uptime, error rate, and current load.

Move From Summary to Detail

Order rows from general to specific. Overview comes first, service detail follows, and infrastructure detail sits at the bottom.

Keep Related Panels Close

Place a request rate panel beside its error rate panel. Readers compare them with one glance.

Limit the Count

Aim for twelve to twenty panels per dashboard. A longer page deserves a split into two dashboards linked together.

Link Dashboards Together

Dashboard links turn many small dashboards into a connected system. Open Settings, choose Links, and add a link to another dashboard or to a web page. Teams often create a top-level overview that links to detail dashboards for each service.

Quick Checklist

GoalTool
Align panels neatly24-column grid with even widths
Group related panelsRows
Speed up loadingCollapsed rows
Avoid copy and pasteRepeat by variable
Navigate between pagesDashboard links