Connection lost
Trying to reconnect…
Server didn't respond
Recovering…
ClickHouse analytics DB
v0.1.4ClickHouse server + table introspection plus narrow mutators (OPTIMIZE, KILL QUERY, SYSTEM RELOAD CONFIG). Auth via CH_HOST + CH_USER + CH_PASSWORD env vars on the runner host. Uses clickhouse-client with --query to keep arg surface minimal.
Install
emisar pack install
validates the pack and verifies its content hash before copying it into /etc/emisar/packs.
The --hash
below pins the
install to the exact bytes on this page — a tampered copy is rejected. After
install, reload the runner; it re-reads the catalog and advertises every action.
content hash: sha256:4960d1cc8b7c882c8707a5b6896aed94a5e2238bbfcaf82d93f5f957c3b1b2fe
sudo emisar pack install clickhouse \ --hash sha256:4960d1cc8b7c882c8707a5b6896aed94a5e2238bbfcaf82d93f5f957c3b1b2fe \ --dest /etc/emisar/packs # Reload so the runner re-reads the catalog: sudo systemctl reload emisar
Actions 19 total
View on GitHub-
SELECT * FROM system.dictionaries
-
SELECT * FROM system.disks
-
KILL QUERY WHERE query_id = '<id>'
-
SELECT * FROM system.merges
-
SELECT * FROM system.mutations
-
OPTIMIZE TABLE FINAL
-
SELECT system.parts (by table)
-
SELECT * FROM system.processes
-
SYSTEM RELOAD CONFIG
-
SELECT * FROM system.replicas
-
system.query_log slowest queries
-
SYSTEM DROP REPLICA <name>
-
SELECT * FROM system.events
-
SYSTEM FLUSH LOGS
-
SELECT * FROM system.metrics
-
SYSTEM RESTART REPLICA <table>
-
SYSTEM SYNC REPLICA <table>
-
system.tables uncompressed sizes
-
SELECT version, uptime