Commit Graph

8 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
e41e480466 fix(clickhouse): properly strip @types/hyperdx__lucene from yarn.lock
- Use sed to remove all lines referencing the alias from yarn.lock
  (both block headers and inline workspace dependency refs)
- Also strip @types/lucene resolution target (package doesn't exist)
- Remove .yarn/install-state.gz to clear Yarn Berry cached state
- Keep node -e for package.json cleanup (devDeps + resolutions)
2026-04-17 11:42:37 +02:00
CanbiZ (MickLesk)
7ba0de6ef0 fix(clickhouse): also strip @types/hyperdx__lucene from yarn.lock
Removing from packages/app/package.json devDependencies alone is not
enough — Yarn Berry still resolves the alias from yarn.lock entries.
sed removes all yarn.lock lines referencing the broken package.
2026-04-17 10:06:14 +02:00
CanbiZ (MickLesk)
129b041f9d fix(clickhouse): remove broken @types/hyperdx__lucene devDep before yarn install
v1.10.1 packages/app/package.json contains '@types/hyperdx__lucene': 'npm:@types/lucene'
but @types/lucene does not exist on npm (404), causing yarn install --immutable to fail.
Remove the devDependency via node patch before install and drop --immutable flag.
2026-04-17 09:12:29 +02:00
CanbiZ (MickLesk)
3aebeb8c8c minor fixes 2026-04-17 07:44:01 +02:00
CanbiZ (MickLesk)
1a781eded7 minor fixes overall 2026-04-17 07:21:03 +02:00
CanbiZ (MickLesk)
443481f7e6 Update clickhouse-install.sh 2026-04-15 14:56:58 +02:00
CanbiZ (MickLesk)
896fdc43db Add optional ClickStack observability stack
Introduce an optional ClickStack observability install (HyperDX UI + OTel Collector + MongoDB). Adds a Whiptail prompt to enable ClickStack and adjusts default resource suggestions when selected. Updates ct/clickhouse.sh to include observability tag, author, update logic to auto-update HyperDX and the OTel Collector, and prints appropriate access URLs. Extends install/clickhouse-install.sh to install dependencies, initialize ClickHouse schemas for logs/traces/sessions, deploy the OTel Collector with a ClickHouse exporter, clone/build HyperDX, create systemd services (clickstack-otel, clickstack-api, clickstack-app), and enable them. Updates json/clickhouse.json to include an informational note about the optional ClickStack requirements and usage.
2026-04-14 21:11:14 +02:00
CanbiZ (MickLesk)
28a192440e Add ClickHouse CT template and installer
Introduce ClickHouse support by adding a container template (ct/clickhouse.sh), an installer script (install/clickhouse-install.sh) and app metadata (json/clickhouse.json). The installer configures ClickHouse to listen on 0.0.0.0, restarts the service, and performs OS update, networking checks, MOTD/customization and cleanup. Metadata declares default resources (2 CPU, 4GB RAM, 10GB disk), interface port 8123, documentation/website links, and a warning about the default user having no password.
2026-04-14 20:48:53 +02:00