The issue is observed on the dashboard.
We have started facing the accuracy issue with aggregation queries
Considering one single metric, we get non-zero value for last 1 day but the value becomes empty when we move last 2 days.
DX SAAS 25.11.1
Metadata generally does not guarantee the retrieval of all records that exist only within a specific range, which appears relevant to the majority of the records in this case. Two suggested options to help address this:
- ForceRange Hint: This hint only works for searches where the endTime is set to "now" (or 0). It is not designed for historical searches. Additionally, when this hint is used, the standard "all forks" search for 1-day ranges is bypassed.
Recommendation is to try redefining the aggregation queries to base on actual metric data rather than metadata and restructuring the metric submissions to generate metric path to include tenantid and siteid info instead of using attributes to store these info.
This approach will help mitigate the inconsistent or empty query results potentially from data gaps.