AdvancedQueries History

Query History

1. Excluding monitoring users by default

You can configured the /history-queries page to filter out the monitoring users by default. To do this, using these environment variables:

  • CLICKHOUSE_EXCLUDE_USER_DEFAULT: for example monitoring,healthcheck.

Examples

docker run -it \
    -e CLICKHOUSE_HOST='http://ch-1:8123' \
    -e CLICKHOUSE_NAME='ch-1' \
    -e CLICKHOUSE_USER='monitoring' \
    -e CLICKHOUSE_PASSWORD='' \
    -e CLICKHOUSE_EXCLUDE_USER_DEFAULT='monitoring,healthcheck' \
    --name clickhouse-monitoring \
ghcr.io/duyet/clickhouse-monitoring:main