Open ohltyler opened 1 month ago
Tracking issue to update documentation: https://github.com/opensearch-project/documentation-website/issues/7647
No, this is not done. The documentation has just been updated to reflect that this proposed feature (historical results) is not supported explicitly.
Currently, the results fetched when triggered from OSD Visualizations are limited to real-time results (see here). Ideally, users have the flexibility to also include historical results to be overlaid to provide more insights to users, particularly if they have large amounts of historical data and historical anomaly results.
Added logic to fetch the latest historical task ID and fetch historical results with that ID can be used to fetch the latest run of historical results for a particular detector - this is already done on the historical analysis tab, and that logic can be reused here. This may also mean adding or updating parameters in the expression function if we want to allow users to specify to include historical or not, and if so, we should handle backward compatibility scenarios gracefully (e.g., default to only real-time if no param is found).