Skip to content

@betterdb/agent v1.6.0

Choose a tag to compare

@KIvanow KIvanow released this 01 Jul 13:29
0d2d5a9

Key Analytics collection over the agent path

  • Adds the COLLECT_KEY_ANALYTICS command: the agent runs the same SCAN + per-key pipeline probe used by direct connections and returns a compact JSON payload, enabling Key Analytics (largest keys, hot keys, pattern aggregates, deep scan) for agent-connected databases.
  • Payload is bounded to the top-N keys per ranking signal (LFU / idle time / cardinality) so full-keyspace deep scans stay memory- and transfer-safe.
  • Mirrors the direct-connection collector exactly, keeping results consistent across connection types.