Skip to content

insights: refactor- update insight view resolver to always preload series data

Warren Gifford requested to merge cw/series-data-lift-wo-remove-args into main

Created by: chwarwick

Previously the timeseries was loaded in the InsightViewResolver for JustInTime and Capture Group recorded series. Move the loading of the standard search timeseries data into InsightViewResolver for consistency.

Marked legacy insights query as deprecated and a todo to remove a resolver that should be removed when insights is removed.

Left in place the arguments supplied to points but noted in schema that they are not used and will be removed

resolves #33804 (closed) closes #27089 (closed)

Test plan

No functionality change - existing automated tests pass

Manual testing: Created & verified 4 insights:

  1. Just in time
  2. Just in time capture group
  3. backfilled
  4. backfilled capture group

Merge request reports

Loading