roq-clickhouse#
Links#
Purpose#
Monitor event-logs streamed to a filesystem
Upload history to a Clickhouse timeseries database.
Conda#
$ mamba install \
--channel https://roq-trading.com/conda/stable \
roq-clickhouse
$ roq-clickhouse \
--name "clickhouse" \
--service_listen_address "$TCP_LISTEN_PORT" \
--event_log_dir "$EVENT_LOG_DIR" \
--flagfile "$FLAG_FILE"
Flags#
$ roq-clickhouse --help
|
One or more event-log directories |
|
One or more exclude regex patterns |
|
One or more include regex patterns |
|
ClickHouse URI, e.g. tcp://localhost:8123 |
|
Username (optional) |
|
Password (optional) |
|
Time-to-live (in days) (optional) |
|
Print the basic DDL script (useful for manually creating a database). |
Environments#
# flagfile
--uri=http://localhost:8123
--database_name=roq
--create_database=True
--retention_policy_time_to_live_days=2