Add routeId and agentId filters to SearchRequest #36
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
SearchRequestcurrently supportsstatus, time range, duration range,correlationId, and text-based search fields, but has no dedicatedrouteIdoragentIdfilter parameters.The UI mockups show Application and Route dropdown filters in the Transaction Explorer. Without dedicated fields, the UI must use the
textfield as a workaround, which is imprecise (substring match vs exact match) and slower (skip index vs indexed column).Proposed Change
Add two optional fields to
SearchRequest:routeId: String— exact match onroute_idcolumn (LowCardinality, fast)agentId: String— exact match onagent_idcolumn (LowCardinality, fast)Update
ClickHouseSearchEngineto add WHERE clauses for these fields.Context
Identified during UI planning. The
route_idandagent_idcolumns are already LowCardinality in the ClickHouse schema, so filtering is efficient. This is a prerequisite for the full Transaction Explorer filter set.References
SearchRequest.javain cameleer3-server-coreClickHouseSearchEnginein cameleer3-server-appexamples/transaction-explorer.html— filter bar mockup