Commit graph

84 commits

Author SHA1 Message Date
github-actions[bot]
f086842f3c
Release HyperDX (#2097)
Some checks are pending
Knip - Unused Code Analysis / knip (push) Waiting to run
Main / lint (push) Waiting to run
Main / unit (push) Waiting to run
Main / integration (push) Waiting to run
Main / otel-unit-test (push) Waiting to run
Main / otel-smoke-test (push) Waiting to run
Main / e2e-tests (push) Waiting to run
Main / End-to-End Tests (push) Blocked by required conditions
Main / ClickHouse Bundle Build (push) Waiting to run
Push Downstream / push-downstream (push) Waiting to run
Release / Build OTel Collector (arm64) (push) Blocked by required conditions
Release / Check Changesets (push) Waiting to run
Release / Check if version exists (push) Blocked by required conditions
Release / Build OTel Collector (amd64) (push) Blocked by required conditions
Release / Publish OTel Collector Manifest (push) Blocked by required conditions
Release / Build App (amd64) (push) Blocked by required conditions
Release / Build App (arm64) (push) Blocked by required conditions
Release / Publish App Manifest (push) Blocked by required conditions
Release / Build Local (amd64) (push) Blocked by required conditions
Release / Build Local (arm64) (push) Blocked by required conditions
Release / Publish Local Manifest (push) Blocked by required conditions
Release / Build All-in-One (amd64) (push) Blocked by required conditions
Release / Build All-in-One (arm64) (push) Blocked by required conditions
Release / Publish All-in-One Manifest (push) Blocked by required conditions
Release / Release CLI Binaries (push) Blocked by required conditions
Release / Notify Helm-Charts Downstream (push) Blocked by required conditions
Release / Notify CH Downstream (push) Blocked by required conditions
Release / notify_clickhouse_clickstack (push) Blocked by required conditions
Release / OpenTelemetry Export Trace (push) Blocked by required conditions
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-20 00:00:40 -07:00
Warren Lee
28f374ef12
[HDX-3929] Migrate OTel Collector build to use OCB (OpenTelemetry Collector Builder) (#2109) 2026-04-14 12:04:20 -07:00
github-actions[bot]
bfb455d90a
Release HyperDX (#2094)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-10 11:08:49 -07:00
github-actions[bot]
edb55b4bca
Release HyperDX (#2060)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-09 17:33:14 -07:00
github-actions[bot]
8125d249d9
Release HyperDX (#2009)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-03 15:17:53 -07:00
Warren Lee
dea1b669e6
Fix dev env port resolution and improve multi-worktree support (#2025)
## Summary

- Fix dev environment port isolation so OTel collector, MongoDB, and ClickHouse resolve to the correct worktree-specific ports
- Add slot-specific session cookies so multiple worktrees on localhost don't interfere with each other's login sessions
- Share NX build cache across worktrees for faster builds
- Add worktrunk project config for automated worktree lifecycle management

## Changes

### Port resolution fix

**Root `.env`**: Replace self-referential `HDX_DEV_*` vars (e.g. `HDX_DEV_OTEL_HTTP_PORT=${HDX_DEV_OTEL_HTTP_PORT:-4318}`) with plain default values. The `${VAR:-default}` syntax caused `dotenv-expand` infinite recursion, preventing `dev-env.sh` port overrides from taking effect.

**`packages/api/.env.development`**: Remove redundant self-referential port declarations and `:-default` fallbacks from `${HDX_DEV_*}` references. Ports now come exclusively from `dev-env.sh` exports or root `.env` defaults.

**`packages/app/.env.development`**: Set `HYPERDX_API_KEY` to `super-secure-ingestion-api-key` (matching the API/collector) instead of a placeholder. Remove self-referential port declarations.

**`packages/app/src/config.ts`**: Add `process.env.OTEL_EXPORTER_OTLP_ENDPOINT` as fallback for `HDX_COLLECTOR_URL` so the browser OTel SDK picks up the correct collector endpoint.

### Session cookie isolation

**`packages/api/src/api-app.ts`**: Use `connect.sid.<slot>` as the session cookie name in dev mode so multiple worktrees on `localhost` maintain independent sessions. Guarded behind `config.IS_DEV && process.env.HDX_DEV_SLOT` — production uses the default `connect.sid`.

### Shared NX build cache

**`scripts/dev-env.sh`**: Set `NX_CACHE_DIRECTORY=~/.config/hyperdx/nx-cache` so all worktrees share a single content-hash-based build cache. Unchanged packages get cache hits regardless of worktree; changed packages rebuild correctly.

### Worktrunk project config

**`.config/wt.toml`**: New project config for [worktrunk](https://worktrunk.dev) (`wt`) worktree lifecycle hooks:
- `pre-start`: Symlink `node_modules/` from primary worktree (instant, no copy)
- `post-start`: Copy `.env.local` from primary worktree
- `post-remove`: Tear down Docker stacks (`dev-down`, `dev-int-down`, `dev-e2e-down`) for the removed worktree's slot
2026-04-01 20:53:09 +00:00
Warren Lee
6e8ddd3736
feat: isolate dev environment for multi-agent worktree support (#1994)
## Summary
- Isolate dev, E2E, and integration test environments so multiple git worktrees can run all three simultaneously without port conflicts
- Each worktree gets a deterministic slot (0-99) with unique port ranges: dev (30100-31199), E2E (20320-21399), CI integration (14320-40098)
- Dev portal dashboard (http://localhost:9900) auto-discovers all running stacks, streams logs, and provides a History tab for past run logs

## Port Isolation

| Environment | Port Range | Project Name |
|---|---|---|
| Dev stack | 30100-31199 | `hdx-dev-<slot>` |
| E2E tests | 20320-21399 | `e2e-<slot>` |
| CI integration | 14320-40098 | `int-<slot>` |

All three can run simultaneously from the same worktree with zero port conflicts.

## Dev Portal Features

**Live tab:**
- Auto-discovers dev, E2E, and integration Docker containers + local services (API, App)
- Groups all environments for the same worktree into a single card
- SSE log streaming with ANSI color rendering, capped at 5000 lines
- Auto-starts in background from `make dev`, `make dev-e2e`, `make dev-int`

**History tab:**
- Logs archived to `~/.config/hyperdx/dev-slots/<slot>/history/` on exit (instead of deleted)
- Each archived run includes `meta.json` with worktree/branch metadata
- Grouped by worktree with collapsible cards, search by worktree/branch
- View any past log file in the same log panel, delete individual runs or clear all
- Custom dark-themed confirm modal (no native browser dialogs)

## What Changed

- **`scripts/dev-env.sh`** — Slot-based port assignments, portal auto-start, log archival on exit
- **`scripts/test-e2e.sh`** — E2E port range (20320-21399), log capture via `tee`, portal auto-start, log archival
- **`scripts/ensure-dev-portal.sh`** — Shared singleton portal launcher (works sourced or executed)
- **`scripts/dev-portal/server.js`** — Discovery for dev/E2E/CI containers, history API (list/read/delete), local service port probing
- **`scripts/dev-portal/index.html`** — Live/History tabs, worktree-grouped cards, search, collapse/expand, custom confirm modal, ANSI color log rendering
- **`docker-compose.dev.yml`** — Parameterized ports/volumes/project name with `hdx.dev.*` labels
- **`packages/app/tests/e2e/docker-compose.yml`** — Updated to new E2E port defaults
- **`Makefile`** — `dev-int`/`dev-e2e` targets with log capture + portal auto-start; `dev-portal-stop`; `dev-clean` stops everything + wipes slot data
- **`.env` files** — Ports use `${VAR:-default}` syntax across dev, E2E, and CI environments
- **`agent_docs/development.md`** — Full documentation for isolation, port tables, E2E/CI port ranges

## How to Use

```bash
# Start dev stack (auto-starts portal)
make dev

# Run E2E tests (auto-starts portal, separate ports)
make dev-e2e FILE=navigation

# Run integration tests (auto-starts portal, separate ports)
make dev-int FILE=alerts

# All three can run simultaneously from the same worktree
# Portal at http://localhost:9900 shows everything

# Stop portal
make dev-portal-stop

# Clean up everything (all stacks + portal + history)
make dev-clean
```

## Dev Portal

<img width="1692" height="944" alt="image" src="https://github.com/user-attachments/assets/6ed388a3-43bc-4552-aa8d-688077b79fb7" />

<img width="1689" height="935" alt="image" src="https://github.com/user-attachments/assets/8677a138-0a40-4746-93ed-3b355c8bd45e" />

## Test Plan
- [x] Run `make dev` — verify services start with slot-assigned ports
- [x] Run `make dev` in a second worktree — verify different ports, no conflicts
- [x] Run `make dev-e2e` and `make dev-int` simultaneously — no port conflicts
- [x] Open http://localhost:9900 — verify all stacks grouped by worktree
- [x] Click a service to view logs — verify ANSI colors render correctly
- [x] Stop a stack — verify logs archived to History tab with correct worktree
- [x] History tab — search, collapse/expand, view archived logs, delete
- [x] `make dev-clean` — stops everything, wipes slot data and history
2026-03-31 18:24:24 +00:00
github-actions[bot]
af86da601e
Release HyperDX (#1955)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-27 13:26:45 -07:00
github-actions[bot]
5d2ebc46ee
Release HyperDX (#1884)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-20 14:22:09 -07:00
github-actions[bot]
5f105bb1b5
Release HyperDX (#1832)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-10 18:14:11 -07:00
github-actions[bot]
4a89e1f616
Release HyperDX (#1790)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-27 08:38:01 -08:00
github-actions[bot]
9488421ac6
Release HyperDX (#1777)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-24 06:21:31 +01:00
github-actions[bot]
d1288cf67b
Release HyperDX (#1752)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-21 07:08:56 +01:00
github-actions[bot]
7679b80f13
Release HyperDX (#1718)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-18 14:06:08 -08:00
github-actions[bot]
a33efbc4b5
Release HyperDX (#1701)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-09 15:14:05 -08:00
github-actions[bot]
00703bc121
Release HyperDX (#1696)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-04 12:30:19 -08:00
github-actions[bot]
a8457e2be9
Release HyperDX (#1688)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-04 05:21:21 +01:00
github-actions[bot]
d78df68e87
Release HyperDX (#1656)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-02 07:43:34 -08:00
github-actions[bot]
866de771b4
Release HyperDX (#1592)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-23 15:55:50 -08:00
github-actions[bot]
547e2bfa21
Release HyperDX (#1542)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-10 22:19:00 +01:00
github-actions[bot]
9037dae0ac
Release HyperDX (#1531)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-30 23:19:50 +01:00
github-actions[bot]
81d48e410a
Release HyperDX (#1455)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-29 08:36:23 -08:00
github-actions[bot]
e46ec835ee
Release HyperDX (#1381)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-08 16:58:57 +01:00
Warren
540309dcf9
chore: pull otel collector from the clickstack repo (#1412)
Ref: HDX-2918
2025-11-26 15:18:29 +00:00
github-actions[bot]
d322cd967d
Release HyperDX (#1325)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-19 04:24:41 +01:00
Warren
3f29e33852
chore: push local, aio, collector images to clickhouse/clickstack-xxx (#1376)
will migrate to `clickhouse/clickstack-xxx` repos in next PR
2025-11-18 17:17:52 +00:00
github-actions[bot]
f98193852c
Release HyperDX (#1289)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-30 11:13:50 +01:00
github-actions[bot]
0325416235
Release HyperDX (#1224)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-22 16:13:54 +02:00
Nguyen Dat
b806116d73
feat: add subpath config (#1236)
Co-authored-by: Warren <5959690+wrn14897@users.noreply.github.com>
2025-10-17 14:43:58 -07:00
github-actions[bot]
fb1b035630
Release HyperDX (#1197)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-29 16:05:02 -07:00
github-actions[bot]
a9715350ee
Release HyperDX (#1170)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-20 21:03:57 -07:00
github-actions[bot]
6d1a123322
Release HyperDX (#1149)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-12 13:43:16 -07:00
github-actions[bot]
d298874a78
Release HyperDX (#1106)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-08 08:14:58 -07:00
github-actions[bot]
1e1baa4205
Release HyperDX (#1090)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-25 00:00:43 -07:00
github-actions[bot]
6d30caf023
Release HyperDX (#1082)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-19 10:15:56 -07:00
github-actions[bot]
adb05ac723
Release HyperDX (#1066)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-18 14:54:21 -07:00
github-actions[bot]
345ff7e26f
Release HyperDX (#1042)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-08 14:07:19 -07:00
github-actions[bot]
229b511f64
Release HyperDX (#1033)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-29 12:07:57 -07:00
github-actions[bot]
8da7042ae0
Release HyperDX (#1013)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-28 01:20:14 -07:00
github-actions[bot]
c8729b8479
Release HyperDX (#1001)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-21 09:22:05 -07:00
github-actions[bot]
8bbc5f4398
Release HyperDX (#979)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-12 11:11:32 -07:00
github-actions[bot]
7a14dea07a
Release HyperDX (#970)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-06 23:14:43 -07:00
github-actions[bot]
26e5bd7df7
Release HyperDX (#946)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-27 13:28:17 -07:00
github-actions[bot]
326e52ea04
Release HyperDX (#917)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-24 14:26:00 -07:00
github-actions[bot]
0fb06eeb0d
Release HyperDX (#888)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.


# Releases
## @hyperdx/api@2.0.1

### Patch Changes

-   ab3b5cb: perf: merge api + app packages to dedupe node_modules
-   ab387e1: fix: missing types in app build
-   d1dc2ec: Bumped mongodb driver support to allow for AWS IAM authentication. This drops support for MongoDB 3.6.
-   43edac8: chore: bump @hyperdx/node-opentelemetry to v0.8.2
-   fa11fbb: fix: usage stats missing cluster id
-   Updated dependencies [ab3b5cb]
-   Updated dependencies [ab387e1]
-   Updated dependencies [fce5ee5]
    -   @hyperdx/common-utils@0.2.1

## @hyperdx/app@2.0.1

### Patch Changes

-   ab3b5cb: perf: merge api + app packages to dedupe node_modules
-   ab387e1: fix: missing types in app build
-   fce5ee5: feat: add load more to features and improve querying
-   dfdb2d7: Better loading state for events patterns table
-   3eeb530: fix: date range undefined error causing issue loading keyvals for autocomplete
-   8874648: fix: Pollyfill crypto.randomUUID
-   43edac8: chore: bump @hyperdx/node-opentelemetry to v0.8.2
-   Updated dependencies [ab3b5cb]
-   Updated dependencies [ab387e1]
-   Updated dependencies [fce5ee5]
    -   @hyperdx/common-utils@0.2.1

## @hyperdx/common-utils@0.2.1

### Patch Changes

-   ab3b5cb: perf: merge api + app packages to dedupe node_modules
-   ab387e1: fix: missing types in app build
-   fce5ee5: feat: add load more to features and improve querying


Co-authored-by: Warren <5959690+wrn14897@users.noreply.github.com>
2025-06-06 00:15:20 +00:00
Warren
81f0090438
fix: allow sending in-app telemetry back to hdx (#875)
like v1, users should be able to specify `HYPERDX_API_KEY` to export in-app telemetry to hyperdx itself.
running command like
```
HYPERDX_API_KEY=XXX docker compose up -d
```
2025-05-30 21:27:21 +00:00
github-actions[bot]
c26ee9164a
Release HyperDX (#874)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to v2, this PR will be updated.


# Releases
## @hyperdx/app@2.0.0

### Major Changes

-   3fb3169: bumps to v2 beta

### Minor Changes

-   759da7a: Support multiple OTEL metric types in source configuration setup.
-   9579251: Stores the collapse vs expand status of the side navigation in local storage so it's carried across browser windows/sessions.
-   57a6bc3: feat: BETA metrics support (sum + gauge)

### Patch Changes

-   56e39dc: 36c3edc fix: remove several source change forms throughout the log drawer
-   c60b975: chore: bump node to v22.16.0
-   ab617c1: feat: support multiseries metrics chart
-   7de8916: Removes trailing slash for connection urls
-   3be7f4d: fix: input does not overlap with language select button anymore
-   d176b54: fix: chartpage querying too on every keystroke after initial query
-   459267a: feat: introduce session table model form
-   fe8ed22: fix: color display on search page for traces
-   b3f3151: Allow to create Slack Webhooks from Team Settings page
-   2e350e2: feat: implement logs > metrics correlation flow + introduce convertV1ChartConfigToV2
-   321e24f: fix: alerting time range filtering bug
-   092a292: fix: autocomplete for key-values complete for v2 lucene
-   a6fd5e3: feat: introduce k8s preset dashboard
-   2f626e1: fix: metric name filtering for some metadata
-   cfdd523: feat: clickhouse queries are by default conducted through the clickhouse library via POST request. localMode still uses GET for CORS purposes
-   6dc6989: feat: Automatically use last used source when loading search page
-   a9dfa14: Added support to CTE rendering where you can now specify a CTE using a full chart config object instance. This CTE capability is then used to avoid the URI too long error for delta event queries.
-   fa7875c: feat: add summary and exponential histogram metrics to the source form and database storage
-   5a10ae1: fix: delete huge z-value for tooltip
-   f5e9a07: chore: bump node version to v22
-   b16c8e1: feat: compute charts ratio
-   6864836: fix: don't show ellipses on search when query is in-flight
-   86465a2: fix: map CLICKHOUSE_SERVER_ENDPOINT to otelcol ch exporter 'endpoint' field
-   08009ac: feat: add saved filters for searches
-   92a4800: feat: move rrweb event fetching to the client instead of an api route
-   b99236d: fix: autocomplete options for dashboard page
-   43a9ca1: adopt clickhouse-js for all client side queries
-   b690db8: Introduce event panel overview tab
-   7f0b397: feat: queryChartConfig method + events chart ratio
-   5db2767: Fixed CI linting and UI release task.
-   000458d: chore: GA v2
-   84a9119: fix: Session replay intermittently showing "No replay available for this session"
-   4514f2c: Remove connection health hook - too noisy
-   8d534da: fixed ui state on session panel to be inline with ui
-   931d738: fix: bugs with showing non otel spans (ex. clickhouse opentelemetry span logs)
-   2580ddd: chore: bump next to v13.5.10
-   db761ba: fix: remove originalWhere tag from view. not used anyways
-   184402d: fix: use quote for aliases for sql compatibility
-   5044083: Session Replay tab for traces is disabled unless the source is configured with a sessionId
-   8c95b9e: Add search history
-   a762203: fix: metadata getAllKeyValues query key scoped to table now
-   cd0e4fd: fix: correct handling of gauge metrics in renderChartConfig
-   b4b5f6b: style: remove unused routes/components + clickhouse utils (api)
-   1211386: add severitytext coloring to event patterns
-   6dafb87: fix: View Events not shown for multiple series; grabs where clause when single series
-   e7262d1: feat: introduce all-one-one (auth vs noauth) multi-stage build
-   decd622: fix: k8s dashboard uptime metrics + warning k8s event body
-   e884d85: fix: metrics > logs correlation flow
-   e5a210a: feat: support search on multi implicit fields (BETA)
-   Updated dependencies [50ce38f]
-   Updated dependencies [79fe30f]
-   Updated dependencies [e935bb6]
-   Updated dependencies [8acc725]
-   Updated dependencies [2e350e2]
-   Updated dependencies [321e24f]
-   Updated dependencies [092a292]
-   Updated dependencies [a6fd5e3]
-   Updated dependencies [2f626e1]
-   Updated dependencies [cfdd523]
-   Updated dependencies [9c5c239]
-   Updated dependencies [7d2cfcf]
-   Updated dependencies [a9dfa14]
-   Updated dependencies [fa7875c]
-   Updated dependencies [b16c8e1]
-   Updated dependencies [c50c42d]
-   Updated dependencies [86465a2]
-   Updated dependencies [e002c2f]
-   Updated dependencies [b51e39c]
-   Updated dependencies [759da7a]
-   Updated dependencies [b9f7d32]
-   Updated dependencies [92a4800]
-   Updated dependencies [eaa6bfa]
-   Updated dependencies [e80630c]
-   Updated dependencies [4865ce7]
-   Updated dependencies [29e8f37]
-   Updated dependencies [43a9ca1]
-   Updated dependencies [7f0b397]
-   Updated dependencies [bd9dc18]
-   Updated dependencies [5db2767]
-   Updated dependencies [414ff92]
-   Updated dependencies [000458d]
-   Updated dependencies [0cf5358]
-   Updated dependencies [99b60d5]
-   Updated dependencies [931d738]
-   Updated dependencies [57a6bc3]
-   Updated dependencies [184402d]
-   Updated dependencies [a762203]
-   Updated dependencies [cd0e4fd]
-   Updated dependencies [e7262d1]
-   Updated dependencies [321e24f]
-   Updated dependencies [96b8c50]
-   Updated dependencies [e884d85]
-   Updated dependencies [e5a210a]
    -   @hyperdx/common-utils@0.2.0

## @hyperdx/api@2.0.0

### Minor Changes

-   79fe30f: Queries depending on numeric aggregates now use the type's default value (e.g. 0) instead of null when dealing with non-numeric data.
-   759da7a: Support multiple OTEL metric types in source configuration setup.

### Patch Changes

-   c60b975: chore: bump node to v22.16.0
-   50ce38f: Histogram metric query test cases
-   9004826: fix: remove total number of webhook limit
-   2e350e2: feat: implement logs > metrics correlation flow + introduce convertV1ChartConfigToV2
-   321e24f: fix: alerting time range filtering bug
-   9a9581b: Adds external API for alerts and dashboards
-   e5dfefb: Added test cases for the webhook and source routes.
-   fa7875c: feat: add summary and exponential histogram metrics to the source form and database storage
-   f5e9a07: chore: bump node version to v22
-   59ee6d2: bring usage stats up to date
-   1674ab8: moved swagger to dependencies instead of devDependencies
-   86465a2: fix: map CLICKHOUSE_SERVER_ENDPOINT to otelcol ch exporter 'endpoint' field
-   d72d1d2: Add ingestion key authentication in OTel collector via OpAMP
-   b9f7d32: Refactored renderWith to simplify logic and ship more tests with the changes.
-   293a2af: Adds openapidoc annotations for spec generation and swagger route for development
-   92a4800: feat: move rrweb event fetching to the client instead of an api route
-   adc2a0b: fix: Ensure errors from proxy are shown to the user
-   43a9ca1: adopt clickhouse-js for all client side queries
-   7f0b397: feat: queryChartConfig method + events chart ratio
-   5db2767: Fixed CI linting and UI release task.
-   000458d: chore: GA v2
-   99b60d5: Fixed sum metric query to pass integration test case from v1.
-   931d738: fix: bugs with showing non otel spans (ex. clickhouse opentelemetry span logs)
-   184402d: fix: use quote for aliases for sql compatibility
-   cd0e4fd: fix: correct handling of gauge metrics in renderChartConfig
-   d63deed: fix: support otelcol opamp for aio build
-   b4b5f6b: style: remove unused routes/components + clickhouse utils (api)
-   e7262d1: feat: introduce all-one-one (auth vs noauth) multi-stage build
-   d326610: feat: introduce RUN_SCHEDULED_TASKS_EXTERNALLY + enable in-app task
-   96b8c50: Fix histogram query metric to support grouping and correct issues with value computation.
-   414ff92: perf + fix: single clickhouse proxy middleware instance
-   Updated dependencies [50ce38f]
-   Updated dependencies [79fe30f]
-   Updated dependencies [e935bb6]
-   Updated dependencies [8acc725]
-   Updated dependencies [2e350e2]
-   Updated dependencies [321e24f]
-   Updated dependencies [092a292]
-   Updated dependencies [a6fd5e3]
-   Updated dependencies [2f626e1]
-   Updated dependencies [cfdd523]
-   Updated dependencies [9c5c239]
-   Updated dependencies [7d2cfcf]
-   Updated dependencies [a9dfa14]
-   Updated dependencies [fa7875c]
-   Updated dependencies [b16c8e1]
-   Updated dependencies [c50c42d]
-   Updated dependencies [86465a2]
-   Updated dependencies [e002c2f]
-   Updated dependencies [b51e39c]
-   Updated dependencies [759da7a]
-   Updated dependencies [b9f7d32]
-   Updated dependencies [92a4800]
-   Updated dependencies [eaa6bfa]
-   Updated dependencies [e80630c]
-   Updated dependencies [4865ce7]
-   Updated dependencies [29e8f37]
-   Updated dependencies [43a9ca1]
-   Updated dependencies [7f0b397]
-   Updated dependencies [bd9dc18]
-   Updated dependencies [5db2767]
-   Updated dependencies [414ff92]
-   Updated dependencies [000458d]
-   Updated dependencies [0cf5358]
-   Updated dependencies [99b60d5]
-   Updated dependencies [931d738]
-   Updated dependencies [57a6bc3]
-   Updated dependencies [184402d]
-   Updated dependencies [a762203]
-   Updated dependencies [cd0e4fd]
-   Updated dependencies [e7262d1]
-   Updated dependencies [321e24f]
-   Updated dependencies [96b8c50]
-   Updated dependencies [e884d85]
-   Updated dependencies [e5a210a]
    -   @hyperdx/common-utils@0.2.0

## @hyperdx/common-utils@0.2.0

### Minor Changes

-   79fe30f: Queries depending on numeric aggregates now use the type's default value (e.g. 0) instead of null when dealing with non-numeric data.
-   a9dfa14: Added support to CTE rendering where you can now specify a CTE using a full chart config object instance. This CTE capability is then used to avoid the URI too long error for delta event queries.
-   e002c2f: Support querying a sum metric as a value instead of a rate
-   759da7a: Support multiple OTEL metric types in source configuration setup.
-   e80630c: Add chart support for querying OTEL histogram metric table
-   57a6bc3: feat: BETA metrics support (sum + gauge)

### Patch Changes

-   50ce38f: Histogram metric query test cases
-   e935bb6: ci: introduce release-nightly workflow
-   8acc725: Fixes to histogram value computation
-   2e350e2: feat: implement logs > metrics correlation flow + introduce convertV1ChartConfigToV2
-   321e24f: fix: alerting time range filtering bug
-   092a292: fix: autocomplete for key-values complete for v2 lucene
-   a6fd5e3: feat: introduce k8s preset dashboard
-   2f626e1: fix: metric name filtering for some metadata
-   cfdd523: feat: clickhouse queries are by default conducted through the clickhouse library via POST request. localMode still uses GET for CORS purposes
-   9c5c239: fix: handle 'filters' config (metrics)
-   7d2cfcf: fix: 'Failed to fetch' errors
-   fa7875c: feat: add summary and exponential histogram metrics to the source form and database storage
-   b16c8e1: feat: compute charts ratio
-   c50c42d: add correlate log in trace waterfall chart
-   86465a2: fix: map CLICKHOUSE_SERVER_ENDPOINT to otelcol ch exporter 'endpoint' field
-   b51e39c: fix: disable keep_alive on the browser side (ch client)
-   b9f7d32: Refactored renderWith to simplify logic and ship more tests with the changes.
-   92a4800: feat: move rrweb event fetching to the client instead of an api route
-   eaa6bfa: fix: transform partition_key to be the same format as others
-   4865ce7: Fixes the histogram query to perform quantile calculation across all data points
-   29e8f37: fix: aggCondition issue in sum/gauge/histogram metrics
-   43a9ca1: adopt clickhouse-js for all client side queries
-   7f0b397: feat: queryChartConfig method + events chart ratio
-   bd9dc18: perf: reuse existing queries promises to avoid duplicate requests
-   5db2767: Fixed CI linting and UI release task.
-   414ff92: feat: export 'Connection' type
-   000458d: chore: GA v2
-   0cf5358: chore: bump clickhouse client to v1.11.1
-   99b60d5: Fixed sum metric query to pass integration test case from v1.
-   931d738: fix: bugs with showing non otel spans (ex. clickhouse opentelemetry span logs)
-   184402d: fix: use quote for aliases for sql compatibility
-   a762203: fix: metadata getAllKeyValues query key scoped to table now
-   cd0e4fd: fix: correct handling of gauge metrics in renderChartConfig
-   e7262d1: feat: introduce all-one-one (auth vs noauth) multi-stage build
-   321e24f: feat: support 'dateRangeEndInclusive' in timeFilterExpr
-   96b8c50: Fix histogram query metric to support grouping and correct issues with value computation.
-   e884d85: fix: metrics > logs correlation flow
-   e5a210a: feat: support search on multi implicit fields (BETA)


Co-authored-by: Warren <5959690+wrn14897@users.noreply.github.com>
2025-05-29 14:18:01 +00:00
Warren
000458dbc3
chore: exit 2-beta pre-release phase (#871) 2025-05-29 03:32:47 +00:00
github-actions[bot]
e135801941
Release HyperDX (beta) (#808)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to v2, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`v2` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `v2`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases
## @hyperdx/api@2.0.0-beta.17

### Patch Changes

-   c60b975: chore: bump node to v22.16.0
-   9004826: fix: remove total number of webhook limit
-   321e24f: fix: alerting time range filtering bug
-   fa7875c: feat: add summary and exponential histogram metrics to the source form and database storage
-   59ee6d2: bring usage stats up to date
-   86465a2: fix: map CLICKHOUSE_SERVER_ENDPOINT to otelcol ch exporter 'endpoint' field
-   d72d1d2: Add ingestion key authentication in OTel collector via OpAMP
-   43a9ca1: adopt clickhouse-js for all client side queries
-   d63deed: fix: support otelcol opamp for aio build
-   e7262d1: feat: introduce all-one-one (auth vs noauth) multi-stage build
-   96b8c50: Fix histogram query metric to support grouping and correct issues with value computation.
-   Updated dependencies [e935bb6]
-   Updated dependencies [321e24f]
-   Updated dependencies [7d2cfcf]
-   Updated dependencies [fa7875c]
-   Updated dependencies [86465a2]
-   Updated dependencies [b51e39c]
-   Updated dependencies [43a9ca1]
-   Updated dependencies [0cf5358]
-   Updated dependencies [a762203]
-   Updated dependencies [e7262d1]
-   Updated dependencies [321e24f]
-   Updated dependencies [96b8c50]
    -   @hyperdx/common-utils@0.2.0-beta.6

## @hyperdx/app@2.0.0-beta.17

### Patch Changes

-   c60b975: chore: bump node to v22.16.0
-   d176b54: fix: chartpage querying too on every keystroke after initial query
-   fe8ed22: fix: color display on search page for traces
-   321e24f: fix: alerting time range filtering bug
-   fa7875c: feat: add summary and exponential histogram metrics to the source form and database storage
-   86465a2: fix: map CLICKHOUSE_SERVER_ENDPOINT to otelcol ch exporter 'endpoint' field
-   43a9ca1: adopt clickhouse-js for all client side queries
-   84a9119: fix: Session replay intermittently showing "No replay available for this session"
-   8d534da: fixed ui state on session panel to be inline with ui
-   a762203: fix: metadata getAllKeyValues query key scoped to table now
-   1211386: add severitytext coloring to event patterns
-   e7262d1: feat: introduce all-one-one (auth vs noauth) multi-stage build
-   Updated dependencies [e935bb6]
-   Updated dependencies [321e24f]
-   Updated dependencies [7d2cfcf]
-   Updated dependencies [fa7875c]
-   Updated dependencies [86465a2]
-   Updated dependencies [b51e39c]
-   Updated dependencies [43a9ca1]
-   Updated dependencies [0cf5358]
-   Updated dependencies [a762203]
-   Updated dependencies [e7262d1]
-   Updated dependencies [321e24f]
-   Updated dependencies [96b8c50]
    -   @hyperdx/common-utils@0.2.0-beta.6

## @hyperdx/common-utils@0.2.0-beta.6

### Patch Changes

-   e935bb6: ci: introduce release-nightly workflow
-   321e24f: fix: alerting time range filtering bug
-   7d2cfcf: fix: 'Failed to fetch' errors
-   fa7875c: feat: add summary and exponential histogram metrics to the source form and database storage
-   86465a2: fix: map CLICKHOUSE_SERVER_ENDPOINT to otelcol ch exporter 'endpoint' field
-   b51e39c: fix: disable keep_alive on the browser side (ch client)
-   43a9ca1: adopt clickhouse-js for all client side queries
-   0cf5358: chore: bump clickhouse client to v1.11.1
-   a762203: fix: metadata getAllKeyValues query key scoped to table now
-   e7262d1: feat: introduce all-one-one (auth vs noauth) multi-stage build
-   321e24f: feat: support 'dateRangeEndInclusive' in timeFilterExpr
-   96b8c50: Fix histogram query metric to support grouping and correct issues with value computation.


Co-authored-by: Warren <5959690+wrn14897@users.noreply.github.com>
2025-05-29 00:39:28 +00:00
Aaron Knudtson
59ee6d2edc
usage info (#846)
Ref: HDX-1692
2025-05-28 22:31:57 +00:00