- Notifications
You must be signed in to change notification settings - Fork9
ClickHouse administration and diagnostics tools
License
NotificationsYou must be signed in to change notification settings
yandex/ch-tools
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
clickhouse-tools is a set of tools for administration and diagnostics ofClickHouse DBMS.
clickhouse-tools consist of following components:
- chadmin - ClickHouse administration tool
- ch-monitoring - ClickHouse monitoring tool
- keeper-monitoring - ClickHouse Keeper / ZooKeeper monitoring tool
All of these tools must be run on the same host as ClickHouse server is running.
Requirements:
- GNU Make version > 3.81
sudo make install-poetry# or to install in user's home directorymake POETRY_HOME=~/opt/poetry install-poetry# lintmake lint# unit testsmake test-unitmake test-unit PYTEST_ARGS="-k test_name"# integration tests (rebuild docker images using a .whl file)make test-integrationmake test-integration BEHAVE_ARGS="-i feature_name"# integration tests (supply a custom ClickHouse version to test against)CLICKHOUSE_VERSION="1.2.3.4" make test-integration# If you want to have containers running on failure, supply a flag:# BEHAVE_ARGS="-D no_stop_on_fail"# For building deb packagesmake prepare-build-debmake build-deb-package
Please note: base images for tests are pulled fromchtools Dockerhub.If you want to build base images locally, run
docker buildx bake -f tests/bake.hcl
If you want to build base images for multiple versions of ClickHouse, run:
CLICKHOUSE_VERSIONS='1.2.3.4, 5.6.7.8, latest' docker buildx bake -f tests/bake.hcl
About
ClickHouse administration and diagnostics tools
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published