Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .changeset/daily-axis-date-ticks.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/histogram-skip-column-refetch.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/image-apk-upgrade.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/ingestion-key-enforce-before-team.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/login-rate-limit.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/mcp-strict-tool-arguments.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/metric-names-source-query-settings.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/patterns-max-body-chars.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/promql-catalog-tags-table.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/table-sort-aliased-columns.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/webhook-default-user-agent.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/zod-4-package-v3-api.md

This file was deleted.

4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ NEXT_ALL_IN_ONE_IMAGE_NAME_DOCKERHUB=clickhouse/clickstack-all-in-one
ALL_IN_ONE_IMAGE_NAME_DOCKERHUB=hyperdx/hyperdx-all-in-one
NEXT_OTEL_COLLECTOR_IMAGE_NAME_DOCKERHUB=clickhouse/clickstack-otel-collector
OTEL_COLLECTOR_IMAGE_NAME_DOCKERHUB=hyperdx/hyperdx-otel-collector
CODE_VERSION=2.47.0
IMAGE_VERSION_SUB_TAG=.47.0
CODE_VERSION=2.47.1
IMAGE_VERSION_SUB_TAG=.47.1
IMAGE_VERSION=2
IMAGE_NIGHTLY_TAG=2-nightly
IMAGE_LATEST_TAG=latest
Expand Down
85 changes: 85 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,91 @@ PR — keep the `hyperdx-release-notes` comment marker intact when editing so yo
edits survive regeneration. Per-package detail lives in each
`packages/*/CHANGELOG.md`.

## v2.47.1 — 2026-11-24

<!-- hyperdx-release-notes version=2.47.1 inputs=7cad39994d32 -->

**Ingestion key required before a team exists**

This patch closes an authentication gap in the preset ingestion API key added in
v2.47.0. If you set `ENABLE_INGESTION_API_KEY` on a deployment where no team had
been created yet, the collector's OTLP receiver accepted telemetry without any
authentication at all; it now requires the key you configured, team or no team.
Upgrade if you run the app image with that variable set. Failed password logins
are also now limited to 10 per email every two minutes, alert webhooks identify
themselves as `ClickStack-Alerts`, so receivers that blocked the old default
User-Agent will start accepting them, and table charts sort correctly on
formula, group-by and multi-series metric aliases. The image itself picks up the
latest Alpine security fixes and Node 22.23.5.

### ✨ New Features

- **Pattern mining can read just the start of each body**: the MCP tools
`clickstack_event_patterns` and `clickstack_emerging_signals` take a new
`maxBodyChars` argument that truncates each body in the query itself, so long
stack traces and dumps collapse into patterns you can drill into instead of
each one looking unique.

### 🐛 Bug Fixes

- **The preset ingestion key is enforced before a team exists**: with
`ENABLE_INGESTION_API_KEY` set and no team created yet, the app image's OTLP
receiver accepted data without authentication, so anyone who could reach the
endpoint on a fresh deployment could write to it. The receiver now requires the
`INGESTION_API_KEY` you set, so a collector pointed at a brand-new deployment
has to present that key.
- **Failed password logins are rate-limited**: an email address can now make at
most 10 failed password login attempts every two minutes, so a password is no
longer open to being guessed at full speed.
- **Alert webhooks send a ClickStack User-Agent**: generic and incident.io alert
webhooks went out as `User-Agent: undici`, which some receivers' firewalls
reject with a 403. They now send `ClickStack-Alerts/<version>`, and a
User-Agent you set in the webhook's own headers still takes precedence.
- **Table charts sort on formula, group-by and multi-series aliases**: clicking
one of those columns in a table chart did not sort by it, because the aliased
column was not matched to the underlying series. Sorting now follows the column
you clicked.
- **Source query settings apply to metric and facet lookups**: the metric
explorer, and the metric name, attribute and Kubernetes facet lookups behind
it, ran without the query settings configured on the source. They now use
them, so those lists behave like the rest of your queries against that source.
- **Daily and coarser time charts label every tick with its date**: a time chart
bucketed by a day or longer repeated the time — `00:00:00` — on every tick
after the first, leaving you to count buckets to work out which day you were
looking at. Each tick now shows its date, and a daily bucket that doesn't start
at midnight in the display time zone shows the date and the time.
- **Adding or removing a table column no longer reloads the search histogram**:
changing the columns shown in the search results table refetched the histogram
above them, so you waited on a query whose result could not have changed. The
histogram now stays as it is.
- **Describing a PromQL source no longer runs out of memory**: the MCP tool
`clickstack_describe_source`, pointed at a PromQL source over a ClickHouse
TimeSeries table, could exhaust memory on a large table. It now reads metric
names from the tags table with no time window, and lists label names for a
single metric when you pass the new `metricName` argument.
- **MCP tool calls reject unknown arguments**: an argument a tool doesn't define
was silently ignored, so a misspelt argument name left the tool running on its
defaults and quietly answering a different question. Such a call is now
rejected, so the mistake surfaces and can be corrected.

### 📦 Build / Packaging

- **Alpine security fixes in the HyperDX image**: the image now runs
`apk upgrade` as it is built, so it carries the Alpine security fixes — OpenSSL
and zlib among them — released after the Node and ClickHouse base images were
built. Node also moves from 22.23.4 to 22.23.5 in the image and in `.nvmrc`.

<!-- hyperdx-package-list -->

### 📦 Package changelogs

- `@hyperdx/api` 2.47.0 → 2.47.1 — [changelog](https://github.com/ClickHouse/ClickStack/blob/main/packages/api/CHANGELOG.md#2471)
- `@hyperdx/app` 2.47.0 → 2.47.1 — [changelog](https://github.com/ClickHouse/ClickStack/blob/main/packages/app/CHANGELOG.md#2471)
- `@hyperdx/common-utils` 0.36.1 → 0.36.2 — [changelog](https://github.com/ClickHouse/ClickStack/blob/main/packages/common-utils/CHANGELOG.md#0362)
- `@hyperdx/otel-collector` 2.47.0 → 2.47.1 — [changelog](https://github.com/ClickHouse/ClickStack/blob/main/packages/otel-collector/CHANGELOG.md#2471)

<!-- /hyperdx-package-list -->

## v2.47.0 — 2026-11-23

<!-- hyperdx-release-notes version=2.47.0 inputs=ef75e537752a -->
Expand Down
34 changes: 34 additions & 0 deletions packages/api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# @hyperdx/api

## 2.47.1

### Patch Changes

- 5bd07d54b: fix: run `apk upgrade` in the HyperDX image so it picks up Alpine security fixes
(OpenSSL, zlib) released after the Node and ClickHouse base images were built,
and bump Node from 22.23.4 to 22.23.5 in the image and `.nvmrc`.
- c499769a3: fix: require `INGESTION_API_KEY` on the app image before any team exists

With `ENABLE_INGESTION_API_KEY` set and no team created yet, the collector's OTLP
receiver accepted data without authentication. It now requires the preset key.

- e4fe80a6d: fix: limit failed password logins to 10 per email every 2 minutes
- ed8520119: fix(mcp): reject unknown tool arguments instead of silently ignoring them
- 6a7164c9c: feat(mcp): `maxBodyChars` on `clickstack_event_patterns` and
`clickstack_emerging_signals` mines only the start of each body, so long stack
traces and dumps are cut in the query and their patterns can be drilled into
- 3be2ea1ba: fix(mcp): `clickstack_describe_source` on a PromQL source over a ClickHouse TimeSeries table reads metric names from the tags table without a time window, so it no longer runs out of memory on large tables. Label names are listed per metric with the new `metricName` argument.
- 272a46101: fix: send a ClickStack User-Agent on generic alert webhooks

Generic and incident.io alert webhooks sent `User-Agent: undici`, which some
receivers' firewalls block with a 403. They now send
`ClickStack-Alerts/<version>`. A User-Agent set in the webhook's headers still
takes precedence.

- 210f3e2c4: chore: move to the zod 4 package (^4.6.6) while keeping the zod 3 API through
`zod/v3` imports. Schemas and validation behavior are unchanged.
- Updated dependencies [b362d339a]
- Updated dependencies [f36e6788f]
- Updated dependencies [b51ddb9d5]
- Updated dependencies [c3928c77d]
- Updated dependencies [210f3e2c4]
- @hyperdx/common-utils@0.36.2

## 2.47.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperdx/api",
"version": "2.47.0",
"version": "2.47.1",
"license": "MIT",
"private": true,
"engines": {
Expand All @@ -23,7 +23,7 @@
"@clickhouse/clickstack-node": "^1.0.2",
"@clickhouse/client-common": "1.23.0-head.fae5998.1",
"@esm2cjs/p-queue": "^7.3.0",
"@hyperdx/common-utils": "^0.36.1",
"@hyperdx/common-utils": "^0.36.2",
"@hyperdx/passport-local-mongoose": "^9.0.1",
"@modelcontextprotocol/sdk": "^1.32.0",
"@opentelemetry/api": "~1.9.1",
Expand Down
32 changes: 32 additions & 0 deletions packages/app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# @hyperdx/app

## 2.47.1

### Patch Changes

- b362d339a: fix: show the date on every x-axis tick of time charts at daily granularity or
coarser, instead of repeating the time (e.g. `00:00:00`) after the first tick.
When a daily bucket doesn't start at midnight in the display time zone, the tick
shows the date and time.
- f36e6788f: fix: Don't refetch the search histogram when a table column is added or removed
- 5bd07d54b: fix: run `apk upgrade` in the HyperDX image so it picks up Alpine security fixes
(OpenSSL, zlib) released after the Node and ClickHouse base images were built,
and bump Node from 22.23.4 to 22.23.5 in the image and `.nvmrc`.
- e4fe80a6d: fix: limit failed password logins to 10 per email every 2 minutes
- b51ddb9d5: fix: apply source query settings to metric explorer, metric name, attribute, and Kubernetes facet lookups
- c3928c77d: fix: Fix table sorting for formula, group by, and multi-series metric aliases
- 210f3e2c4: chore: move to the zod 4 package (^4.6.6) while keeping the zod 3 API through
`zod/v3` imports. Schemas and validation behavior are unchanged.
- Updated dependencies [b362d339a]
- Updated dependencies [f36e6788f]
- Updated dependencies [5bd07d54b]
- Updated dependencies [c499769a3]
- Updated dependencies [e4fe80a6d]
- Updated dependencies [ed8520119]
- Updated dependencies [b51ddb9d5]
- Updated dependencies [6a7164c9c]
- Updated dependencies [3be2ea1ba]
- Updated dependencies [c3928c77d]
- Updated dependencies [272a46101]
- Updated dependencies [210f3e2c4]
- @hyperdx/common-utils@0.36.2
- @hyperdx/api@2.47.1

## 2.47.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperdx/app",
"version": "2.47.0",
"version": "2.47.1",
"private": true,
"license": "MIT",
"engines": {
Expand Down Expand Up @@ -40,7 +40,7 @@
"@dnd-kit/utilities": "^3.2.2",
"@hookform/resolvers": "patch:@hookform/resolvers@npm%3A3.9.0#~/.yarn/patches/@hookform-resolvers-npm-3.9.0-6238a72f77.patch",
"@hyperdx/api": "workspace:*",
"@hyperdx/common-utils": "^0.36.1",
"@hyperdx/common-utils": "^0.36.2",
"@mantine/core": "^9.0.0",
"@mantine/dates": "^9.0.0",
"@mantine/dropzone": "^9.0.0",
Expand Down
14 changes: 14 additions & 0 deletions packages/common-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @hyperdx/common-utils

## 0.36.2

### Patch Changes

- b362d339a: fix: show the date on every x-axis tick of time charts at daily granularity or
coarser, instead of repeating the time (e.g. `00:00:00`) after the first tick.
When a daily bucket doesn't start at midnight in the display time zone, the tick
shows the date and time.
- f36e6788f: fix: Don't refetch the search histogram when a table column is added or removed
- b51ddb9d5: fix: apply source query settings to metric explorer, metric name, attribute, and Kubernetes facet lookups
- c3928c77d: fix: Fix table sorting for formula, group by, and multi-series metric aliases
- 210f3e2c4: chore: move to the zod 4 package (^4.6.6) while keeping the zod 3 API through
`zod/v3` imports. Schemas and validation behavior are unchanged.

## 0.36.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/common-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hyperdx/common-utils",
"description": "Common utilities for HyperDX application",
"version": "0.36.1",
"version": "0.36.2",
"license": "MIT",
"private": true,
"files": [
Expand Down
2 changes: 2 additions & 0 deletions packages/otel-collector/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @hyperdx/otel-collector

## 2.47.1

## 2.47.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/otel-collector/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hyperdx/otel-collector",
"description": "HyperDX OpenTelemetry Collector configuration and Docker image",
"version": "2.47.0",
"version": "2.47.1",
"license": "MIT",
"private": true
}
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4103,7 +4103,7 @@ __metadata:
"@clickhouse/clickstack-node": "npm:^1.0.2"
"@clickhouse/client-common": "npm:1.23.0-head.fae5998.1"
"@esm2cjs/p-queue": "npm:^7.3.0"
"@hyperdx/common-utils": "npm:^0.36.1"
"@hyperdx/common-utils": "npm:^0.36.2"
"@hyperdx/passport-local-mongoose": "npm:^9.0.1"
"@modelcontextprotocol/sdk": "npm:^1.32.0"
"@opentelemetry/api": "npm:~1.9.1"
Expand Down Expand Up @@ -4199,7 +4199,7 @@ __metadata:
"@dnd-kit/utilities": "npm:^3.2.2"
"@hookform/resolvers": "patch:@hookform/resolvers@npm%3A3.9.0#~/.yarn/patches/@hookform-resolvers-npm-3.9.0-6238a72f77.patch"
"@hyperdx/api": "workspace:*"
"@hyperdx/common-utils": "npm:^0.36.1"
"@hyperdx/common-utils": "npm:^0.36.2"
"@mantine/core": "npm:^9.0.0"
"@mantine/dates": "npm:^9.0.0"
"@mantine/dropzone": "npm:^9.0.0"
Expand Down Expand Up @@ -4346,7 +4346,7 @@ __metadata:
languageName: unknown
linkType: soft

"@hyperdx/common-utils@npm:^0.36.1, @hyperdx/common-utils@workspace:packages/common-utils":
"@hyperdx/common-utils@npm:^0.36.1, @hyperdx/common-utils@npm:^0.36.2, @hyperdx/common-utils@workspace:packages/common-utils":
version: 0.0.0-use.local
resolution: "@hyperdx/common-utils@workspace:packages/common-utils"
dependencies:
Expand Down