github ClickHouse/ClickStack @hyperdx/api@2.46.0

latest release: cli-v0.9.1
27 minutes ago

Minor Changes

  • 6705e50: feat: Create, read, and update ad hoc dashboard filters through the external API

    /api/v2/dashboards now accepts and returns ADHOC filters, with SQL and
    PromQL source types, and their adhoc entries in savedFilterValues. Each
    filter's sources must exist and be a kind its sourceType supports. MCP still
    hides ad hoc filters.

  • b681cec: feat(mcp): Create, read, and update ad hoc dashboard filters through the MCP dashboard tools

    clickstack_save_dashboard, clickstack_get_dashboard, and
    clickstack_patch_dashboard now handle ADHOC filters and their adhoc
    saved conditions. PromQL ad hoc filters are offered only while PromQL is
    enabled, and are hidden and kept on update otherwise. Saved conditions that
    name no ad hoc filter, or use an operator their filter can't apply, produce a
    warning.

  • 743c3c1: feat: add an optional "Row key expression" to log and trace sources. When set,
    the side panel's row lookup selects and filters on only those columns instead of
    detecting keys from table metadata.

  • a7744e8: feat: add data source and connection variable types to dashboards

  • a7744e8: feat: support data source and connection variables in the external API and MCP

  • a7744e8: feat: add connection variables for raw SQL tiles, SQL query filters, and
    connection-scoped data source variables

Patch Changes

  • f15b849: feat: Ad hoc dashboard filter finishing touches

    • Add an IN operator. IN conditions on the same key are OR'd into one
      IN (...) condition for SQL, or one =~"a|b" matcher for PromQL.
    • Ad hoc filters always broadcast (isBroadcastEnabled: true), and their
      variable name is only a unique identifier. It is no longer declared as a
      $variable.
    • Warn when another ad hoc filter already applies to the same sources.
    • Collapse the filter input to three conditions behind a "+N more" toggle.
  • 8952972: perf: check-alerts gives each alert only its own previous history, so a tick
    no longer scans every alert's group history once per alert

  • f42c68a: chore: bump uuid to 11.1.1 (fixes GHSA-w5hq-g745-h8pq) and drop @types/uuid

  • 61999b4: fix: clear the critical CVEs from the app and collector images by moving the
    collector to Alpine 3.24, upgrading gomplate to v5 and dropping the unused goose
    and esbuild binaries. Custom entrypoints that called goose directly should
    call migrate with the same schema directory instead.

  • bfb5c83: Use the log source body expression for bare-text MCP searches, pattern filters,
    event deltas, and alert alias queries when no implicit search column is set.

  • 02a4092: feat: clickstack_save_alert accepts note and numConsecutiveWindows

    Updates that omit either field now keep the stored value instead of clearing it;
    send null to clear.

  • 8dc1aa7: refactor: the MCP clickstack_event_patterns tool builds its drill-down
    whereSnippet with the shared pattern predicate from @hyperdx/common-utils
    instead of its own copy. The snippet is unchanged.

  • 6256667: fix(mcp): Rename clickstack_trace_top_time_consuming_operations to clickstack_trace_top_time_consuming_ops

    The old name was the longest MCP tool name and exceeded the tool-name length
    limit some MCP clients enforce. Clients that call the tool by its old name
    need to switch to the new one.

  • cf4b70b: fix: update the Node dependencies flagged as vulnerable in the app image (axios,
    MCP SDK, express, js-yaml, brace-expansion and others). MCP tool validation
    errors still name the field that failed under the new MCP SDK, and list the
    accepted values when a tile's displayType is wrong.

  • 272c514: fix: support numeric range searches on String attributes

    Range searches with numeric bounds on a String-typed field, such as
    LogAttributes.duration_ms:[10 TO 20], failed with "no supertype for types
    String, UInt8". They now compare with toFloat64OrNull; values that aren't
    numbers don't match. >, <, >= and <= still compare String fields as
    text; use a range such as :[1000 TO *] for a numeric comparison.

  • cac14eb: feat: Name PromQL sources "Time Series" or "Prometheus" by their connection

    The source type for a PromQL source now reads "Time Series" when it queries a
    ClickHouse TimeSeries table and "Prometheus" when it queries an external
    Prometheus API. Where no connection is known yet, such as the source form before
    a connection is picked or a data source variable's kinds, it reads "Time Series
    / Prometheus". The stored kind is still promql.

    The PromQL source created by onboarding auto-detection and the local dev default
    sources is now named "Time Series" instead of "PromQL".

  • fa3a564: feat: accept SQL query dashboard filters in the API, external API, and MCP

    Saving a dashboard now rejects a SQL_QUERY filter whose connection doesn't belong to the team. The external API and MCP read and write the filter with a connectionId, and MCP warns about unknown variables and source-only macros in its SQL.

  • 5b50c31: feat: add the SQL query dashboard filter type to the dashboard schema

    A SQL_QUERY filter stores a ClickHouse connection and a SQL template whose first column fills the filter's dropdown. It is variable-only. Validation flags templates that use $__sourceTable or $__filters, or whose macros and variable references can't expand. The filter is not yet exposed through the external API or MCP, and has no editor or values lookup yet.

  • Updated dependencies [f15b849]

  • Updated dependencies [fe96b72]

  • Updated dependencies [02a4092]

  • Updated dependencies [272c514]

  • Updated dependencies [d311d82]

  • Updated dependencies [743c3c1]

  • Updated dependencies [a7744e8]

  • Updated dependencies [a7744e8]

  • Updated dependencies [3acd5ba]

  • Updated dependencies [5b50c31]

    • @hyperdx/common-utils@0.36.0

Don't miss a new ClickStack release

NewReleases is sending notifications on new releases.