chmonitor
Features

Dashboard

Build and save a custom monitoring view by combining any built-in charts on one canvas, stored in the browser.

The Dashboard is a chart builder: pick charts from the built-in library, arrange them on a canvas, and the layout is saved to your browser for next time.

Routes/dashboard
Feature iddashboard
Default accesspublic
Requires authNo (set CHM_FEATURE_DASHBOARD_ACCESS=authenticated to gate)
System tablesDepends on the charts added; each chart queries its own system tables (see Overview, Queries, etc.)
ClickHouse grantsSELECT on whichever system tables the chosen charts read

What it does

You pick charts from the built-in library and arrange them on a canvas. The result is saved to the browser and reloaded on the next visit. Use it to:

  • Combine query-rate, memory, merge count, and replication lag on one screen for an at-a-glance SRE view.
  • Create host-specific dashboards for different ClickHouse clusters.
  • Share a layout with teammates by exporting the dashboard config.

Each chart on the dashboard is the same chart used on other feature pages. It fetches data from the same API endpoints and respects the same hostId query parameter, so the dashboard works with the host selector.

PageRouteWhat it showsSystem tables
Dashboard/dashboardUser-composed chart grid; chart picker; saved layoutDepends on charts selected

Using it

Open the dashboard

Navigate to /dashboard. On first visit the canvas is empty.

Add charts

Open the chart picker and add charts from the built-in library. Each chart reads from the same endpoints as its feature page.

Arrange and save

Position the charts into a grid. The layout is written to the browser's localStorage and reloaded on your next visit.

Layout is stored in the browser

  • Layout storage — the dashboard layout is saved to localStorage in the browser. Clearing browser storage removes the saved layout. There is no server-side layout persistence in the current version.
  • Per-host layouts — layouts are not differentiated per host. If you switch the host selector, the same chart grid is shown but each chart fetches data from the newly selected host.
  • Chart permissions — if a chart reads a system table the connected ClickHouse user cannot access, that chart shows an error while the rest of the dashboard continues to load.
  • System table availability — optional system tables (e.g. system.part_log, system.query_metric_log) must be enabled in the ClickHouse server config for the corresponding charts to show data.

Permissions & access

CHM_FEATURE_DASHBOARD_ACCESS=authenticated

# Disable entirely
CHM_FEATURE_DASHBOARD_ENABLED=false
# or
CHM_DISABLED_FEATURES=dashboard
# CHM_CONFIG_FILE (TOML)
[features.dashboard]
access = "authenticated"

When disabled, /dashboard is removed from the nav and shows a disabled screen on direct visit.

There is no feature-specific server configuration. The dashboard layout is stored in the browser's localStorage; no server-side persistence is required. The global query settings still apply to every chart on the dashboard:

CLICKHOUSE_MAX_EXECUTION_TIME=60

On this page