-
Notifications
You must be signed in to change notification settings - Fork 2.3k
feat(service): Add launchpad PVC query function and bug fix #6063
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds PVC (Persistent Volume Claim) query functionality to the launchpad service and fixes metric query bugs for Kafka and Milvus services. The changes enable storage usage monitoring for applications deployed through the launchpad.
Key Changes
- Added PVC name parameter support to VMRequest struct and request parsing
- Added storage query capability for PVC usage monitoring
- Fixed Kafka and Milvus metric queries by correcting pod name regex patterns and adding Milvus query definitions
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
service/pkg/request/req.go |
Added Milvus case to query type switch statement |
service/pkg/api/req.go |
Added PvcName field to VMRequest struct and defined Milvus queries with corrected Kafka regex patterns |
service/launchpad/server/server.go |
Added pvcName parameter parsing in request handler |
service/launchpad/request/req.go |
Added storage query case and PVC name substitution logic |
service/launchpad/Makefile |
Added TARGETARCH variable definition |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
07459ac
to
02b1aff
Compare
Add PVC usage query function to the launch pad service.
Fixed the issue where VM was unable to correctly query Kafka and Milvus CPU memory metrics. This issue is only a preliminary fix and requires further correction in the future.