Skip to main content
Disabled by default. Proactive Analyzer is off by default and requires the reactive Query Analyzer to be enabled first. Contact your StarTree account team to have it enabled for your environment.

Configuration

Proactive Analyzer lives behind its own configuration namespace and requires the reactive analyzer (query-analyzer.enabled=true) to be turned on first, since it reuses the same analysis engine.
SettingDefaultControls
enabledfalseMaster switch for the feature
cron0 0 3 * * *When the scan runs (daily at 03:00 by default)
lookbackPT24HHow far back in the query log to rank queries
top-n5How many query shapes are considered per run
min-time-used-ms50Minimum latency for a query shape to qualify
max-analyses-per-run3Hard ceiling on analyses per run
reanalyze-on-config-change-onlytrueSkips analysis when table config is unchanged since last run
notify.slack.enabled / notify.slack.webhook-urlfalse / emptySlack digest delivery

Manual Trigger

POST /api/query-analyzer/proactive/run starts one scan immediately on a background thread, without waiting for the schedule. If a scan is already in progress, a manual trigger returns a conflict rather than starting a second overlapping run.

Current Limitations

  • Recommendations are stored in memory by default and reset when the service restarts.
  • Scans a single workspace on a single cluster per run. Multi-cluster and multi-workspace scanning are not yet supported.
  • No automatic ticketing and no dedicated UI. The digest points a human at the work; it does not file tickets or change any cluster setting on its own.
  • Email delivery is not yet available. Slack and the log are the supported channels today.

Proactive Analyzer Overview

What Proactive Analyzer does, how it works, and how it delivers results.