yykaue opened a new pull request, #4351:
URL: https://github.com/apache/hertzbeat/pull/4351

   ## What's changed?
   
   Fixes #3990.
   
   - Pass `monitorId` from the metric history chart to the backend API.
   - Query VictoriaMetrics history data using the `__monitor_id__` label 
instead of `instance`.
   - Apply the fix to both single-node and cluster VictoriaMetrics storage.
   - Support both regular and interval metric history queries.
   - Preserve the existing instance-based behavior when `monitorId` is not 
provided or unsupported by the storage backend.
   - Add regression tests for the controller, service, frontend request, and 
VictoriaMetrics queries.
   
   ## Testing
   
   - Backend targeted tests: 19 passed, 0 failures.
   - Frontend targeted tests: 2 passed, 0 failures.
   - Maven Checkstyle: passed with 0 violations.
   - Frontend ESLint: passed.
   
   ## Checklist
   
   - [x] I have read the [Contributing 
Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide).
   - [x] I have written the necessary doc or comment.
   - [x] I have added the necessary unit tests and all cases have passed.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to