Aias00 opened a new pull request, #539: URL: https://github.com/apache/rocketmq-dashboard/pull/539
## Summary - validate Prometheus range query windows before hitting the metrics source - reject inverted or oversized time ranges and invalid step expressions - cap generated samples to keep the Studio metrics proxy from issuing excessive Prometheus queries ## Scope - RocketMQ Studio contest scope: Track 1 / METRICS-01 Prometheus-backed observability - Related to #431 ## Tests - `JAVA_HOME=/Users/aias/Library/Java/JavaVirtualMachines/openjdk-21.0.2/Contents/Home mvn -Dtest=MetricsServiceTest,MetricsControllerTest,PrometheusMetricsSourceTest test` - `JAVA_HOME=/Users/aias/Library/Java/JavaVirtualMachines/openjdk-21.0.2/Contents/Home mvn test` - `git diff --check` -- 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]
