Skip to content

docs/clickstack.md: point HyperDX at a smolquery table — the recipe, what works, what does not (T-500) - #356

Merged
chasers merged 1 commit into
t-495-hyperdx-search-corpusfrom
t-500-hyperdx-doc
Sep 20, 2026
Merged

chasers merged 1 commit into
t-495-hyperdx-search-corpusfrom
t-500-hyperdx-doc

Conversation

@chasers

@chasers chasers commented Sep 20, 2026

Copy link
Copy Markdown
Owner

TL;DR: A new doc, docs/clickstack.md: how to point HyperDX at a smolquery table, what works, and what does not.

Tracker: T-500. Plan PL-66. Stacked on #355 (T-495).

Scope

  • ✅ In: HyperDX reading logs.
  • ⚠️ Out for now: ClickStack's collector. It speaks the Native format and runs ClickHouse DDL.
  • ⚠️ Later: traces, sessions, metrics.

What the doc gives

  1. How to run smolquery so a container can reach the edge.
  2. The otel_logs-shaped table to create through the API, with its clustering key.
  3. An NDJSON insert.
  4. A compose file with DEFAULT_CONNECTIONS and DEFAULT_SOURCES.
  5. A "what works" table, and what differs from ClickHouse underneath.

Watch out

Checks

  • ✅ Docs only. The table and insert commands were run against a local node.

🤖 Generated with Claude Code

…what works, what does not (T-500)

Scoped to HyperDX. ClickStack's collector is out for now: it speaks the
Native format and runs ClickHouse DDL, and rows reach smolquery through its
own ingest instead.

The page gives the otel_logs-shaped table to create through the API, with
its clustering key (what system.tables answers as the sorting key HyperDX
orders by), an NDJSON insert, and a compose file with DEFAULT_CONNECTIONS
and DEFAULT_SOURCES. It says why the host must be a name and not a private
IP literal, and why the select list must be plain: a select with "x as y"
makes HyperDX send WITH (expr) AS alias, which the edge does not take yet.

It says at the top how this was checked: from HyperDX's source, as a
fixture corpus, and not yet against a live HyperDX.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@chasers
chasers merged commit 3b90d9b into main Sep 20, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant