chmonitor
Advanced

Custom Name

Set CLICKHOUSE_NAME to give each monitored host a human-readable label in the dashboard host selector dropdown.

Set CLICKHOUSE_NAME to give each ClickHouse host a human-readable label. The label appears in the host selector dropdown in the dashboard header.

Configure

Provide one comma-separated label per host. Position N in CLICKHOUSE_NAME labels host index N, so the number of values must match CLICKHOUSE_HOST.

CLICKHOUSE_HOST=http://ch-1:8123,http://ch-2:8123,http://ch-3:8123
CLICKHOUSE_NAME=Production,Staging,Dev

If CLICKHOUSE_NAME is not set, hosts are labeled by index: Host 0, Host 1, etc.

docker run -d \
  -e CLICKHOUSE_HOST='http://ch-1:8123,http://ch-2:8123' \
  -e CLICKHOUSE_NAME='Production,Staging' \
  -e CLICKHOUSE_USER='default' \
  -e CLICKHOUSE_PASSWORD='' \
  -p 3000:3000 \
  ghcr.io/chmonitor/chmonitor:vX.Y.Z
env:
  - name: CLICKHOUSE_HOST
    value: "http://ch-1:8123,http://ch-2:8123"
  - name: CLICKHOUSE_NAME
    value: "Production,Staging"

On this page