You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Aias00 (via GitHub)" <gi...@apache.org> on 2026/07/24 09:07:44 UTC
[PR] [Studio] Validate metrics query windows [rocketmq-dashboard]
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Studio] Validate metrics query windows [rocketmq-dashboard]
Posted by "Aias00 (via GitHub)" <gi...@apache.org>.
Aias00 closed pull request #539: [Studio] Validate metrics query windows
URL: https://github.com/apache/rocketmq-dashboard/pull/539
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Studio] Validate metrics query windows [rocketmq-dashboard]
Posted by "Aias00 (via GitHub)" <gi...@apache.org>.
Aias00 commented on PR #539:
URL: https://github.com/apache/rocketmq-dashboard/pull/539#issuecomment-5086757169
Superseded by #637. Consolidated with related Metrics/Prometheus validation changes to reduce review overhead while preserving the same scoped fixes and tests.
--
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: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org