Repository navigation
@hyperdx/api@2.47.0
Minor Changes
- 7905721: feat: Silence and unsilence alerts through the external API with POST and DELETE /api/v2/alerts/{id}/silenced
Patch Changes
-
22377df: perf: bound the check-alerts previous-history lookup by the alert interval
The check-alerts task no longer scans 7 days of alert history per alert on
every tick. A one-row lookup per alert skips alerts already evaluated in the
current window. Non-grouped alerts take their previous state from that row,
and grouped alerts scan a window sized to their interval (1 to 7 days). -
ef81fe6: feat: add
ENABLE_INGESTION_API_KEYto honorINGESTION_API_KEYon the app imageThe app image ignores
INGESTION_API_KEY, so an external collector has to use
the team's generated key, which changes whenever the team is recreated. Set
ENABLE_INGESTION_API_KEY=trueon the API to accept a preset key alongside the
team key. Behavior is unchanged when unset. -
b129ec1: feat: Classify failed ClickHouse proxy requests on the server span and the
clickhouse_proxy.querySLI (error_category), including errors ClickHouse
writes after a 200 response. The span also records the upstream status, the
ClickHouse error code and type, and the body of upstream errors that carry no
ClickHouse code. -
86acf27: perf: read only 20 median-sized parts for text index key and value lookups
Map key discovery and "all values" lookups on text indexes read the index
dictionary of every part in the time range, which is slow on tables with many
parts. They now read the 20 parts closest to the median size. Log and trace
sources can change the count with the new "Map key index parts" setting
(mapKeyIndexMaxParts), and which parts are read with "Map key index part size"
(mapKeyIndexPartSelection: median, smallest, or largest). "Load more" on a
single filter key still reads every part in the time range. -
e80fc1b: fix(mcp): explain hasToken() separator errors in query tools
When a SQL filter calls
hasToken()with a needle that contains_,-,.,
@,:or spaces, ClickHouse fails with "Needle must not contain whitespace or
separator characters". MCP query tools now append a hint pointing to a Lucene
term, or in SQL toposition()for the exact term (withhasAllTokens()as an
optional text-index speed-up), and thewhereLanguagedescription warns about
it. -
2f61137: fix: return partial rows from
clickstack_searchinstead of timing outThe MCP search tool now scans newest-first over the same progressive time
windows as the app's search page, under a 25s budget. When time runs out it
returns the rows found so far with apartialblock (requested range, the range
fully covered, and the window that was cut off) and a hint for the next call,
instead of failing after 30s. The time-window helpers moved from the app to
@hyperdx/common-utils/core/searchWindows; the app's behavior is unchanged. -
64a55d5: fix: allow grouping gauge and sum metric charts by an expression over the time column
A table, pie or bar chart on a gauge or sum metric grouped by a time expression
such astoStartOfHour(TimeUnix)ortoDate(TimeUnix)failed with
Unknown identifier TimeUnix, because the bucketed CTE the outer query reads
did not carry the time column. When the group-by references it,TimeUnixnow
resolves to each metric bucket's start, so values are the same as the chart
without the time group-by. -
e8d1d9a: fix: return the actual earliest/latest time for min/max on a date or time column
minandmaxon a Date, DateTime, or DateTime64 column (for example
Timestamp) returned 0, because every aggregation cast its value to Float64
first. Tables, number tiles, and the MCPclickstack_tabletool now return the
timestamp itself. Line, bar, pie, and other charts, ratios, formulas, and number
tiles with several series keep the numeric cast. -
d99be76: fix: MCP
event_patterns,emerging_signalsand search denoise, and the CLI,
no longer split the same log line by its date. Before mining, the Drain miner
masks the date of a timestamp (weekday, day, month, year) to<DATE>, so dated
lines from different days, months or years get the same template instead of one
"new" and one "gone". Times and ids are not masked. Within one day lines group
as before, except that klog lines with different severity letters are no longer
merged. No mask changes a line's token count: theevent_patternsdrill-down
predicate matches<DATE>as one or more non-whitespace characters, also inside
a token (the newmasksoption of the pattern predicate builders, which only
the MCP drill-down sets), and search denoise masks bodies the same way before
matching. Masking instructions get an optionalperWordflag (default off, as
in drain3). The web app's Event patterns view uses its own drain3 config and is
unchanged. -
e58329c: fix: require the password when changing a connection's host
Updating a connection's host without sending its password used to keep the stored password, so it would be sent to the new host on the next query. Both
PUT /connections/:idandPUT /api/v2/connections/:idnow return 400 in that case. Prometheus endpoints never use the stored password, so it is cleared instead. The connection form asks for the password when the host is edited and shows the API's error message. -
2cec94f: feat: let SQL query dashboard filters use an optional source
A SQL query filter can now pick a source on its connection, or a data source variable, and can do so on a connection variable too. With one, its SQL can use
$__sourceTableand$__filters, which applies the dashboard's filter selections for that source, the same way raw SQL tiles do. The external API and MCP read and write it assourceId. -
7afa31c: feat: Add a team-wide default (All or Exact) for the search filters "Show All Values" setting
-
Updated dependencies [e36cec3]
-
Updated dependencies [1a4c116]
-
Updated dependencies [351f194]
-
Updated dependencies [86acf27]
-
Updated dependencies [2f61137]
-
Updated dependencies [64a55d5]
-
Updated dependencies [e8d1d9a]
-
Updated dependencies [d99be76]
-
Updated dependencies [2cec94f]
-
Updated dependencies [7afa31c]
-
Updated dependencies [f11b9f5]
- @hyperdx/common-utils@0.36.1