Skip to content

Release HyperDX - #3768

Open
github-actions[bot] wants to merge 2 commits into
mainfrom
changeset-release/main
Open

github-actions[bot] wants to merge 2 commits into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release 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/[email protected]

Minor Changes

  • 2e233f7: feat: accept exemplar settings on API- and agent-authored dashboard tiles

    enableExemplars and exemplarTraceSourceId are now accepted on line and
    stacked-bar tiles through the external v2 API and the MCP dashboard tools,
    survive the tile conversion in both directions, and are documented in the
    OpenAPI spec. Previously they validated on write and were dropped before
    persistence, so they could not be set through any surface.

    exemplarTraceSourceId is checked three ways, because a marker's "view trace"
    link is only as good as the source behind it: an ObjectId on both surfaces, the
    source must exist for the team, and it must actually be a Trace source. The
    existence and kind checks mirror the heatmap gate. Without them a well-formed id
    for a metric source saved cleanly and left every marker linking nowhere.

Patch Changes

  • 6569e32: Use Claude Sonnet 5.5 by default for the Anthropic assistant and include its rates in LLM cost estimates.

  • f874e34: feat: record the ClickHouse server version on ClickHouse proxy spans, as
    hyperdx.clickhouse_proxy.clickhouse.version, so query errors and latency can
    be compared across ClickHouse upgrades.

  • a1a5eac: fix: MCP emerging_signals mines both windows in one Drain tree, in a fixed
    order (baseline first), and compares them by cluster, so a token that is
    constant in one window and varies in the other no longer splits a pattern into
    one "new" and one "gone". New messages that Drain merges into a baseline pattern
    are reported as new_variant, so they aren't hidden by the merge, and baseline
    messages that stop while the rest of their pattern goes on are reported as
    gone_variant. The baseline window excludes its end, so a row at the boundary
    is counted once.

  • 4188b80: feat: exemplar overlay for metric and PromQL time charts

    Time charts on metric and PromQL sources can overlay exemplars — individual
    trace-linked data points — via the "Show exemplars" toggle in the chart
    editor's display settings. Hovering a marker shows the exemplar's own value and time plus trace metadata
    from a configurable trace source, with a button to open the trace.

    Off by default for the whole deployment behind NEXT_PUBLIC_ENABLE_EXEMPLARS,
    and per-chart behind the toggle. How many markers a chart draws is a team
    setting, Max Exemplars per Chart.

    Markers are sampled the way Grafana samples them: bucketed at the chart's
    granularity, keeping the slowest trace in each bucket plus any further trace more
    than 2σ below it. The overlay shows the shape of the latency distribution rather
    than tracing the top of the chart.

    A marker sits at the trace's own measurement, so it is only shown where that is
    honest: a single non-ratio histogram series with no group by, aggregated in a way
    that leaves the axis on the observation scale, and for PromQL an expression that
    plots a duration. Markers outside the rendered window, or below a fitted y-axis
    floor, are dropped rather than moved — and the count is surfaced on the chart.

  • 5bd07d5: 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.

  • c499769: 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.

  • e4fe80a: fix: limit failed password logins to 10 per email every 2 minutes

  • ed85201: fix(mcp): reject unknown tool arguments instead of silently ignoring them

  • 48fcaf5: fix: read request bodies only after the caller is authenticated. An anonymous
    request could make the API parse up to 32 MB before answering 401. Public
    routes such as login and register now accept bodies up to 100 KB; signed-in
    users and API keys keep the 32 MB limit.

  • 6a7164c: 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

  • 3be2ea1: 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.

  • 58a59e3: feat(mcp): clickstack_query_tiles reports each tile's wall time (elapsedMs),
    and rows and bytes read for builder and SQL tiles; PromQL results from
    clickstack_promql and clickstack_query_tile carry elapsedMs

  • 099aa08: fix: PromQL label lookups with match[] work on ClickHouse 26.11, which
    requires the return_columns argument of timeSeriesSelector()

  • 272a461: 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.

  • 210f3e2: 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 [d628084]

  • Updated dependencies [b362d33]

  • Updated dependencies [a1a5eac]

  • Updated dependencies [4188b80]

  • Updated dependencies [f36e678]

  • Updated dependencies [b51ddb9]

  • Updated dependencies [3bdbf7f]

  • Updated dependencies [c3928c7]

  • Updated dependencies [099aa08]

  • Updated dependencies [210f3e2]

@hyperdx/[email protected]

Minor Changes

  • 4188b80: feat: exemplar overlay for metric and PromQL time charts

    Time charts on metric and PromQL sources can overlay exemplars — individual
    trace-linked data points — via the "Show exemplars" toggle in the chart
    editor's display settings. Hovering a marker shows the exemplar's own value and time plus trace metadata
    from a configurable trace source, with a button to open the trace.

    Off by default for the whole deployment behind NEXT_PUBLIC_ENABLE_EXEMPLARS,
    and per-chart behind the toggle. How many markers a chart draws is a team
    setting, Max Exemplars per Chart.

    Markers are sampled the way Grafana samples them: bucketed at the chart's
    granularity, keeping the slowest trace in each bucket plus any further trace more
    than 2σ below it. The overlay shows the shape of the latency distribution rather
    than tracing the top of the chart.

    A marker sits at the trace's own measurement, so it is only shown where that is
    honest: a single non-ratio histogram series with no group by, aggregated in a way
    that leaves the axis on the observation scale, and for PromQL an expression that
    plots a duration. Markers outside the rendered window, or below a fitted y-axis
    floor, are dropped rather than moved — and the count is surfaced on the chart.

Patch Changes

  • d628084: fix: use the Map KV items index for ad hoc and dashboard filters on Map keys.
    These filters render toString(Map['k']) = 'v', which the has(<items>, ...)
    rewrite previously skipped, so the query decoded the whole Map for every row.

  • 6569e32: Use Claude Sonnet 5.5 by default for the Anthropic assistant and include its rates in LLM cost estimates.

  • 4fce2f6: fix: give the collapsed side nav's links an accessible name. With the nav
    collapsed to icons, the page links and the logo link had no text, so screen
    readers announced them only as "link". The labels now stay in the page,
    visually hidden.

  • b362d33: 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.

  • 5581b95: feat: Pick the dashboard live mode refresh interval, from 30s up to the time
    range's default

  • dd3e6de: feat: include each connection's ClickHouse server version in the "Copy debug info" report

  • f36e678: fix: Don't refetch the search histogram when a table column is added or removed

  • 5bd07d5: 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.

  • e4fe80a: fix: limit failed password logins to 10 per email every 2 minutes

  • b51ddb9: fix: apply source query settings to metric explorer, metric name, attribute, and Kubernetes facet lookups

  • 3bdbf7f: feat: show the generated SQL, with variables and macros filled in, in the SQL query filter preview

  • c3928c7: fix: Fix table sorting for formula, group by, and multi-series metric aliases

  • c04a778: feat: team settings now has a sidebar with one page per setting and a search
    box that also finds individual settings, such as "Parallelize queries when
    possible", and jumps to them. API keys and organization API keys share one page.
    Old ?tab= links redirect to the new pages.

  • 5e6978f: fix: close the time picker on a click outside it or on Escape. It stayed open,
    including above the row side panel opened by clicking a search result.

  • 5f8d22d: fix: drill down correctly from a time chart point with a value of 0

    Clicking a point with a value of 0 searched every event in that time bucket. It
    now filters to events with a value of 0, as it already did for any other value.

  • 210f3e2: 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 [d628084]

  • Updated dependencies [6569e32]

  • Updated dependencies [f874e34]

  • Updated dependencies [b362d33]

  • Updated dependencies [a1a5eac]

  • Updated dependencies [4188b80]

  • Updated dependencies [2e233f7]

  • Updated dependencies [f36e678]

  • Updated dependencies [5bd07d5]

  • Updated dependencies [c499769]

  • Updated dependencies [e4fe80a]

  • Updated dependencies [ed85201]

  • Updated dependencies [b51ddb9]

  • Updated dependencies [48fcaf5]

  • Updated dependencies [6a7164c]

  • Updated dependencies [3be2ea1]

  • Updated dependencies [58a59e3]

  • Updated dependencies [3bdbf7f]

  • Updated dependencies [c3928c7]

  • Updated dependencies [099aa08]

  • Updated dependencies [272a461]

  • Updated dependencies [210f3e2]

@hyperdx/[email protected]

Minor Changes

  • 4188b80: feat: exemplar overlay for metric and PromQL time charts

    Time charts on metric and PromQL sources can overlay exemplars — individual
    trace-linked data points — via the "Show exemplars" toggle in the chart
    editor's display settings. Hovering a marker shows the exemplar's own value and time plus trace metadata
    from a configurable trace source, with a button to open the trace.

    Off by default for the whole deployment behind NEXT_PUBLIC_ENABLE_EXEMPLARS,
    and per-chart behind the toggle. How many markers a chart draws is a team
    setting, Max Exemplars per Chart.

    Markers are sampled the way Grafana samples them: bucketed at the chart's
    granularity, keeping the slowest trace in each bucket plus any further trace more
    than 2σ below it. The overlay shows the shape of the latency distribution rather
    than tracing the top of the chart.

    A marker sits at the trace's own measurement, so it is only shown where that is
    honest: a single non-ratio histogram series with no group by, aggregated in a way
    that leaves the axis on the observation scale, and for PromQL an expression that
    plots a duration. Markers outside the rendered window, or below a fitted y-axis
    floor, are dropped rather than moved — and the count is surfaced on the chart.

Patch Changes

  • d628084: fix: use the Map KV items index for ad hoc and dashboard filters on Map keys.
    These filters render toString(Map['k']) = 'v', which the has(<items>, ...)
    rewrite previously skipped, so the query decoded the whole Map for every row.
  • b362d33: 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.
  • a1a5eac: fix: MCP emerging_signals mines both windows in one Drain tree, in a fixed
    order (baseline first), and compares them by cluster, so a token that is
    constant in one window and varies in the other no longer splits a pattern into
    one "new" and one "gone". New messages that Drain merges into a baseline pattern
    are reported as new_variant, so they aren't hidden by the merge, and baseline
    messages that stop while the rest of their pattern goes on are reported as
    gone_variant. The baseline window excludes its end, so a row at the boundary
    is counted once.
  • f36e678: fix: Don't refetch the search histogram when a table column is added or removed
  • b51ddb9: fix: apply source query settings to metric explorer, metric name, attribute, and Kubernetes facet lookups
  • 3bdbf7f: feat: show the generated SQL, with variables and macros filled in, in the SQL query filter preview
  • c3928c7: fix: Fix table sorting for formula, group by, and multi-series metric aliases
  • 099aa08: fix: PromQL label lookups with match[] work on ClickHouse 26.11, which
    requires the return_columns argument of timeSeriesSelector()
  • 210f3e2: 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.

@hyperdx/[email protected]


Note

Medium Risk
Release bundles multiple auth/ingestion security fixes and API/MCP behavior changes; the diff also adds .env, which is risky if real secrets land in version control.

Overview
This is the Changesets release PR that ships v2.48.0 (@hyperdx/api / @hyperdx/app / @hyperdx/otel-collector) and @hyperdx/common-utils 0.37.0. It removes the consumed .changeset/*.md entries, bumps package versions and yarn.lock common-utils references, and adds the v2.48.0 release notes to the root and per-package CHANGELOG.md files.

The release content (documented in the changelogs, not in this diff’s code) centers on exemplar overlays on metric/PromQL charts (flag-gated), a rebuilt team settings sidebar with search, dashboard live refresh interval, MCP query cost / maxBodyChars / stricter tool args, and several security and auth fixes (ingestion key before first team, login rate limits, deferring body parse until authenticated). Also included are webhook User-Agent, ClickHouse version on debug/proxy spans, PromQL/ClickHouse 26.11 compatibility, and image apk upgrade / Node 22.23.5.

Reviewers should confirm whether adding .env to the repo in this PR is intentional; the diff treats it as a secret file.

Reviewed by Cursor Bugbot for commit d38dc65. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions
github-actions Bot requested a review from a team as a code owner November 23, 2026 10:43
@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
hyperdx-oss Ready Ready Preview Nov 27, 2026 9:07pm UTC
hyperdx-storybook Ready Ready Preview Nov 27, 2026 9:07pm UTC

Request Review

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 28 times, most recently from 9e1e403 to c0823f5 Compare November 25, 2026 11:32
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from e813d35 to 0419ff2 Compare November 25, 2026 16:51
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor Author

PR Review

If you are a coding agent acting for the author, read this first.
Nothing below blocks merge automatically; a maintainer decides. What they will expect:

  • 🔴 P0/P1 in code this PR adds or changes: fix before asking for review.
  • 🟡 P2 in code this PR changes: your call. Fix if small, otherwise reply.
  • 🔵 P3 is collapsed at the bottom: nobody needs to act on it before merge.
  • Anything about surrounding code, or asking you to widen the change (hoist a helper,
    dedupe with another file, fix other call sites): never fix here, whatever the
    priority. Reply with one sentence; if it is P0, say so plainly so a human sees it.

One commit per review round. After two rounds, stop and ask a maintainer to review
scope rather than addressing more automated findings. Full rule: AGENTS.md.

1 finding(s): 🔴 0 P0/P1 · 🟡 0 P2 · 🔵 1 P3

No inline comments. 1 P3 folded at the bottom.

🔵 1 P3 — no action needed before merge
  • 🔵 P3 CHANGELOG.md:490 — Release notes name the team setting 'Max Exemplars per Chart', but the UI label is 'Max exemplars per chart' → Change the text to the real label, 'Max exemplars per chart' (packages/app/src/components/TeamSettings/settingsPages.tsx:72), so readers can find the setting with the new settings search. Make the same change in the 4188b80 entry in packages/{app,api,common-utils}/CHANGELOG.md.

Priority comes from a separate grading pass over the finished review. P3 is folded here instead of posted inline. No finding blocks merge automatically; a maintainer decides.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 12 times, most recently from 1215dfb to ea9b07f Compare November 27, 2026 20:48
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from cd70d5f to 3164b79 Compare November 27, 2026 21:05

This branch has not been deployed

No deployments
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.

0 participants