coder999o opened a new pull request, #5152: URL: https://github.com/apache/rocketmq-dashboard/pull/5152
## What is the purpose of the change Native alert window aggregation selected snapshots after the window start without excluding samples later than the one being evaluated. A later-dated stored sample could therefore affect an earlier evaluation. ## Brief changelog - Bound snapshot lookup inclusively by the evaluated sample's `collectedAt`, retaining the existing UTC conversion and scope filters. - Add a regression test for both time bounds and their query parameters. ## Verifying this change - `cd server && mvn -q -Dtest=MybatisPlusMetricSnapshotRepositoryTest,NativeAlertProcessorTest,CollectorSchedulerTest,AlertRuleEvaluatorTest test` (45 passed) - `cd server && mvn -q -DskipTests checkstyle:check` (passed) - `cd server && mvn -q -DskipTests compile` (passed) - `git diff --check` (passed) - `cd server && mvn -q -DskipTests package` (failed at `binary-license-gate`: embedded dependencies lack upstream LICENSE/COPYING) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
